ansible_hostname != inventory_hostname
This commit is contained in:
parent
6c803e7415
commit
e82af3ee59
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
|||
- collectd/base
|
||||
- collectd/postgres # This requires a 'databases' var to be set in host_vars
|
||||
- sudo
|
||||
- { role: openvpn/client, when: ansible_hostname == "db-fas01.phx2.fedoraproject.org" }
|
||||
- { role: openvpn/client, when: inventory_hostname == "db-fas01.phx2.fedoraproject.org" }
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/yumrepos.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue