aboutsummaryrefslogtreecommitdiffstats
path: root/roles/httpd
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-01-14 18:57:53 +0100
committerbinary <me@rgoncalves.se>2021-01-14 18:57:53 +0100
commitc3bdb3c7e51b1476af9ebf090fac2fbe323c1091 (patch)
tree33171bfb8581605a18a36bcc5ea03acee025ccb4 /roles/httpd
parent5d89d2fabc260ab0d0594d3688ca279fdcc249aa (diff)
downloadinfrastructure-c3bdb3c7e51b1476af9ebf090fac2fbe323c1091.tar.gz
Breakdown roles links with dependencies
Diffstat (limited to 'roles/httpd')
-rw-r--r--roles/httpd/meta/main.yml8
-rw-r--r--roles/httpd/tasks/main.yml12
2 files changed, 10 insertions, 10 deletions
diff --git a/roles/httpd/meta/main.yml b/roles/httpd/meta/main.yml
new file mode 100644
index 0000000..97eaea7
--- /dev/null
+++ b/roles/httpd/meta/main.yml
@@ -0,0 +1,8 @@
+
+# httpd ~~ roles/httpd/meta/main.yml
+# Meta for httpd
+
+---
+
+dependencies:
+ - role: http_pre
diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml
index 4abf95a..6c91aac 100644
--- a/roles/httpd/tasks/main.yml
+++ b/roles/httpd/tasks/main.yml
@@ -1,17 +1,9 @@
-# dns ~~ roles/dns/tasks/main.yml
-# ensure host is using unified dns
+# httpd ~~ roles/httpd/tasks/main.yml
+# OpenBSD httpd
---
-- name: ensure httpd.d directory exists
- file:
- path: /etc/httpd.d
- state: directory
- owner: "{{ user_root }}"
- group: "{{ group_root }}"
- mode: 0644
-
- name: retrieve all configuration files
find:
path: /etc/httpd.d
remember that computers suck.