ansible-city.nginx
Nginx
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
Install
ansible-galaxy install ansible-city.nginxLicense
mit
Downloads
154
Owner
