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:
parent
248acc1f30
commit
a45b2dea86
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user