Add creation of data dir
This commit is contained in:
@@ -6,11 +6,21 @@
|
|||||||
path: "{{ rproxy_dir }}"
|
path: "{{ rproxy_dir }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
- name: Create data dir
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ data_dir }}"
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Create rproxy dir
|
- name: Create rproxy dir
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ rproxy_dir }}"
|
path: "{{ rproxy_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
- name: Create rproxy data dir
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ repo_data_dir }}"
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Create sites dir
|
- name: Create sites dir
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ rproxy_dir }}/sites"
|
path: "{{ rproxy_dir }}/sites"
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
ansible_python_interpreter: /usr/bin/python3
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
rproxy_dir: /opt/rproxy
|
rproxy_dir: /opt/rproxy
|
||||||
rproxy_version: latest
|
rproxy_version: latest
|
||||||
|
data_dir: /opt/data
|
||||||
repo_data_dir: /opt/data/repo
|
repo_data_dir: /opt/data/repo
|
||||||
dockerrepo_dir: /opt/dockerrepo
|
dockerrepo_dir: /opt/dockerrepo
|
||||||
dockerrepo_data_dir: /opt/data/dockerrepo
|
dockerrepo_data_dir: /opt/data/dockerrepo
|
||||||
Reference in New Issue
Block a user