Skip to content

Commit

Permalink
Ignore iptables error when delete all rules in chain openstack-INPUT (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuli authored Mar 16, 2018
1 parent 9a6c981 commit 78b4b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/install-devstack/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
iptables -t nat -A POSTROUTING -s "$FLOATING_RANGE" -o $(ip -4 route | grep ^default | awk '{print $5}') -j MASQUERADE
# Delete all rules in chain openstack-INPUT to allow unlimited access from nested vm
iptables -F openstack-INPUT
iptables -F openstack-INPUT || true
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'

0 comments on commit 78b4b47

Please sign in to comment.