summaryrefslogtreecommitdiffstats
path: root/roles/contiv_auth_proxy/tasks/cleanup.yml
blob: a29659cc92071739a1109117e32dc7f35c724da0 (plain)
1
2
3
4
5
6
7
8
9
10
---

- name: stop auth-proxy container
  service: name=auth-proxy state=stopped

- name: cleanup iptables for auth proxy
  shell: iptables -D INPUT -p tcp --dport {{ item }} -j ACCEPT -m comment --comment "{{ auth_proxy_rule_comment }} ({{ item }})"
  become: true
  with_items:
    - "{{ auth_proxy_port }}"