Fixed variable quoting

The bridges variable was un quoted creating a condition where
the ansible ignores the variable and treats it as a string.

Change-Id: Ia883055179927c651111475824ee68ef73257ead
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-09-11 11:32:25 -05:00
parent 248acc1f30
commit a45b2dea86
No known key found for this signature in database
GPG Key ID: 69FEFFC5E2D9273F

View File

@ -72,14 +72,14 @@
when:
- (network_interfaces_rhel | changed) or (network_interfaces_deb | changed)
- network_conf_filename is defined
with_items: bridges
with_items: "{{ bridges }}"
- name: Start the network interfaces
command: "ifup {{ item }}"
when:
- (network_interfaces_rhel | changed) or (network_interfaces_deb | changed)
- network_conf_filename is defined
with_items: bridges
with_items: "{{ bridges }}"
- name: Add iptables rule to ensure ssh checksum is correct
command: /sbin/iptables -A POSTROUTING -t mangle -p tcp --dport 22 -j CHECKSUM --checksum-fill