neo4j_docker
Ansible Neo4j (Docker)
Install Neo4j (Docker)
This role is part of the Warhorse Automation Framework. This role can be used with Warhorse or as a standalone role.
Docker Image
Role Variables
A list of all the variables can be found in ./defaults/main.yml.
neo4j_dir
- Neo4j container directory
neo4j_docker_version
- Docker image version
neo4j_ports
- Neo4j container ports
neo4j_hostname
- Neo4j container hostname
neo4j_container_name
- neo4j container name
neo4j_username
- Neo4j username
neo4j_password
- Neo4j password
neo4j_docker_network
neo4j container docker network
Dependencies
ansible-galaxy install geerlingguy.docker geerlingguy.pip
Install
ansible-galaxy install warhorse.neo4j_docker
Example Playbook
- hosts: servers
roles:
- { role: warhorse.neo4j_docker }
Example Vars
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"
License
MIT/BSD
Author Information
Ralph May