serveur_lycee/localhost.yml

22 lines
358 B
YAML
Raw Normal View History

2020-09-23 07:51:28 +00:00
---
2020-09-23 07:54:08 +00:00
- hosts: 127.0.0.1
connection: local
2020-09-23 07:51:28 +00:00
become: true
vars_files:
- vars/default.yml
tasks:
- include: tasks/lamp.yml
- include: tasks/userdir.yml
handlers:
- name: Reload Apache
service:
name: apache2
state: reloaded
- name: Restart Apache
service:
name: apache2
state: restarted