This role do a simple install of latest Nginx Web Werver from official repo, on Centos/Rhel 6/7 and Ubuntu.
This Ansible playbook is meant to be run on a FRESH never used server, virtual machine or container.
vars/:*
Debian.yml
RedHat.yml
None.
None.
Example with prompt:
- hosts: "{{ vm }}"
gather_facts: True
vars_prompt:
- name: "vm"
prompt: "VM"
private: no
roles:
- { role: squintans.nginx }
ansible-playbook -i inventory.yml play.yml
GPLv2
This role was created in 2019 by Serafín Quintáns - @squintans