This commit is contained in:
Sam A. 2024-03-01 20:53:08 +01:00
parent d90b769640
commit 1b68766cd6
Signed by untrusted user: samsapti
GPG key ID: CBBBE7371E81C4EA
4 changed files with 9 additions and 5 deletions

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
playbook.retry
*.retry
*.sw*
.vagrant/
*.log

View file

@ -1,4 +1,8 @@
[defaults]
remote_user = root
ask_vault_pass = True
inventory = datacoop_hosts
interpreter_python = /usr/bin/python3
remote_user = root
retry_files_enabled = True
use_persistent_connections = True
forks = 10

View file

@ -1,5 +1,5 @@
[production]
hevonen.servers.data.coop ansible_port=19022 ansible_python_interpreter=/usr/bin/python3
hevonen.servers.data.coop ansible_port=19022
[monitoring]
uptime.data.coop ansible_python_interpreter=/usr/bin/python3
uptime.data.coop

View file

@ -9,7 +9,7 @@ usage () {
} >&2
}
BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass"
BASE_CMD="ansible-playbook playbook.yml"
if [ "$1" = "--vagrant" ]; then
BASE_CMD="$BASE_CMD --verbose --inventory=vagrant_host"