Skip to content
Snippets Groups Projects
Verified Commit cb2a969d authored by Nicolas Lenz's avatar Nicolas Lenz :snowflake:
Browse files

rename dir

parent 00cd8b17
No related branches found
No related tags found
No related merge requests found
Pipeline #201872 passed
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
- name: Create directory for the error files - name: Create directory for the error files
ansible.builtin.file: ansible.builtin.file:
path: "{{ haproxy_config_dir }}/error" path: "{{ haproxy_config_dir }}/custom_errors"
state: directory state: directory
owner: root owner: root
group: root group: root
...@@ -114,9 +114,11 @@ ...@@ -114,9 +114,11 @@
- name: Copy error pages - name: Copy error pages
ansible.builtin.copy: ansible.builtin.copy:
src: "{{ inventory_hostname }}/error/" src: "{{ item }}"
dest: "{{ haproxy_config_dir }}/error" dest: "{{ haproxy_config_dir }}/custom_errors"
mode: "0644" mode: "0644"
with_fileglob:
- "{{ inventory_hostname }}/custom_errors/*"
- name: 'Create directory for the http-errors' - name: 'Create directory for the http-errors'
ansible.builtin.file: ansible.builtin.file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment