From ead89f95fd9d6e7f5e1f93b2d0916542a8011d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Wed, 16 Nov 2022 13:48:22 +0100 Subject: [PATCH] Use become We don't setup ssh keys for root anymore. --- ansible.cfg | 2 +- deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index d69e51f..e568796 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,3 +1,3 @@ [defaults] -remote_user = root +#remote_user = root inventory = datacoop_hosts diff --git a/deploy.sh b/deploy.sh index 2a36b0e..e58b445 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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!"