Configure gitea SSH

This commit is contained in:
2022-09-14 23:36:37 +02:00
parent 41285646b4
commit f30af83370
3 changed files with 24 additions and 20 deletions
+14 -14
View File
@@ -1,6 +1,20 @@
---
- hosts: misc
tasks:
- name: Add users for running containers
become: yes
ansible.builtin.user:
name: "{{ item.name }}"
uid: "{{ item.uid }}"
create_home: no
state: present
loop:
- name: jupyter
uid: 42000
state: present
- name: gitea
uid: 42001
state: present
# All services that are behind Caddy need to be in this network
- name: Create Caddy network
become: yes
@@ -39,20 +53,6 @@
state: present
- name: caddy
state: present
- name: Add users for running containers
become: yes
ansible.builtin.user:
name: "{{ item.name }}"
uid: "{{ item.uid }}"
create_home: no
state: present
loop:
- name: jupyter
uid: 42000
state: present
- name: gitea
uid: 42001
state: present
- name: Add Notebooks folder
become: yes
ansible.builtin.file: