infrastructure/playbooks/tasks/prepare-opentofu.yml

9 lines
249 B
YAML

- 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