Use the variable, not the string
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
543acabdb1
commit
2948514084
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@
|
|||
|
||||
- name: Create directories for post-vpn service configs
|
||||
file: path="/etc/systemd/system/{{item}}.service.d" state=directory
|
||||
with_items: postvpnservices
|
||||
with_items: "{{postvpnservices}}"
|
||||
when: is_fedora is defined or ansible_distribution_major_version|int == 7
|
||||
tags:
|
||||
- service
|
||||
|
@ -110,7 +110,7 @@
|
|||
|
||||
- name: Deploy postvpn.conf for post-vpn services
|
||||
copy: src=postvpn.conf dest="/etc/systemd/system/{{item}}.service.d/postvpn.conf"
|
||||
with_items: postvpnservices
|
||||
with_items: "{{postvpnservices}}"
|
||||
when: is_fedora is defined or ansible_distribution_major_version|int == 7
|
||||
tags:
|
||||
- service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue