ansible-city.nginx

Nginx

Master: Build Status
Develop: Build Status

Installs nginx.

ansible.cfg

This role is designed to work with merge "hash_behaviour". Make sure your ansible.cfg contains these settings

[defaults]
hash_behaviour = merge

Installation and Dependencies

This role has no dependencies.

To install run ansible-galaxy install ansible-city.nginx or add this to your roles.yml

- src: ansible-city.nginx
  version: v1.0

and run ansible-galaxy install -p ./roles -r roles.yml

Tags

This role uses two tags: build and configure

  • build - Installs Nginx.
  • configure - (re-)Configures Nginx.

Examples

To simply install Java:

- name: Install Nginx
  hosts: sandbox

  pre_tasks:
    - name: Update apt
      become: yes
      apt:
        cache_valid_time: 1800
        update_cache: yes
      tags:
        - build

  roles:
    - role: ansible-city.nginx
About

nginx instalation

Install
ansible-galaxy install ansible-city.nginx
GitHub repository
License
mit
Downloads
154