Add tofu init before playbook
This commit is contained in:
parent
866a168034
commit
7571e7d1c6
1 changed files with 9 additions and 0 deletions
|
|
@ -1,4 +1,13 @@
|
|||
---
|
||||
- name: Prepare
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- name: Run opentofu init
|
||||
ansible.builtin.command:
|
||||
cmd: tofu init
|
||||
check_mode: false
|
||||
tags: always
|
||||
|
||||
- name: Run all roles
|
||||
hosts: serguzim_net
|
||||
vars:
|
||||
|
|
|
|||
Loading…
Reference in a new issue