From b973b1776d6e2399f4502033649f3f282e245b7b Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Sat, 17 Sep 2022 19:12:10 -0400 Subject: [PATCH] working on changes, and debugging --- playbooks/create_droplet.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playbooks/create_droplet.yml b/playbooks/create_droplet.yml index 64bae10..b1c0ce3 100644 --- a/playbooks/create_droplet.yml +++ b/playbooks/create_droplet.yml @@ -103,7 +103,10 @@ addresses: ["0.0.0.0/0", "::/0"] tags: ["mpdb"] - name: update inventory - ansible.builtin.command: "do-ansible-inventory --access-token {{ lookup('ansible.builtin.env', 'DO_API_TOKEN') }} > /etc/ansible/hosts" + ansible.builtin.shell: "do-ansible-inventory --access-token {{ lookup('ansible.builtin.env', 'DO_API_TOKEN') }} > /etc/ansible/hosts" + args: + executable: /bin/bash + - name: mpdb ansible.builtin.import_playbook: mpdb.yaml - name: mpdf