2
0

suppression tags

This commit is contained in:
2018-05-25 11:23:50 +02:00
parent c5e82116c4
commit d1b1a95d47
2 changed files with 0 additions and 12 deletions

View File

@@ -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"