engere Zugriffsbeschränkungen auf Dateien
This commit is contained in:
parent
574dd3b423
commit
f7d3b8b9f5
@ -25,7 +25,7 @@
|
||||
state: directory
|
||||
owner: "{{ git_user.uid }}"
|
||||
group: "{{ git_user.group }}"
|
||||
mode: 0755
|
||||
mode: 0700
|
||||
|
||||
- name: Create Config Directory
|
||||
file:
|
||||
@ -33,7 +33,7 @@
|
||||
state: directory
|
||||
owner: "{{ git_user.uid }}"
|
||||
group: "{{ git_user.group }}"
|
||||
mode: 0755
|
||||
mode: 0700
|
||||
|
||||
- name: Create Logging Directory
|
||||
file:
|
||||
@ -41,7 +41,7 @@
|
||||
state: directory
|
||||
owner: "{{ git_user.uid }}"
|
||||
group: "{{ git_user.group }}"
|
||||
mode: 0755
|
||||
mode: 0700
|
||||
|
||||
- name: Start Docker Daemon
|
||||
systemd:
|
||||
@ -54,14 +54,14 @@
|
||||
src: environment.env.j2
|
||||
dest: "/opt/gitea/environment.env"
|
||||
owner: root
|
||||
mode: 0644
|
||||
mode: 0600
|
||||
|
||||
- name: Upload docker-compose.yaml
|
||||
ansible.builtin.template:
|
||||
src: docker-compose.yaml.j2
|
||||
dest: /opt/gitea/docker-compose.yaml
|
||||
owner: root
|
||||
mode: 0644
|
||||
mode: 0600
|
||||
|
||||
- name: Create Gitea container
|
||||
community.docker.docker_compose:
|
||||
|
Loading…
Reference in New Issue
Block a user