Use become

We don't setup ssh keys for root anymore.
This commit is contained in:
Reynir Björnsson 2022-11-16 13:48:22 +01:00
parent a03263b1f5
commit ead89f95fd
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
[defaults]
remote_user = root
#remote_user = root
inventory = datacoop_hosts

View File

@ -1,6 +1,6 @@
#!/bin/sh
BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass"
BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass --ask-become-pass"
if [ -z "$1" ]; then
echo "Deploying all!"