feat: Swapped tofu init scripting for ansible scripting
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: Start every compose stack on each host, in the order spinup.sh defines
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Run spinup.sh
|
||||
ansible.builtin.command: ./spinup.sh
|
||||
args:
|
||||
chdir: "/home/{{ deploy_user }}/services/{{ service_group }}"
|
||||
register: _spinup
|
||||
changed_when: true
|
||||
|
||||
- name: Show spinup output
|
||||
ansible.builtin.debug:
|
||||
var: _spinup.stdout_lines
|
||||
Reference in New Issue
Block a user