Install Nginx (Docker)
This role is part of the Warhorse Automation Framework. This role can be used with Warhorse or as a standalone role.
A list of all the variables can be found in ./defaults/main.yml.
nginx_dir
- Nginx container directory
nginx_docker_version
- Nginx image version
nginx_ports
- Nginx container ports
nginx_hostname
- Nginx container hostname
nginx_container_name
- Nginx container name
nginx_docker_image
- Neo4j username
neo4j_password
- Neo4j password
nginx_docker_network
neo4j container docker network
ansible-galaxy install geerlingguy.docker geerlingguy.pip
ansible-galaxy install warhorse.nginx_docker
- hosts: servers
roles:
- { role: warhorse.nginx_docker }
neo4j_hostname: "neo4j"
neo4j_container_name: "neo4j"
neo4j_docker_version: "latest"
neo4j_username: "neo4j"
neo4j_password: "password"
neo4j_docker_labels: {}
neo4j_docker_network: "neo4j"
neo4j_dir: '/opt/docker/neo4j'
neo4j_ports:
- "7474:7474"
- "7687:7687"
MIT/BSD
Ralph May