Improv
This commit is contained in:
parent
d90b769640
commit
1b68766cd6
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
||||||
playbook.retry
|
*.retry
|
||||||
*.sw*
|
*.sw*
|
||||||
.vagrant/
|
.vagrant/
|
||||||
*.log
|
*.log
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
[defaults]
|
[defaults]
|
||||||
remote_user = root
|
ask_vault_pass = True
|
||||||
inventory = datacoop_hosts
|
inventory = datacoop_hosts
|
||||||
|
interpreter_python = /usr/bin/python3
|
||||||
|
remote_user = root
|
||||||
|
retry_files_enabled = True
|
||||||
use_persistent_connections = True
|
use_persistent_connections = True
|
||||||
|
forks = 10
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[production]
|
[production]
|
||||||
hevonen.servers.data.coop ansible_port=19022 ansible_python_interpreter=/usr/bin/python3
|
hevonen.servers.data.coop ansible_port=19022
|
||||||
|
|
||||||
[monitoring]
|
[monitoring]
|
||||||
uptime.data.coop ansible_python_interpreter=/usr/bin/python3
|
uptime.data.coop
|
||||||
|
|
|
@ -9,7 +9,7 @@ usage () {
|
||||||
} >&2
|
} >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass"
|
BASE_CMD="ansible-playbook playbook.yml"
|
||||||
|
|
||||||
if [ "$1" = "--vagrant" ]; then
|
if [ "$1" = "--vagrant" ]; then
|
||||||
BASE_CMD="$BASE_CMD --verbose --inventory=vagrant_host"
|
BASE_CMD="$BASE_CMD --verbose --inventory=vagrant_host"
|
||||||
|
|
Loading…
Reference in a new issue