Skip to content

Commit

Permalink
Merge pull request #19 from MonolithProjects/develop
Browse files Browse the repository at this point in the history
Develop

Former-commit-id: 2e61b36
  • Loading branch information
MonolithProjects authored Jun 14, 2020
2 parents b024519 + 273e2d8 commit 68edf86
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 5 deletions.
39 changes: 37 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,41 @@ jobs:
with:
path: "${{ github.repository }}"
- name: Molecule for Ansible
uses: MonolithProjects/action-molecule@v1.0.1
uses: MonolithProjects/action-molecule@v1.2.0
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

test_install:
runs-on: ubuntu-latest
needs: test
strategy:
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- name: Molecule for Ansible
uses: MonolithProjects/[email protected]
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
molecule_command: converge

test_uninstall:
runs-on: ubuntu-latest
needs: test_install
strategy:
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- name: Molecule for Ansible
uses: MonolithProjects/[email protected]
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
molecule_command: converge
converge_tags: uninstall
4 changes: 2 additions & 2 deletions molecule/default/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- role: robertdebock.epel
version: master
- role: monolithprojects.user_management
version: master
# - role: monolithprojects.user_management
# version: master
2 changes: 1 addition & 1 deletion tasks/install_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
tags:
- install


- name: Install dependencies on RHEL/CentOS/Fedora systems
package:
name:
Expand All @@ -79,6 +78,7 @@
- zlib
- libicu
state: present
update_cache: yes
when: (ansible_distribution == "RedHat") or
(ansible_distribution == "CentOS") or
(ansible_distribution == "Fedora")
Expand Down

0 comments on commit 68edf86

Please sign in to comment.