]> freie-schul-it.de Git - fsit_smgt.git/commitdiff
Task fuer Nginx hinzugefuegt
authorUllli <ullli@freie-schul-it.de>
Thu, 4 Jun 2026 14:14:21 +0000 (16:14 +0200)
committerUllli <ullli@freie-schul-it.de>
Thu, 4 Jun 2026 14:14:21 +0000 (16:14 +0200)
tasks/main.yml
tasks/nginx.yml [new file with mode: 0644]

index 0dc7820e5c0af0d978f728fcb8120bf1263a2138..c7ba7fa00159c74ff51ac975369775d6ced2d66d 100644 (file)
@@ -73,6 +73,9 @@
 - name: Cups - Druckerzentrale
   ansible.builtin.include_tasks: cups.yml
   when: ("cups" in group_names)
 - name: Cups - Druckerzentrale
   ansible.builtin.include_tasks: cups.yml
   when: ("cups" in group_names)
+- name: Nginx - Webserver und oder Reverseproxy
+  ansible.builtin.include_tasks: nginx.yml
+  when: ("nginx" in group_names)
 # inventroy lieber mit ansible-cmd
 # Inventory immer als letztes
 #- name: Include inventory (last task)
 # inventroy lieber mit ansible-cmd
 # Inventory immer als letztes
 #- name: Include inventory (last task)
diff --git a/tasks/nginx.yml b/tasks/nginx.yml
new file mode 100644 (file)
index 0000000..ecefac9
--- /dev/null
@@ -0,0 +1,8 @@
+---
+- name: install server specific packages
+  ansible.builtin.apt:
+    pkg:
+      - nginx
+      - nginx-extras
+      - certbot
+      - python3-certbot-nginx