Browse Source

Use inventory in ansible.cfg

hosts
Reynir Björnsson 1 year ago
parent
commit
62cc00bea7
  1. 1
      ansible.cfg
  2. 2
      deploy.sh

1
ansible.cfg

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

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

Loading…
Cancel
Save