Cleanup playbooks
This commit is contained in:
parent
f7d69968be
commit
0881ee91a7
1 changed files with 18 additions and 25 deletions
9
playbooks/tasks/prepare-opentofu.yml
Normal file
9
playbooks/tasks/prepare-opentofu.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
- 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
|
||||
Loading…
Reference in a new issue