fix: playbook task already has access to inventory-level variables
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
private_ip: true
|
private_ip: true
|
||||||
region: "{{ vps_service.region }}"
|
region: "{{ vps_service.region }}"
|
||||||
root_pass: "{{ vps_service.password }}"
|
root_pass: "{{ vps_service.password }}"
|
||||||
tags: "{{ hostvars[inventory_hostname].keywords }}"
|
tags: "{{ keywords }}"
|
||||||
state: "{{ 'present' if vps_service.exists else 'absent' }}"
|
state: "{{ 'present' if vps_service.exists else 'absent' }}"
|
||||||
tags:
|
tags:
|
||||||
- vps_step
|
- vps_step
|
||||||
|
|||||||
Reference in New Issue
Block a user