Last active
June 9, 2019 03:04
-
-
Save wandersick/8f284f543e47c66d976819b87fd967df 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