/ansible-role-nginx

Basic nginx installation with ansible

Install nginx with Ansible

Build Status

Very basic nginx installation with best practices concerning SSL/TLS and global Let's Encrypt, doesn't manage certs and vhosts therefore see certbot and nginx role.

See the full example for a complete playbook.

TODO

Requirements

None.

Example playbook

- hosts: all
  become: yes

  roles:
  - nginx

Role variables

None of the variables below are required.

Variable Default Comment

For all options see defaults/main.yml

Development

You can use the Vagrantfile for local testing, just install vagrant and virtualbox and execute the following commands:

vagrant up
vagrant provision

License

MIT