ansible:ansible_presentation
Ansible presentation
Ansible Architecture Diagram and Ansible components
Ansible Role directory structure
Tasks: This directory contains one or more files with tasks . These file can also refer to files and templates without needing to provide the exact path.
Handlers: Add all your handlers in this directory
Files: This directory contains all your static files and scripts that might be copied or executed to remote machine.
Templates: This directory is reserved for templates that generate files on remote hosts.
Vars: You define variables inside this directory and then can be referenced elsewhere in role.
defaults: This directory lets you define default variables for included or dependent role.
meta: This directory is used for dependency management such as dependency roles.
Each directory must contain a main.yml file (or main.yaml or main) that contains the relevant
content for that directory. You can also use other YAML files in some directories to organize
your tasks or variables better.
ansible/ansible_presentation.txt · Last modified: 2024/04/18 00:21 by manu