ansible:basic:role_config

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Dernière révision Les deux révisions suivantes
ansible:basic:role_config [12/02/2021 16:42]
dani créée
ansible:basic:role_config [12/02/2021 17:04]
dani [defaults & variables]
Ligne 15: Ligne 15:
 **defaults** is really the most important part of a role. Check the file defaults/main.yml of a role to see which variables you can tune. For example, for the role docker (which can install docker daemon on a host) **defaults** is really the most important part of a role. Check the file defaults/main.yml of a role to see which variables you can tune. For example, for the role docker (which can install docker daemon on a host)
  
-<file yml main.yml>+<file yaml main.yml>
 docker_data_dir: /opt/docker docker_data_dir: /opt/docker
 docker_log_driver: journald docker_log_driver: journald
  • ansible/basic/role_config.txt
  • Dernière modification: 12/02/2021 17:04
  • de dani