]> freie-schul-it.de Git - cookiecutter-fsit.git/commitdiff
erste Version fuer client_mgt
authorUllli <ullli@freie-schul-it.de>
Wed, 26 Nov 2025 16:01:13 +0000 (17:01 +0100)
committerUllli <ullli@freie-schul-it.de>
Wed, 26 Nov 2025 16:01:13 +0000 (17:01 +0100)
24 files changed:
client_mgt/cookiecutter.json [new file with mode: 0644]
client_mgt/{{ cookiecutter.project_slug }}/Makefile [new file with mode: 0644]
client_mgt/{{ cookiecutter.project_slug }}/ansible.cfg [new file with mode: 0644]
client_mgt/{{ cookiecutter.project_slug }}/group_vars/all.yml [new file with mode: 0644]
client_mgt/{{ cookiecutter.project_slug }}/group_vars/medienraum.yml [new file with mode: 0644]
client_mgt/{{ cookiecutter.project_slug }}/group_vars/testgruppe.yml [new file with mode: 0644]
client_mgt/{{ cookiecutter.project_slug }}/hosts [new file with mode: 0644]
client_mgt/{{ cookiecutter.project_slug }}/play.yml [new file with mode: 0644]
client_mgt/{{ cookiecutter.project_slug }}/roles/requirements.yml [new file with mode: 0644]
cookiecutter.json [new file with mode: 0644]
network_mgt/cookiecutter.json [new file with mode: 0644]
network_mgt/{{ cookiecutter.project_slug }}/Makefile [new file with mode: 0644]
network_mgt/{{ cookiecutter.project_slug }}/ansible.cfg [new file with mode: 0644]
network_mgt/{{ cookiecutter.project_slug }}/group_vars/all.yml [new file with mode: 0644]
network_mgt/{{ cookiecutter.project_slug }}/hosts [new file with mode: 0644]
network_mgt/{{ cookiecutter.project_slug }}/play.yml [new file with mode: 0644]
network_mgt/{{ cookiecutter.project_slug }}/roles/requirements.yml [new file with mode: 0644]
server_mgt/cookiecutter.json [new file with mode: 0644]
server_mgt/{{ cookiecutter.project_slug }}/Makefile [new file with mode: 0644]
server_mgt/{{ cookiecutter.project_slug }}/ansible.cfg [new file with mode: 0644]
server_mgt/{{ cookiecutter.project_slug }}/group_vars/all.yml [new file with mode: 0644]
server_mgt/{{ cookiecutter.project_slug }}/hosts [new file with mode: 0644]
server_mgt/{{ cookiecutter.project_slug }}/play.yml [new file with mode: 0644]
server_mgt/{{ cookiecutter.project_slug }}/roles/requirements.yml [new file with mode: 0644]

