From c3bdb3c7e51b1476af9ebf090fac2fbe323c1091 Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 14 Jan 2021 18:57:53 +0100 Subject: Breakdown roles links with dependencies --- roles/httpd/meta/main.yml | 8 ++++++++ roles/httpd/tasks/main.yml | 12 ++---------- 2 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 roles/httpd/meta/main.yml (limited to 'roles/httpd') 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 -- cgit v1.2.3