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:
parent
635bf49db5
commit
a515e835bb
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user