Use inventory in ansible.cfg #60

Merged
graffen merged 1 commits from hosts into master 2021-03-05 07:50:01 +00:00
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!"