diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-12-12 22:15:01 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-12-12 22:15:01 +0100 |
commit | db698b595e7ff088c96d00ef5285a0d634aff1be (patch) | |
tree | 4ec4242098a774e0de7ae1a4637b45b949e4ecce /roles/httpd_pre | |
parent | ee3e324680a15d59429b1a2a0615fe787d169068 (diff) | |
download | rules-db698b595e7ff088c96d00ef5285a0d634aff1be.tar.gz |
refactor: pass ansible-lint with yaml header
Diffstat (limited to 'roles/httpd_pre')
-rw-r--r--[l---------] | roles/httpd_pre/defaults/main.yml | 9 | ||||
-rw-r--r-- | roles/httpd_pre/tasks/main.yml | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/roles/httpd_pre/defaults/main.yml b/roles/httpd_pre/defaults/main.yml index 52d65d9..3b0acd0 120000..100644 --- a/roles/httpd_pre/defaults/main.yml +++ b/roles/httpd_pre/defaults/main.yml @@ -1 +1,8 @@ -../../httpd/defaults/main.yml
\ No newline at end of file +--- + +httpd_configuration_file: /etc/httpd.conf +httpd_configuration_dir: /etc/httpd.d +httpd_chroot: /var/www + +httpd_user: www +httpd_group: www diff --git a/roles/httpd_pre/tasks/main.yml b/roles/httpd_pre/tasks/main.yml index 46475d2..39cb1c7 100644 --- a/roles/httpd_pre/tasks/main.yml +++ b/roles/httpd_pre/tasks/main.yml @@ -1,3 +1,5 @@ +--- + - name: create httpd directory ansible.builtin.file: path: /etc/httpd.d |