From d75cbb74191e32e3ff996604e30a2954d889687b Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Thu, 15 Feb 2018 15:56:18 -0500 Subject: Ensures v4/v6 iptables filters are loaded We configure host iptables to open different ports for VBMC. This may fail if the iptables filters are not loaded. JIRA: APEX-521 Change-Id: Ia33032c29aba3555551e39b4f819087aeafe05d9 Signed-off-by: Tim Rozet --- lib/ansible/playbooks/deploy_dependencies.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/ansible/playbooks') diff --git a/lib/ansible/playbooks/deploy_dependencies.yml b/lib/ansible/playbooks/deploy_dependencies.yml index 545ee33d..da31a251 100644 --- a/lib/ansible/playbooks/deploy_dependencies.yml +++ b/lib/ansible/playbooks/deploy_dependencies.yml @@ -72,6 +72,12 @@ when: - ansible_architecture == "x86_64" - "'Y' not in nested_result.stdout" + - modprobe: + name: ip6_tables + state: present + - modprobe: + name: ip_tables + state: present - name: Generate SSH key for root if missing shell: test -e ~/.ssh/id_rsa || ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa - name: Check that /u/l/python3.4/site-packages/virtualbmc/vbmc.py exists -- cgit 1.2.3-korg