suppression tags
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
---
|
||||
# tasks file for myapache
|
||||
- name: install apache
|
||||
tags: httpd
|
||||
yum:
|
||||
name: httpd
|
||||
state: latest
|
||||
- name: conf httpd
|
||||
tags: httpd
|
||||
notify: reload httpd
|
||||
template:
|
||||
src: vhost.conf.jj
|
||||
@@ -16,13 +14,11 @@
|
||||
group: apache
|
||||
|
||||
- name: activate apache
|
||||
tags: httpd
|
||||
service:
|
||||
name: httpd
|
||||
enabled: yes
|
||||
|
||||
- name: open firewall port
|
||||
tags: httpd
|
||||
firewalld:
|
||||
service: http
|
||||
permanent: yes
|
||||
@@ -32,7 +28,6 @@
|
||||
notify: reload firewalld
|
||||
|
||||
- name: create documentroot
|
||||
tags: httpd
|
||||
file:
|
||||
name: "/var/www/html/{{ item.documentroot }}"
|
||||
state: directory
|
||||
@@ -40,7 +35,6 @@
|
||||
- "{{ apache_vhosts }}"
|
||||
|
||||
- name: create index file
|
||||
tags: httpd
|
||||
copy:
|
||||
src: index.html
|
||||
dest: "/var/www/html/{{ item.documentroot }}/index.html"
|
||||
|
||||
Reference in New Issue
Block a user