]> freie-schul-it.de Git - fsit_smgt.git/commitdiff
task fuer forgejo Projekte Server
authorUllli <ullli@freie-schul-it.de>
Fri, 24 Apr 2026 15:48:21 +0000 (17:48 +0200)
committerUllli <ullli@freie-schul-it.de>
Fri, 24 Apr 2026 15:48:21 +0000 (17:48 +0200)
defaults/main.yml
tasks/forgejo.yml [new file with mode: 0644]
tasks/main.yml
tasks/samba.yml

index 0ac2e2fc5371c2ba872bc148e6f0d80ccb4d8878..5326f8f427c328e6bc199aa634f6622d7611378f 100644 (file)
@@ -5,3 +5,4 @@ fsit_smgt_samba_shares: []
 fsit_smgt_homes_ipaddr_lan:
 fsit_smgt_homes_export_root:
 fsit_smgt_homes_lan_homes:
 fsit_smgt_homes_ipaddr_lan:
 fsit_smgt_homes_export_root:
 fsit_smgt_homes_lan_homes:
+#fsit_smgt_forgejo_
diff --git a/tasks/forgejo.yml b/tasks/forgejo.yml
new file mode 100644 (file)
index 0000000..74be67e
--- /dev/null
@@ -0,0 +1,6 @@
+---
+- name: install server specific packages
+  ansible.builtin.apt:
+    pkg:
+    - git
+    - git-lfs
index 65609e087b38c4e0ba899015918001621d746d2c..77e884233fa7378ea07666fd001005258ce21529 100644 (file)
@@ -1,11 +1,16 @@
 ---
 - name: Include bootstrap
   ansible.builtin.include_tasks: bootstrap.yml
 ---
 - name: Include bootstrap
   ansible.builtin.include_tasks: bootstrap.yml
-- name: openldap-server
+- name: OpenLDAP-Server
   ansible.builtin.include_tasks: openldap.yml
   when: ldap in group_names 
 - name: Samba-Fileserver
   ansible.builtin.include_tasks: openldap.yml
   when: ldap in group_names 
 - name: Samba-Fileserver
-  ansible.buitlin.include_tasks: samba.yml
+  ansible.builtin.include_tasks: samba.yml
   when: samba in group_names
   when: samba in group_names
+- name: Forgejo Git- und Projekte-Server
+  ansible.builtin.include_tasks: forgejo.yml
+  when: forgejo in group_names
+#
+# Inventory immer als letztes
 - name: Include inventory (last task)
   ansible.builtin.include_tasks: inventory.yml
 - name: Include inventory (last task)
   ansible.builtin.include_tasks: inventory.yml
index e349d8f0403cb638a098e12c7515506a91b1807c..84ce0d5a422fcbac383886abeaa9e1e3ee30a2f9 100644 (file)
@@ -3,7 +3,7 @@
   ansible.builtin.apt:
     pkg:
     - samba
   ansible.builtin.apt:
     pkg:
     - samba
-- name: create  samba-directory
+- name: create samba-directory
   ansible.builtin.file:
     path: /srv/samba
     state: directory
   ansible.builtin.file:
     path: /srv/samba
     state: directory