Set iptables-persistent install execution to append to log

This patch sets the command to install the iptables-persistent
package in the run-playbooks script to append its output to the
existing log instead of overwriting it.

This is to ensure that outputs from both commands are captured,
not just the second one.

Change-Id: I4d45382cb44c5f811818fe1229a63e6a2c2ecdee
Partial-Bug: #1485917
This commit is contained in:
Jesse Pretorius 2015-08-18 13:58:45 +01:00
parent 635bf49db5
commit a515e835bb

View File

@ -124,7 +124,7 @@ pushd "playbooks"
ansible neutron_agent -m shell \
-a 'DEBIAN_FRONTEND=noninteractive apt-get install iptables-persistent' \
-t "${COMMAND_LOGS}/add_neutron_agent_checksum_rule" \
&> ${COMMAND_LOGS}/add_neutron_agent_checksum_rule.log
&>> ${COMMAND_LOGS}/add_neutron_agent_checksum_rule.log
fi
fi