22 lines
358 B
YAML
22 lines
358 B
YAML
---
|
|
- hosts: 127.0.0.1
|
|
connection: local
|
|
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
|