Use inventory in ansible.cfg

This commit is contained in:
Reynir Björnsson 2021-03-04 13:52:25 +01:00
parent 30b9580d3c
commit 62cc00bea7
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -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!"