The directory structure follows best practices recommended by the Ansible community. Feel free to customize this template according to your specific project requirements.
ansible-project/
|── .devcontainer/
| └── docker/
| └── devcontainer.json
| └── podman/
| └── devcontainer.json
| └── devcontainer.json
|── .github/
| └── workflows/
| └── tests.yml
| └── ansible-code-bot.yml
|── .vscode/
| └── extensions.json
|── collections/
| └── requirements.yml
| └── ansible_collections/
| └── project_org/
| └── project_repo/
| └── README.md
| └── roles/sample_role/
| └── README.md
| └── tasks/main.yml
|── inventory/
| |── hosts.yml
| |── argspec_validation_inventory.yml
| └── groups_vars/
| └── host_vars/
|── ansible-navigator.yml
|── ansible.cfg
|── devfile.yaml
|── linux_playbook.yml
|── network_playbook.yml
|── README.md
|── site.ymlTested with ansible-lint >=24.2.0 releases and the current development version of ansible-core.
Note
These collections was not pushed to galaxy
- Install requirements
ansible-galaxy install -r collections/requirements.yml- Add file with vault password into some directory.
- Run role
ansible-playbook playbook.yml -i hosts/orange_armbian.yml -t docker --vault-password-file=./vault/passThis repo contains collections of ansible roles
- jforwarder - for jforwarder project
- linux_utils - for linux administration
- nagios - for nagios client and server monitoring tasks