Improve opentofu init
This commit is contained in:
parent
0881ee91a7
commit
3074cf1428
2 changed files with 1 additions and 6 deletions
|
|
@ -1,6 +0,0 @@
|
|||
- name: Prepare opentofu
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Import tasks to prepare opentofu
|
||||
ansible.builtin.import_tasks: tasks/prepare-opentofu.yml
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
chdir: "{{ playbook_dir }}/.."
|
||||
check_mode: false
|
||||
tags: always
|
||||
when: "(lookup('inventory_hostnames', 'serguzim_net') | length) == 0"
|
||||
- name: Refresh inventory with opentofu available
|
||||
ansible.builtin.meta: refresh_inventory
|
||||
tags: always
|
||||
|
|
|
|||
Loading…
Reference in a new issue