pull: do not install nginx
authorKristof Provost <kp@FreeBSD.org>
Mon, 29 Apr 2024 21:50:40 +0000 (23:50 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 29 Apr 2024 21:50:40 +0000 (23:50 +0200)
Don't install nginx from the pull playbook.
Not all systems need nginx, and anyway, the pull playbook really only needs to
ensure we can connect back to the systems.

ansible/playbook-pull.yaml

index 7ce3aa3..45f27a9 100644 (file)
       community.general.sysrc:
         name: http_port
         value: "{{ http_port }}"
-    - name: Install nginx
-      community.general.pkgng:
-        name: nginx
-        state: present
-      become: true
-    - name: Enable nginx
-      community.general.sysrc:
-        name: nginx_enable
-        value: "YES"
-      become: true
-    - name: Start nginx
-      ansible.builtin.service:
-        name: nginx
-        state: started
-      become: true