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.
15 lines
350 B
15 lines
350 B
---
|
|
|
|
- name: Switch to iptables
|
|
hosts: lab
|
|
become: yes
|
|
tasks:
|
|
- name: Install iptables-services
|
|
yum: name=iptables-services state=installed
|
|
tags: rpm
|
|
|
|
- name: Disable firewalld
|
|
service: name=firewalld state=stopped enabled=no
|
|
|
|
- name: Enable iptables
|
|
service: name=iptables state=started enabled=yes
|
|
|