aboutsummaryrefslogtreecommitdiffstats
path: root/roles/httpd
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:15:01 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:15:01 +0100
commitdb698b595e7ff088c96d00ef5285a0d634aff1be (patch)
tree4ec4242098a774e0de7ae1a4637b45b949e4ecce /roles/httpd
parentee3e324680a15d59429b1a2a0615fe787d169068 (diff)
downloadrules-db698b595e7ff088c96d00ef5285a0d634aff1be.tar.gz
refactor: pass ansible-lint with yaml header
Diffstat (limited to 'roles/httpd')
-rw-r--r--roles/httpd/defaults/main.yml2
-rw-r--r--roles/httpd/meta/main.yml2
-rw-r--r--roles/httpd/tasks/main.yml2
3 files changed, 6 insertions, 0 deletions
diff --git a/roles/httpd/defaults/main.yml b/roles/httpd/defaults/main.yml
index ce189c2..3b0acd0 100644
--- a/roles/httpd/defaults/main.yml
+++ b/roles/httpd/defaults/main.yml
@@ -1,3 +1,5 @@
+---
+
httpd_configuration_file: /etc/httpd.conf
httpd_configuration_dir: /etc/httpd.d
httpd_chroot: /var/www
diff --git a/roles/httpd/meta/main.yml b/roles/httpd/meta/main.yml
index 20728a9..161e3b8 100644
--- a/roles/httpd/meta/main.yml
+++ b/roles/httpd/meta/main.yml
@@ -1,3 +1,5 @@
+---
+
dependencies:
- role: httpd_pre
tags: dependency
diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml
index 348ea52..ce4853a 100644
--- a/roles/httpd/tasks/main.yml
+++ b/roles/httpd/tasks/main.yml
@@ -1,3 +1,5 @@
+---
+
- name: retrieve all configuration files
ansible.builtin.find:
path: "{{ httpd_configuration_dir }}"
remember that computers suck.