I have the following play snippet:
27 - name: ensure necessary packages are installed 28 apt: 29 state: present 30 name: 31 - apache2 32 - libapache2-mod-rpaf 33 - nginx
I don't run IPv6 (LAN) so I have
ipv6.disable=1 in my boot args. When Ansible installs Nginx, it defaults to listening on
listen [::]:80 default_server; and returns an error in the play. How can I tell Ansible/apt not to start Nginx (or any service for that matter.. probably the same story with Apache) when installing the package?