forked from FF-RGB/ansible
Simplify vault password handling
This commit is contained in:
parent
578e8ee510
commit
aac39a2e21
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
.vault_pass
|
.vault_pass
|
||||||
|
site.retry
|
||||||
|
10
README.md
10
README.md
@ -1,12 +1,16 @@
|
|||||||
Ansible Freifunk Regensburg
|
Ansible Freifunk Regensburg
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
The vault password must be stored in `.vault_pass`.
|
||||||
|
|
||||||
|
|
||||||
## Running Ansible
|
## Running Ansible
|
||||||
To deploy all defined roles on all servers simply run `ansible-playbook --ask-vault-pass -i hosts site.yml`.
|
|
||||||
To deploy only one server run `ansible-playbook -i "imac1-local," site.yml` (--ask-vault-pass is currently only required on the confluence host).
|
|
||||||
|
|
||||||
|
To deploy all defined roles on all servers simply run `ansible-playbook site.yml`.
|
||||||
|
To deploy only one server run `ansible-playbook -i "hostname," site.yml`.
|
||||||
|
|
||||||
TBA
|
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
|
11
ansible.cfg
Normal file
11
ansible.cfg
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[defaults]
|
||||||
|
ansible_managed = This file is managed by ansible, do not make manual changes - they may be overridden at any time.
|
||||||
|
inventory = ./hosts
|
||||||
|
library = ./library
|
||||||
|
nocows = 1
|
||||||
|
remote_user = root
|
||||||
|
roles_path = ./roles
|
||||||
|
vault_password_file = ./.vault_pass
|
||||||
|
|
||||||
|
[ssh_connection]
|
||||||
|
pipelining = true
|
Loading…
Reference in New Issue
Block a user