Skip to content

Commit

Permalink
Merge pull request #13 from kevincoakley/molecule-update
Browse files Browse the repository at this point in the history
4.0.3
  • Loading branch information
kevincoakley authored Apr 10, 2020
2 parents 2779bfe + 05cbc76 commit 87efbfa
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/molecule-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install molecule docker
pip install ansible-lint flake8 molecule docker
- name: Test with molecule
run: |
molecule test --all
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ansible-role-neo4j

![](https://github.com/kevincoakley/ansible-role-neo4j/workflows/Molecule%20Test/badge.svg)

Install Neo4j - https://www.neo4j.com . Tested with Neo4j 3.5.14 on CentOS 7, CentOS 8 and Ubuntu 18.04.
Install Neo4j - https://www.neo4j.com . Tested with Neo4j 4.0.3 on CentOS 7, CentOS 8 and Ubuntu 18.04.

Requirements
------------
Expand Down
File renamed without changes.
9 changes: 5 additions & 4 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ dependency:
name: galaxy
driver:
name: docker
lint:
name: yamllint
options:
config-file: molecule/default/yaml-lint.yml
lint: |
set -e
yamllint -c molecule/yaml-lint.yml .
ansible-lint
flake8
platforms:
- name: instance
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
Expand Down
File renamed without changes.
9 changes: 7 additions & 2 deletions tasks/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@
when:
- ansible_distribution == 'Ubuntu'

- name: Update repositories cache
apt:
update_cache: true

- name: Install Required Ubuntu Packages
package:
name: "{{ item }}"
state: present
with_items:
- openjdk-8-jdk
- openjdk-11-jdk
- apt-transport-https
- gpg-agent

- name: Import the signing key for the Neo Technology Debian repository for Neo4j
apt_key:
Expand All @@ -23,6 +28,6 @@

- name: Add the Neo Technology Debian repository for Neo4j
apt_repository:
repo: "deb https://debian.neo4j.org/repo stable/"
repo: "deb https://debian.neo4j.com stable latest"
state: present
update_cache: true
10 changes: 6 additions & 4 deletions tasks/RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
- name: Install which
- name: Install Required RedHat Packages
package:
name: which
name: "{{ item }}"
state: present
with_items:
- which

- name: Add Neo4j Yum Repo
yum_repository:
name: neo4j
description: Neo4j Yum Repo
baseurl: http://yum.neo4j.org/stable
gpgkey: http://debian.neo4j.org/neotechnology.gpg.key
baseurl: https://yum.neo4j.com/stable
gpgkey: https://debian.neo4j.com/neotechnology.gpg.key
gpgcheck: true

0 comments on commit 87efbfa

Please sign in to comment.