ansible:basic:role_common

Différences

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

Lien vers cette vue comparative

Prochaine révision
Révision précédente
ansible:basic:role_common [12/02/2021 17:01]
dani créée
ansible:basic:role_common [12/02/2021 17:03] (Version actuelle)
dani
Ligne 11: Ligne 11:
 Here's the minimum variables you should set Here's the minimum variables you should set
  
-<code yml>+<code yaml>
 # A list of trusted IP. Will have accesso to the SSH service of all the servers for example  # A list of trusted IP. Will have accesso to the SSH service of all the servers for example 
  
Ligne 29: Ligne 29:
 mysql_server: maria.fws.fr mysql_server: maria.fws.fr
 pg_server: postgres.fws.fr pg_server: postgres.fws.fr
 +mysql_admin_pass: "{{ vault_mysql_admin_pass }}"
 +pg_admin_pass: "{{ vault_pg_admin_pass }}"
  
 # System timezone # System timezone
Ligne 34: Ligne 36:
  
 </code> </code>
 +<note tip>**vault_mysql_admin_pass** and **vault_pg_admin_pass** are passwords, so I do not store them in clear. Instead, they are stored in a vault and referenced here for clarity</note>
  
 Of course, there are a lot more variables available. You can look in roles/common/defaults. Some other roles can be pulled in as a dependency if some specific variables are set. For example, if you set the following : Of course, there are a lot more variables available. You can look in roles/common/defaults. Some other roles can be pulled in as a dependency if some specific variables are set. For example, if you set the following :
  
-<code yml>+<code yaml>
 ad_auth: True ad_auth: True
 samba_domain: acme samba_domain: acme
  • ansible/basic/role_common.1613145701.txt.gz
  • Dernière modification: 12/02/2021 17:01
  • de dani