From 70917f630eca5456a78c2ac05de57d8dcef8ac1c Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sun, 31 Oct 2021 00:15:20 -0500 Subject: [PATCH] Removed apache specific items from mariadb task template... --- tasks/main.yml | 42 ------------------------------------------ 1 file changed, 42 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index fb4cb50..5faf5d2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -114,48 +114,6 @@ loop: '{{ ensure_mariadb.firewall_list }}' loop_control: label: '{{ item.service }} will be {{ item.state }}' -- name: 'base mod_md store' - when: - - ansible_system == 'Linux' - - ensure_mariadb is defined - - http_vhost is defined - - http_vhost is iterable - ansible.builtin.file: - group: 'mariadb' - owner: 'root' - mode: '0770' - path: '/etc/httpd/md' - state: 'directory' - setype: 'httpd_var_lib_t' -- name: 'ensure vhost document roots' - when: - - ansible_system == 'Linux' - - ensure_mariadb is defined - - http_vhost is defined - - http_vhost is iterable - - item.fqdn is defined - ansible.builtin.file: - path: '/srv/http/{{ item.fqdn }}' - state: 'directory' - setype: 'httpd_sys_content_t' - loop: '{{ http_vhost }}' - loop_control: - label: '/srv/http/{{ item.fqdn }} will be ensured' -- name: 'ensure website content from git repos' - when: - - ansible_system == 'Linux' - - ensure_mariadb is defined - - http_vhost is defined - - http_vhost is iterable - - item.fqdn is defined - - item.repo is defined - ansible.builtin.git: - accept_hostkey: 'yes' - dest: '/srv/http/{{ item.fqdn }}' - repo: '{{ item.repo }}' - loop: '{{ http_vhost }}' - loop_control: - label: '/srv/http/{{ item.fqdn }} will be populated...' - name: 'ensure services' when: - ansible_system == 'Linux'