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 state: directory
owner: "{{ git_user.uid }}" owner: "{{ git_user.uid }}"
group: "{{ git_user.group }}" group: "{{ git_user.group }}"
mode: 0755 mode: 0700
- name: Create Config Directory - name: Create Config Directory
file: file:
@ -33,7 +33,7 @@
state: directory state: directory
owner: "{{ git_user.uid }}" owner: "{{ git_user.uid }}"
group: "{{ git_user.group }}" group: "{{ git_user.group }}"
mode: 0755 mode: 0700
- name: Create Logging Directory - name: Create Logging Directory
file: file:
@ -41,7 +41,7 @@
state: directory state: directory
owner: "{{ git_user.uid }}" owner: "{{ git_user.uid }}"
group: "{{ git_user.group }}" group: "{{ git_user.group }}"
mode: 0755 mode: 0700
- name: Start Docker Daemon - name: Start Docker Daemon
systemd: systemd:
@ -54,14 +54,14 @@
src: environment.env.j2 src: environment.env.j2
dest: "/opt/gitea/environment.env" dest: "/opt/gitea/environment.env"
owner: root owner: root
mode: 0644 mode: 0600
- name: Upload docker-compose.yaml - name: Upload docker-compose.yaml
ansible.builtin.template: ansible.builtin.template:
src: docker-compose.yaml.j2 src: docker-compose.yaml.j2
dest: /opt/gitea/docker-compose.yaml dest: /opt/gitea/docker-compose.yaml
owner: root owner: root
mode: 0644 mode: 0600
- name: Create Gitea container - name: Create Gitea container
community.docker.docker_compose: community.docker.docker_compose: