forked from vincent/notebook
add merge dict
This commit is contained in:
parent
d19dde4d9a
commit
21b129de71
@ -4,15 +4,15 @@
|
||||
|
||||
## commande ansible
|
||||
|
||||
***launch playbook on staging***
|
||||
**_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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user