ubzyhd.nginx

Ansible Role: NGINX

role: ubzyhd.nginx

Description from Ansible

GitHub release GitHub tag

HitCount

Contents

Role Info & Build Status

Branch Master Development
Build Status: travis-ci build status
Ansible Version: https://galaxy.ansible.com/ubzyhd/nginx
Statistics: https://galaxy.ansible.com/ubzyhd/nginx
https://galaxy.ansible.com/ubzyhd/nginx
https://galaxy.ansible.com/ubzyhd/nginx
https://galaxy.ansible.com/ubzyhd/nginx

Supported OS's

Debian:

  • 10 - Buster
  • 9 - Jessie

Role Variables

This role has no variables.

Example Playbook

An example playbook with all the variables can be found called example-playbook-nginx.yml

or here:

---
- name: UbzyHD.NGINX Example Playbook
  hosts: all
  order: sorted

  gather_facts: true
  any_errors_fatal: true

  pre_tasks:

    - name: UbzyHD.NGINX Example Playbook | Pinging hosts.
      action: ping

    - name: UbzyHD.NGINX Example Playbook | Install Python if not already present.
      raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
      changed_when: false

    - name: UbzyHD.NGINX Example Playbook | Gather facts after Python is definitely present.
      setup:

  roles:
    - ubzyhd.nginx

License

MIT

Author Information

This role was created by Ubzy

Credits

Jeff Geerling:

Without using his roles as the basis for mine, it wouldn't have been possible for me to create them.

About

A ansible role to install NGINX + apply basic security and hardening settings.

Install
ansible-galaxy install ubzyhd.nginx
GitHub repository
License
mit
Downloads
174
Owner