Clean README
This commit is contained in:
parent
98622807e1
commit
9688e98cbf
1 changed files with 4 additions and 11 deletions
15
README.md
15
README.md
|
@ -1,11 +1,5 @@
|
||||||
# Playbook et rôles Ansible d'Aurore
|
# Playbook et rôles Ansible d'Aurore
|
||||||
|
|
||||||
Pour cloner ce projet :
|
|
||||||
|
|
||||||
```
|
|
||||||
git clone --recursive git@gitlab.federez.net:erdnaxe/ansible-aurore.git
|
|
||||||
```
|
|
||||||
|
|
||||||
## Exécution d'un playbook
|
## Exécution d'un playbook
|
||||||
|
|
||||||
Pour tester :
|
Pour tester :
|
||||||
|
@ -44,16 +38,15 @@ Host proxy.auro.re
|
||||||
ControlMaster auto
|
ControlMaster auto
|
||||||
ControlPath ~/.ssh/%r@%h:%p
|
ControlPath ~/.ssh/%r@%h:%p
|
||||||
|
|
||||||
# Use a bastion and a key to log on all Aurore servers
|
# Use a key to log on all Aurore servers
|
||||||
Host 10.128.* *.adm.auro.re
|
# and use a bastion
|
||||||
ProxyJump proxy.auro.re
|
Host 10.128.0.* *.adm.auro.re
|
||||||
IdentityFile ~/.ssh/id_rsa_aurore
|
IdentityFile ~/.ssh/id_rsa_aurore
|
||||||
|
ProxyJump proxy.auro.re
|
||||||
```
|
```
|
||||||
|
|
||||||
### Lister tout ce que sait Ansible sur un hôte
|
### Lister tout ce que sait Ansible sur un hôte
|
||||||
|
|
||||||
Exemple :
|
|
||||||
|
|
||||||
```
|
```
|
||||||
ansible -i hosts ldap-replica-fleming1.adm.auro.re -m setup --ask-vault-pass
|
ansible -i hosts ldap-replica-fleming1.adm.auro.re -m setup --ask-vault-pass
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue