Fix tofu preparation
This commit is contained in:
parent
7571e7d1c6
commit
037f111ce1
1 changed files with 5 additions and 0 deletions
|
|
@ -1,12 +1,17 @@
|
|||
---
|
||||
- name: Prepare
|
||||
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: Run all roles
|
||||
hosts: serguzim_net
|
||||
|
|
|
|||
Loading…
Reference in a new issue