Role install and configure nginx.
Default variables for that role
nginx_purge: false
Variable set to get default ansible variable form inventory ansible_port
ssh_port: "{{ ansible_port }}"
Other variables for that role:
nginx_version: "1.10.3"
nginx_packages:
- { name: "nginx", version: "{{ nginx_version }}", state: "present" }
- hosts: servers
roles:
- { role: kilerkarol.nginx, tag: nginx }
BSD
Karol Kieglerski