fix error in server activation
include mutliple tags (in firewall open port task)
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
yum:
|
yum:
|
||||||
name: httpd
|
name: httpd
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: conf httpd
|
- name: conf httpd
|
||||||
tags: httpd
|
tags: httpd
|
||||||
notify: reload httpd
|
notify: reload httpd
|
||||||
@@ -35,10 +36,9 @@
|
|||||||
service:
|
service:
|
||||||
name: httpd
|
name: httpd
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: restarted
|
|
||||||
|
|
||||||
- name: open firewall port
|
- name: open firewall port
|
||||||
tags: httpd
|
tags: [firewall,httpd]
|
||||||
firewalld:
|
firewalld:
|
||||||
service: http
|
service: http
|
||||||
permanent: yes
|
permanent: yes
|
||||||
|
|||||||
Reference in New Issue
Block a user