{"id":21721362,"url":"https://github.com/informaticsmatters/docker-neo4j-ansible","last_synced_at":"2026-04-13T00:02:08.824Z","repository":{"id":43679438,"uuid":"222464035","full_name":"InformaticsMatters/docker-neo4j-ansible","owner":"InformaticsMatters","description":"Ansible Playbooks (and Roles) for docker-neo4j","archived":false,"fork":false,"pushed_at":"2025-02-20T10:22:06.000Z","size":104,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-20T11:25:28.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InformaticsMatters.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-18T14:08:16.000Z","updated_at":"2025-02-20T10:18:08.000Z","dependencies_parsed_at":"2024-11-12T12:18:49.516Z","dependency_job_id":"6cdd0980-34a3-449a-93b8-864eb0efa3df","html_url":"https://github.com/InformaticsMatters/docker-neo4j-ansible","commit_stats":null,"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fdocker-neo4j-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fdocker-neo4j-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fdocker-neo4j-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fdocker-neo4j-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InformaticsMatters","download_url":"https://codeload.github.com/InformaticsMatters/docker-neo4j-ansible/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244693750,"owners_count":20494503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T02:16:02.826Z","updated_at":"2026-04-13T00:02:08.746Z","avatar_url":"https://github.com/InformaticsMatters.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker neo4j (Ansible)\n\n![lint](https://github.com/InformaticsMatters/docker-neo4j-ansible/workflows/lint/badge.svg)\n\n![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/informaticsmatters/docker-neo4j-ansible)\n\n[![CodeFactor](https://www.codefactor.io/repository/github/informaticsmatters/docker-neo4j-ansible/badge)](https://www.codefactor.io/repository/github/informaticsmatters/docker-neo4j-ansible)\n\nAnsible Playbooks (and Roles) for our [docker-neo4j] project.\n\nThe main `site` playbook allows for the deployment (and removal)\nof a neo4j server and fragment network. The playbook employs the\ndocker-neo4j loader image to pull data from S3 prior to starting\na neo4j instance using the data.\n\nInspect `roles/graph/defaults/main.yaml` in order to configure the\ndeployment for your needs.\n\n\u003e   This role expects AWS and Kubernetes credentials, which are\n    normally _injected_ into the play by our Ansible AWX (Tower) server.\n\n## Usage\nRun the same ansible the AWX server is likely to be running\n(ideally from within a virtual environment)...\n\n    $ conda activate docker-neo4j-ansible\n    $ pip install -r requirements.txt\n\nDeclare cluster credentials that, for Kubernetes, consist of a `HOST`\nand an `API_KEY`: -\n\n    $ export K8S_AUTH_HOST=https://1.2.3.4:6443\n    $ export K8S_AUTH_API_KEY=kubeconfig-user-tb4rm.c-tbgrt:12345678\n    $ export K8S_AUTH_VERIFY_SSL=No \n\n\u003e   The host and API key typically come from the kube config file,\n    the API coming from the user token.\n\nYou'll also need AWS credentials to allow the graph loader container,\npart of the graph deployment, to access the graph data. The credentials\nmust give you permission to execute `s3:Get*` and `s3:List*`\nactions in your chosen graph bucket and path: -\n\n    $ export AWS_ACCESS_KEY_ID=1234\n    $ export AWS_SECRET_ACCESS_KEY=abcdefghi\n\nYou might want to create a `parameters.yaml` file from the\n`parameter-template.yaml` example. Adjust the values to suite\nyour needs and then, with AWS credentials set,\nyou should be able to run the main playbook: -\n\n    $ ansible-playbook -e @parameters.yaml site.yaml\n\n\u003e   The `ansible.cfg` and `inventory.yaml` files exist simply to avoid\n    playbook warnings when running from the command-line within this project.\n    When run from AWX (Ansible Tower) a 'real' inventory will be provided\n    and `ansible.cfg` and `inventory.yaml` become unnecessary.\n\n## Using private registries\nIf you've moved the graph and loader images to your own private registry\nthen you may need to provide a pull-secret for them. A variable is available\nto define the image pull-secret name.\n\nYou will need to provide your own value for `graph_image_registry`\nand then the name of your pull-secret.\n\nFor more detailed information refer to the documentation for the\n`all_image_preset_pullsecret_name` variable in `roles/graph/defaults/main.yaml`.\n\n---\n\n[docker-neo4j]: https://github.com/InformaticsMatters/docker-neo4j\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformaticsmatters%2Fdocker-neo4j-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finformaticsmatters%2Fdocker-neo4j-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformaticsmatters%2Fdocker-neo4j-ansible/lists"}