Use inventory in ansible.cfg #60

Merged
graffen merged 1 commit from hosts into master 2021-03-05 07:50:01 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 62cc00bea7 - Show all commits

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