[SUCS Devel] [Git][sucs/sucs][master] Move some stuff to the right place and start the apache2 role

Laurence Sebastian Bowes elbows at sucs.org
Thu Sep 29 19:49:31 BST 2016


Laurence Sebastian Bowes pushed to branch master at sucs / SUCS


Commits:
31f5043e by Laurence Sebastian Bowes at 2016-09-29T19:50:59+01:00
Move some stuff to the right place and start the apache2 role

- - - - -


4 changed files:

- + ansible/roles/apache2/handlers/main.yml
- + ansible/roles/apache2/tasks/debian.yml
- + ansible/roles/apache2/tasks/main.yml
- + ansible/roles/letsencrypt/handlers/main.yml


Changes:

=====================================
ansible/roles/apache2/handlers/main.yml
=====================================
--- /dev/null
+++ b/ansible/roles/apache2/handlers/main.yml
@@ -0,0 +1,2 @@
+- name: reload apache2
+  service: name=apache2 state=reloaded


=====================================
ansible/roles/apache2/tasks/debian.yml
=====================================
--- /dev/null
+++ b/ansible/roles/apache2/tasks/debian.yml
@@ -0,0 +1,4 @@
+- name: install stuff
+  apt: pkg={{ item }} state=installed
+    with_items:
+        - apache2


=====================================
ansible/roles/apache2/tasks/main.yml
=====================================
--- /dev/null
+++ b/ansible/roles/apache2/tasks/main.yml
@@ -0,0 +1,2 @@
+- include: debian.yml
+  when: ansible_os_family == "Debian"


=====================================
ansible/roles/letsencrypt/handlers/main.yml
=====================================
--- /dev/null
+++ b/ansible/roles/letsencrypt/handlers/main.yml
@@ -0,0 +1,2 @@
+- name: reload apache2
+  service: name=apache2 state=reloaded



View it on GitLab: https://projects.sucs.org/sucs/sucs/commit/31f5043e142d13f19bc8e0a69342dbc4576ca35f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20160929/5f83c885/attachment.html>


More information about the Devel mailing list