Ansible Role: A Comprehensive Guide to Structuring Playbooks
nginx-role.yml roles/ └── nginx ├── tasks │ ├── group.yml # Create group │ ├── main.yml │ ├── restart.yml # Restart service │ ├── start.yml # Start service │ ├── templ.yml # Copy configuration file │ ├── user.yml # Create user │ └── yum.yml # Install service └── templates └── nginx.conf.j2 # Configuration file group.yml (0 … Read more