You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
300 B
22 lines
300 B
4 years ago
|
---
|
||
|
- hosts: service
|
||
|
remote_user: docker
|
||
|
sudo: yes
|
||
|
gather_facts: no
|
||
|
vars:
|
||
|
user: "docker"
|
||
|
|
||
|
|
||
|
|
||
|
tasks:
|
||
|
|
||
|
# exec script iptables
|
||
|
- name: Exec iptables_rules.sh.
|
||
|
command: sh /home/docker/iptables_rules.sh
|
||
|
|
||
|
|
||
|
- name: Refresh connection
|
||
|
meta: clear_host_errors
|
||
|
|
||
|
|