engere Zugriffsbeschränkungen auf Dateien

This commit is contained in:
Marius Alwan Meyer 2023-03-11 20:11:05 +01:00
parent 574dd3b423
commit f7d3b8b9f5

View File

@ -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: