Last active
May 27, 2019 20:20
-
-
Save wandersick/3e74ac7f5c2f79b2bba0d7155985be7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all # Apply to all hosts in the inventory file | |
remote_user: root | |
tasks: | |
- name: ensure firewall service is running | |
service: | |
name: "{{ item }}" | |
state: started | |
enabled: yes | |
with_items: | |
- firewalld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment