Commit 0a8cdd05 authored by MUSSET Paul's avatar MUSSET Paul
Browse files

[ansible] change the way to copy config and auth file

parent 5ae29caf
......@@ -19,11 +19,11 @@
- name: copy config files
ansible.builtin.copy:
src: ../files/config
dest: /root/compose-config/
src: ../files/config/
dest: /root/compose-config/config/
notify: start xcache
- name: copy necessary files for authN/authZ
- name: copy necessary files for authN/authZ
block:
- name: copy certificate
ansible.builtin.copy:
......@@ -41,11 +41,12 @@
mode: '0400'
dest: /root/key.pem
- name: copy authfile
- name: copy auth
ansible.builtin.copy:
src: ../files/Authfile
dest: /root/compose-config/config
when: auth is defined and auth == true
src: ../files/auth/
dest: /root/compose-config/config
notify: start xcache
when: auth is defined and auth
- name: copy xcache-config
ansible.builtin.template:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment