Initial commit
This commit is contained in:
commit
847c90dfba
8 changed files with 147 additions and 0 deletions
30
README.md
Normal file
30
README.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Playbook et rôles Ansible d'Aurore
|
||||
|
||||
## Exécution d'un playbook
|
||||
|
||||
```bash
|
||||
ansible-playbook --ask-vault-pass -K -i hosts base.yml
|
||||
```
|
||||
|
||||
## FAQ
|
||||
|
||||
### Automatiquement ajouter fingerprint ECDSA (dangereux !)
|
||||
|
||||
Il faut changer la variable d'environnement suivante :
|
||||
`ANSIBLE_HOST_KEY_CHECKING=0`.
|
||||
|
||||
### Configurer la connexion au bastion
|
||||
|
||||
Dans la configuration SSH :
|
||||
|
||||
```
|
||||
# Keep session alive only for bastion
|
||||
Host proxy.auro.re
|
||||
ControlMaster auto
|
||||
ControlPath ~/.ssh/%r@%h:%p
|
||||
|
||||
Host *.auro.re 10.128.0.*
|
||||
IdentityFile ~/.ssh/id_rsa_aurore
|
||||
ForwardAgent yes
|
||||
```
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue