serveur_lycee/localhost.yml

23 lines
375 B
YAML
Raw Normal View History

2020-09-23 07:51:28 +00:00
---
2020-09-23 21:04:15 +00:00
- hosts: all
#ask_pass: true
2020-09-23 07:51:28 +00:00
become: true
vars_files:
- vars/default.yml
2020-09-23 16:20:00 +00:00
- vars/accounts.yml
2020-09-23 07:51:28 +00:00
tasks:
- include: tasks/lamp.yml
2020-09-23 16:20:00 +00:00
- include: tasks/accounts.yml
2020-09-23 07:51:28 +00:00
handlers:
- name: Reload Apache
service:
name: apache2
state: reloaded
- name: Restart Apache
service:
name: apache2
state: restarted