Skip to content

infOpen-Deployments/ansible-role-compose-nginx-proxy

Repository files navigation

nginx-proxy

Install nginx-proxy package.

Requirements

This role requires Ansible 2.5 or higher, and platform requirements are listed in the metadata file.

Testing

This role use Molecule to run tests.

Local tests runs on Docker by default. See molecule documentation to use other backend.

Currently, tests are done on:

  • CentOS 7
  • Debian Stretch
  • Ubuntu Bionic

and use:

  • Ansible 2.5.x
  • Ansible 2.6.x

Running tests

Using Docker driver

$ tox

You can also configure molecule options and molecule command using environment variables:

  • MOLECULE_OPTIONS Default: "--debug"
  • MOLECULE_COMMAND Default: "test"
$ MOLECULE_OPTIONS='' MOLECULE_COMMAND=converge tox

Role Variables

Default role variables

Dependencies

None

Example Playbook

- hosts: servers
  roles:
    - { role: infopen.nginx-proxy }

License

''

Author Information

Alexandre Chaussier (for Infopen company)

About

Ansible role to deploy compose Nginx proxy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages