Removed apache specific items from mariadb task template...
This commit is contained in:
		| @@ -114,48 +114,6 @@ | |||||||
|   loop: '{{ ensure_mariadb.firewall_list }}' |   loop: '{{ ensure_mariadb.firewall_list }}' | ||||||
|   loop_control: |   loop_control: | ||||||
|     label: '{{ item.service }} will be {{ item.state }}' |     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' | - name: 'ensure services' | ||||||
|   when: |   when: | ||||||
|     - ansible_system == 'Linux' |     - ansible_system == 'Linux' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user