amelioration atelier
This commit is contained in:
11
apache.yml
11
apache.yml
@@ -1,20 +1,13 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
handlers:
|
||||
- name: reload httpd
|
||||
service:
|
||||
name: httpd
|
||||
state: restarted
|
||||
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: install apache
|
||||
yum:
|
||||
yum:
|
||||
name: httpd
|
||||
state: latest
|
||||
|
||||
- name: conf httpd
|
||||
notify: reload httpd
|
||||
template:
|
||||
src: vhost.conf
|
||||
dest: /etc/httpd/conf.d/vhost.conf
|
||||
|
||||
Reference in New Issue
Block a user