diff --git a/client_mgt/cookiecutter.json b/client_mgt/cookiecutter.json
new file mode 100644 (file)
index 0000000..ca73670
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "project_name": "Client Mgt",
+  "project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_') }}",
+  "author": "fsit",
+  "fsit_cmgt_aptproxy": "172.SchulNr.10.IP",
+  "fsit_cmgt_inventory": "inventar",
+  "fsit_cmgt_printserver": "druckerzentrale",
+  "fsit_cmgt_blocked_install_message": "Bitte wende Dich an die IT-AG.",
+  "fsit_cmgt_homepage_url": "http://startseite.freie-schul-it.de",
+  "fsit_cmgt_requested_locales": "'"de"'",
+  "fsit_cmgt_searchengine": "DuckDuckGo"
+}
diff --git a/client_mgt/{{ cookiecutter.project_slug }}/Makefile b/client_mgt/{{ cookiecutter.project_slug }}/Makefile
new file mode 100644 (file)
index 0000000..083f906
--- /dev/null
@@ -0,0 +1,3 @@
+all:
+       ansible-galaxy install -f -r roles/requirements.yml
+       ansible-playbook play.yml --diff
diff --git a/client_mgt/{{ cookiecutter.project_slug }}/ansible.cfg b/client_mgt/{{ cookiecutter.project_slug }}/ansible.cfg
new file mode 100644 (file)
index 0000000..aa937e8
--- /dev/null
@@ -0,0 +1,4 @@
+[defaults]
+inventory = ./hosts
+retry_files_enabled = True
+retry_files_save_path = retry-files
diff --git a/client_mgt/{{ cookiecutter.project_slug }}/group_vars/all.yml b/client_mgt/{{ cookiecutter.project_slug }}/group_vars/all.yml
new file mode 100644 (file)
index 0000000..43430c1
--- /dev/null
@@ -0,0 +1,9 @@
+---
+fsit_cmgt_aptproxy: {{ fsit_cmgt_aptproxy }}
+fsit_cmgt_inventory: {{ fsit_cmgt_inventory }}
+fsit_cmgt_printserver: {{ fsit_cmgt_printserver }}
+# firefox
+fsit_cmgt_blocked_install_message: {{ fsit_cmgt_blocked_install_message }}
+fsit_cmgt_homepage_url: {{ fsit_cmgt_homepage_url }}
+fsit_cmgt_requested_locales: {{ fsit_cmgt_requested_locales }}
+fsit_cmgt_searchengine: {{ fsit_cmgt_searchengine }}
diff --git a/client_mgt/{{ cookiecutter.project_slug }}/group_vars/medienraum.yml b/client_mgt/{{ cookiecutter.project_slug }}/group_vars/medienraum.yml
new file mode 100644 (file)
index 0000000..e14dbfe
--- /dev/null
@@ -0,0 +1,4 @@
+---
+fsit_cmgt_benutzername: medienraum
+fsit_cmgt_kommentar: Medienraum
+fsit_cmgt_is_sudoer: false
diff --git a/client_mgt/{{ cookiecutter.project_slug }}/group_vars/testgruppe.yml b/client_mgt/{{ cookiecutter.project_slug }}/group_vars/testgruppe.yml
new file mode 100644 (file)
index 0000000..2b8c5e6
--- /dev/null
@@ -0,0 +1,2 @@
+---
+fsit_cmgt_hallo: hier steht
diff --git a/client_mgt/{{ cookiecutter.project_slug }}/hosts b/client_mgt/{{ cookiecutter.project_slug }}/hosts
new file mode 100644 (file)
index 0000000..baa67e2
--- /dev/null
@@ -0,0 +1,32 @@
+[testgruppe]
+
+[buero]
+
+[notebooks_wlp2s0]
+
+[notebooks_wlp3s0]
+
+[notebooks_wlp4s0]
+
+[desktops]
+
+[medienraum]
+
+
+[notebooks:children]
+notebooks_wlp2s0
+notebooks_wlp3s0
+notebooks_wlp4s0
+
+# vars
+[notebooks_wlp2s0:vars]
+wifi_ifname=wlp2s0
+
+[notebooks_wlp3s0:vars]
+wifi_ifname=wlp3s0
+
+[notebooks_wlp4s0:vars]
+wifi_ifname=wlp4s0
+
+[all:vars]
+ansible_python_interpreter=/usr/bin/python3
diff --git a/client_mgt/{{ cookiecutter.project_slug }}/play.yml b/client_mgt/{{ cookiecutter.project_slug }}/play.yml
new file mode 100644 (file)
index 0000000..7f0182a
--- /dev/null
@@ -0,0 +1,8 @@
+---
+- name: Prepare clients for delivery
+  hosts: testgruppe medienraum
+  become: true
+  vars_files:
+    - ../password-file-clients.yml
+  roles:
+    - fsit_cmgt
diff --git a/client_mgt/{{ cookiecutter.project_slug }}/roles/requirements.yml b/client_mgt/{{ cookiecutter.project_slug }}/roles/requirements.yml
new file mode 100644 (file)
index 0000000..41f7248
--- /dev/null
@@ -0,0 +1,3 @@
+roles:
+  - name: fsit_cmgt
+    src: hit+https://freie-schul-it.de/gitweb/fsit_cmgt.git
diff --git a/cookiecutter.json b/cookiecutter.json
new file mode 100644 (file)
index 0000000..65284be
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "templates": {
+               "client_mgt": {
+                       "path": "./client_mgt",
+                       "title": "Client Mgt",
+                       "description": "Client-Managemt mit Ansible"
+               },
+               "server_mgt": {
+                       "path": "./server_mgt",
+                       "title": "Server Mgt",
+                       "description": "Server-Managemt mit Ansible"
+               }
+       }
+}
diff --git a/network_mgt/cookiecutter.json b/network_mgt/cookiecutter.json
new file mode 100644 (file)
index 0000000..ce3a592
--- /dev/null
@@ -0,0 +1,5 @@
+{
+  "project_name": "Network Mgt",
+  "project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_') }}",
+  "author": "fsit"
+}
diff --git a/network_mgt/{{ cookiecutter.project_slug }}/Makefile b/network_mgt/{{ cookiecutter.project_slug }}/Makefile
new file mode 100644 (file)
index 0000000..083f906
--- /dev/null
@@ -0,0 +1,3 @@
+all:
+       ansible-galaxy install -f -r roles/requirements.yml
+       ansible-playbook play.yml --diff
diff --git a/network_mgt/{{ cookiecutter.project_slug }}/ansible.cfg b/network_mgt/{{ cookiecutter.project_slug }}/ansible.cfg
new file mode 100644 (file)
index 0000000..aa937e8
--- /dev/null
@@ -0,0 +1,4 @@
+[defaults]
+inventory = ./hosts
+retry_files_enabled = True
+retry_files_save_path = retry-files
diff --git a/network_mgt/{{ cookiecutter.project_slug }}/group_vars/all.yml b/network_mgt/{{ cookiecutter.project_slug }}/group_vars/all.yml
new file mode 100644 (file)
index 0000000..f5d6958
--- /dev/null
@@ -0,0 +1,9 @@
+---
+fsit_cmgt_aptproxy: 192.168.9.8
+fsit_cmgt_inventory: inventar
+fsit_cmgt_printserver: druckerzentrale
+# firefox
+fsit_cmgt_blocked_install_message: Bitte wende Dich an die IT-AG.
+fsit_cmgt_homepage_url: http://startseite.alternativschule-berlin.de
+fsit_cmgt_requested_locales: '"de", "es-ES"'
+fsit_cmgt_searchengine: DuckDuckGo
diff --git a/network_mgt/{{ cookiecutter.project_slug }}/hosts b/network_mgt/{{ cookiecutter.project_slug }}/hosts
new file mode 100644 (file)
index 0000000..baa67e2
--- /dev/null
@@ -0,0 +1,32 @@
+[testgruppe]
+
+[buero]
+
+[notebooks_wlp2s0]
+
+[notebooks_wlp3s0]
+
+[notebooks_wlp4s0]
+
+[desktops]
+
+[medienraum]
+
+
+[notebooks:children]
+notebooks_wlp2s0
+notebooks_wlp3s0
+notebooks_wlp4s0
+
+# vars
+[notebooks_wlp2s0:vars]
+wifi_ifname=wlp2s0
+
+[notebooks_wlp3s0:vars]
+wifi_ifname=wlp3s0
+
+[notebooks_wlp4s0:vars]
+wifi_ifname=wlp4s0
+
+[all:vars]
+ansible_python_interpreter=/usr/bin/python3
diff --git a/network_mgt/{{ cookiecutter.project_slug }}/play.yml b/network_mgt/{{ cookiecutter.project_slug }}/play.yml
new file mode 100644 (file)
index 0000000..7f0182a
--- /dev/null
@@ -0,0 +1,8 @@
+---
+- name: Prepare clients for delivery
+  hosts: testgruppe medienraum
+  become: true
+  vars_files:
+    - ../password-file-clients.yml
+  roles:
+    - fsit_cmgt
diff --git a/network_mgt/{{ cookiecutter.project_slug }}/roles/requirements.yml b/network_mgt/{{ cookiecutter.project_slug }}/roles/requirements.yml
new file mode 100644 (file)
index 0000000..41f7248
--- /dev/null
@@ -0,0 +1,3 @@
+roles:
+  - name: fsit_cmgt
+    src: hit+https://freie-schul-it.de/gitweb/fsit_cmgt.git
diff --git a/server_mgt/cookiecutter.json b/server_mgt/cookiecutter.json
new file mode 100644 (file)
index 0000000..da6f908
--- /dev/null
@@ -0,0 +1,5 @@
+{
+  "project_name": "Server Mgt",
+  "project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_') }}",
+  "author": "fsit"
+}
diff --git a/server_mgt/{{ cookiecutter.project_slug }}/Makefile b/server_mgt/{{ cookiecutter.project_slug }}/Makefile
new file mode 100644 (file)
index 0000000..083f906
--- /dev/null
@@ -0,0 +1,3 @@
+all:
+       ansible-galaxy install -f -r roles/requirements.yml
+       ansible-playbook play.yml --diff
diff --git a/server_mgt/{{ cookiecutter.project_slug }}/ansible.cfg b/server_mgt/{{ cookiecutter.project_slug }}/ansible.cfg
new file mode 100644 (file)
index 0000000..aa937e8
--- /dev/null
@@ -0,0 +1,4 @@
+[defaults]
+inventory = ./hosts
+retry_files_enabled = True
+retry_files_save_path = retry-files
diff --git a/server_mgt/{{ cookiecutter.project_slug }}/group_vars/all.yml b/server_mgt/{{ cookiecutter.project_slug }}/group_vars/all.yml
new file mode 100644 (file)
index 0000000..f5d6958
--- /dev/null
@@ -0,0 +1,9 @@
+---
+fsit_cmgt_aptproxy: 192.168.9.8
+fsit_cmgt_inventory: inventar
+fsit_cmgt_printserver: druckerzentrale
+# firefox
+fsit_cmgt_blocked_install_message: Bitte wende Dich an die IT-AG.
+fsit_cmgt_homepage_url: http://startseite.alternativschule-berlin.de
+fsit_cmgt_requested_locales: '"de", "es-ES"'
+fsit_cmgt_searchengine: DuckDuckGo
diff --git a/server_mgt/{{ cookiecutter.project_slug }}/hosts b/server_mgt/{{ cookiecutter.project_slug }}/hosts
new file mode 100644 (file)
index 0000000..baa67e2
--- /dev/null
@@ -0,0 +1,32 @@
+[testgruppe]
+
+[buero]
+
+[notebooks_wlp2s0]
+
+[notebooks_wlp3s0]
+
+[notebooks_wlp4s0]
+
+[desktops]
+
+[medienraum]
+
+
+[notebooks:children]
+notebooks_wlp2s0
+notebooks_wlp3s0
+notebooks_wlp4s0
+
+# vars
+[notebooks_wlp2s0:vars]
+wifi_ifname=wlp2s0
+
+[notebooks_wlp3s0:vars]
+wifi_ifname=wlp3s0
+
+[notebooks_wlp4s0:vars]
+wifi_ifname=wlp4s0
+
+[all:vars]
+ansible_python_interpreter=/usr/bin/python3
diff --git a/server_mgt/{{ cookiecutter.project_slug }}/play.yml b/server_mgt/{{ cookiecutter.project_slug }}/play.yml
new file mode 100644 (file)
index 0000000..7f0182a
--- /dev/null
@@ -0,0 +1,8 @@
+---
+- name: Prepare clients for delivery
+  hosts: testgruppe medienraum
+  become: true
+  vars_files:
+    - ../password-file-clients.yml
+  roles:
+    - fsit_cmgt
diff --git a/server_mgt/{{ cookiecutter.project_slug }}/roles/requirements.yml b/server_mgt/{{ cookiecutter.project_slug }}/roles/requirements.yml
new file mode 100644 (file)
index 0000000..41f7248
--- /dev/null
@@ -0,0 +1,3 @@
+roles:
+  - name: fsit_cmgt
+    src: hit+https://freie-schul-it.de/gitweb/fsit_cmgt.git