|
|
@@ -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 |
|
|
|