added https block
This commit is contained in:
@@ -72,11 +72,6 @@
|
|||||||
src: files/nginx.conf
|
src: files/nginx.conf
|
||||||
dest: "{{ rproxy_dir }}/nginx.conf"
|
dest: "{{ rproxy_dir }}/nginx.conf"
|
||||||
|
|
||||||
- name: Copy repo.conf
|
|
||||||
ansible.builtin.copy:
|
|
||||||
src: files/repo.conf
|
|
||||||
dest: "{{ rproxy_dir }}/sites/repo.conf"
|
|
||||||
|
|
||||||
- name: Copy RootCA certificate
|
- name: Copy RootCA certificate
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: files/RootCA.crt
|
src: files/RootCA.crt
|
||||||
@@ -86,6 +81,13 @@
|
|||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: files/RootCA.key
|
src: files/RootCA.key
|
||||||
dest: '{{ rproxy_dir }}/certs/RootCA.key'
|
dest: '{{ rproxy_dir }}/certs/RootCA.key'
|
||||||
|
|
||||||
|
- name: HTTPS repository
|
||||||
|
block:
|
||||||
|
- name: Copy repo.conf
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: files/repo.conf
|
||||||
|
dest: "{{ rproxy_dir }}/sites/repo.conf"
|
||||||
|
|
||||||
- name: Start rproxy
|
- name: Start rproxy
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose:
|
||||||
|
|||||||
Reference in New Issue
Block a user