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.
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