]> freie-schul-it.de Git - fsit_smgt.git/blobdiff - tasks/main.yml
sudo nur mit apt_cache update installierbar
[fsit_smgt.git] / tasks / main.yml
index c5c91f4c327ccf02e4b861385079e6820b337aff..fa1dd15dd1571cdbf3248edce62528ae7e63a661 100644 (file)
@@ -1,5 +1,18 @@
 ---
 - name: Include bootstrap
-  ansible.builtin.include_tasks: bootstrap.yml
-#- name: Include inventory (last task)
-#  ansible.builtin.include_tasks: inventory.yml
+  block:
+  - ansible.builtin.include_tasks: bootstrap.yml
+  remote_user: root
+- name: OpenLDAP-Server
+  ansible.builtin.include_tasks: openldap.yml
+  when: ldap in group_names 
+- name: Samba-Fileserver
+  ansible.builtin.include_tasks: samba.yml
+  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