web_AI-5/ansible/roles/web_AI-5/tasks/main.yml

16 lines
331 B
YAML
Raw Normal View History

2017-10-29 16:37:19 +01:00
---
- import_tasks: tasks/apt_install.yml
- import_tasks: tasks/ufw_tcp.yml
2017-10-29 16:37:19 +01:00
- import_tasks: mariadb.yml
2017-11-03 17:40:10 +01:00
- name: Copy apache config
copy: src=000-default.conf
dest=/etc/apache2/site-available/
owner=root
group=root
mode=655
2017-10-29 16:37:19 +01:00
- name: Restart apache service
service: name=apache2 state=restarted