Overview of Ansible Good Practices (GPA)
mainThe automation-good-practices repository provides opinionated guidelines for Ansible practitioners to improve their automation journey. It covers a broad spectrum of topics ranging from initial structural decisions to operational lifecycle management. These are intended as 'good' practices rather than absolute 'best' practices, meaning they should be adapted to fit specific organizational needs and use cases.
The guidelines are organized into four main parts:
- Part I -- Foundations: Overarching principles, structural decisions, and naming conventions.
- Part II -- Developing Ansible Content: Best practices for writing roles, collections, playbooks, inventories, plugins, and general coding style.
- Part III -- AAP and Configuration as Code: Managing Ansible Automation Platform (AAP) configuration declaratively via Git.
- Part IV -- Lifecycle and Operations: Git workflow, testing, CI/CD, promotion, and security.