From 7329cbaa44e24cde0e3c292f6528e87cb579a62e Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Tue, 26 Oct 2021 21:24:15 -0500 Subject: [PATCH] Max username length = 32, thus ownership of docroot breaks --- tasks/main.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 235ca13..f224451 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -114,17 +114,6 @@ loop: '{{ ensure_apache.firewall_list }}' loop_control: label: '{{ item.service }} will be {{ item.state }}' -- name: 'ensure users' - when: - - ansible_system == 'Linux' - - ensure_apache is defined - - http_vhost is defined - - http_vhost is iterable - ansible.builtin.user: - name: '{{ item.fqdn }}' - loop: '{{ http_vhost }}' - loop_control: - label: '{{ item.fqdn }} will be ensured' - name: 'base mod_md store' when: - ansible_system == 'Linux' @@ -138,18 +127,6 @@ path: '/etc/httpd/md' state: 'directory' setype: 'httpd_var_lib_t' -- name: 'base vhost document root' - when: - - ansible_system == 'Linux' - - ensure_apache is defined - - http_vhost is defined - - http_vhost is iterable - ansible.builtin.file: - group: 'root' - owner: 'root' - mode: '0775' - path: '/srv/http' - state: 'directory' - name: 'ensure vhost document roots' when: - ansible_system == 'Linux' @@ -157,9 +134,6 @@ - http_vhost is defined - http_vhost is iterable ansible.builtin.file: - group: '{{ item.fqdn }}' - owner: '{{ item.fqdn }}' - mode: '2775' path: '/srv/http/{{ item.fqdn }}' state: 'directory' setype: 'httpd_sys_content_t'