add merge dict

This commit is contained in:
vincent 2022-04-27 08:38:23 +02:00
parent d19dde4d9a
commit 21b129de71

View File

@ -4,15 +4,15 @@
## commande ansible
***launch playbook on staging***
`ansible-playbook -i staging site.yml --vault-password-file=.vaultpassword`
**_launch playbook on staging_**
`ansible-playbook -i staging site.yml --vault-password-file=.vaultpassword`
***init new role architecture***
**_init new role architecture_**
`ansible-galaxy user_config init`
***launch ansible bootstrap***
**_launch ansible bootstrap_**
`ansible-playbook -i nas, bootstrap.yml -u root --ask-pass`
***encrypt string***
**_encrypt string_**
`ansible-vault encrypt_string`
## ignore know host file on ansible
@ -21,3 +21,11 @@
export ANSIBLE_HOST_KEY_CHECKING=False
--ssh-extra-args='-o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null'
```
## Merge Dict instead Replace
in ansible config file set
```
hash_behaviour = merge
```