From 62cc00bea74aee02796603174e94a593cc6d9b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Thu, 4 Mar 2021 13:52:25 +0100 Subject: [PATCH] Use inventory in ansible.cfg --- ansible.cfg | 1 + deploy.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index 0c5eed0..d69e51f 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,2 +1,3 @@ [defaults] remote_user = root +inventory = datacoop_hosts diff --git a/deploy.sh b/deploy.sh index 37b1b93..ab7c377 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,6 @@ #!/bin/sh -BASE_CMD="ansible-playbook playbook.yml -i datacoop_hosts --ask-vault-pass" +BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass" if [ -z "$1" ]; then echo "Deploying all!"