Create application volume mounts manually
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
42e4220b5f
commit
2c7bd98f32
@ -13,6 +13,18 @@
|
||||
ssh_key_file: .ssh/id_rsa
|
||||
state: present
|
||||
|
||||
- name: Create gitea application directories
|
||||
become: true
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: git
|
||||
group: git
|
||||
with_items:
|
||||
- /app
|
||||
- /app/gitea
|
||||
- /var/lib/gitea
|
||||
|
||||
- name: Get uid/guid of the git user
|
||||
become: true
|
||||
getent:
|
||||
@ -31,14 +43,3 @@
|
||||
- name: Store gitea git user uid/guid in config.env dictionary
|
||||
set_fact:
|
||||
config: "{{ config | update_env(git_user_info) }}"
|
||||
|
||||
- name: Create extra application directories
|
||||
become: true
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: git
|
||||
group: git
|
||||
with_items:
|
||||
- /app
|
||||
- /app/gitea
|
||||
|
Reference in New Issue
Block a user