Cleanup playbooks
This commit is contained in:
parent
f7d69968be
commit
0881ee91a7
1 changed files with 18 additions and 25 deletions
|
|
@ -1,17 +1,10 @@
|
|||
---
|
||||
- name: Prepare
|
||||
- name: Prepare opentofu
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Run opentofu init
|
||||
ansible.builtin.command:
|
||||
cmd: tofu init
|
||||
chdir: "{{ playbook_dir }}/.."
|
||||
check_mode: false
|
||||
tags: always
|
||||
- name: Refresh inventory with opentofu available
|
||||
ansible.builtin.meta: refresh_inventory
|
||||
tags: always
|
||||
- name: Import tasks to prepare opentofu
|
||||
ansible.builtin.import_tasks: tasks/prepare-opentofu.yml
|
||||
|
||||
- name: Run all roles
|
||||
hosts: serguzim_net
|
||||
|
|
|
|||
Loading…
Reference in a new issue