Merge pull request 'Use inventory in ansible.cfg' (#60) from hosts into master
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/60
This commit is contained in:
commit
9b1dc31163
2 changed files with 2 additions and 1 deletions
|
@ -1,2 +1,3 @@
|
||||||
[defaults]
|
[defaults]
|
||||||
remote_user = root
|
remote_user = root
|
||||||
|
inventory = datacoop_hosts
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/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
|
if [ -z "$1" ]; then
|
||||||
echo "Deploying all!"
|
echo "Deploying all!"
|
||||||
|
|
Loading…
Add table
Reference in a new issue