Skip to content

Commit 68edf86

Browse files
Merge pull request #19 from MonolithProjects/develop
Develop Former-commit-id: 2e61b36
2 parents b024519 + 273e2d8 commit 68edf86

File tree

3 files changed

+40
-5
lines changed

3 files changed

+40
-5
lines changed

.github/workflows/main.yml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,41 @@ jobs:
1818
with:
1919
path: "${{ github.repository }}"
2020
- name: Molecule for Ansible
21-
uses: MonolithProjects/action-molecule@v1.0.1
21+
uses: MonolithProjects/action-molecule@v1.2.0
2222
env:
23-
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
23+
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
24+
25+
test_install:
26+
runs-on: ubuntu-latest
27+
needs: test
28+
strategy:
29+
fail-fast: false
30+
steps:
31+
- name: checkout
32+
uses: actions/checkout@v2
33+
with:
34+
path: "${{ github.repository }}"
35+
- name: Molecule for Ansible
36+
uses: MonolithProjects/[email protected]
37+
env:
38+
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
39+
with:
40+
molecule_command: converge
41+
42+
test_uninstall:
43+
runs-on: ubuntu-latest
44+
needs: test_install
45+
strategy:
46+
fail-fast: false
47+
steps:
48+
- name: checkout
49+
uses: actions/checkout@v2
50+
with:
51+
path: "${{ github.repository }}"
52+
- name: Molecule for Ansible
53+
uses: MonolithProjects/[email protected]
54+
env:
55+
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
56+
with:
57+
molecule_command: converge
58+
converge_tags: uninstall

molecule/default/requirements.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
- role: robertdebock.epel
33
version: master
4-
- role: monolithprojects.user_management
5-
version: master
4+
# - role: monolithprojects.user_management
5+
# version: master

tasks/install_deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
tags:
7070
- install
7171

72-
7372
- name: Install dependencies on RHEL/CentOS/Fedora systems
7473
package:
7574
name:
@@ -79,6 +78,7 @@
7978
- zlib
8079
- libicu
8180
state: present
81+
update_cache: yes
8282
when: (ansible_distribution == "RedHat") or
8383
(ansible_distribution == "CentOS") or
8484
(ansible_distribution == "Fedora")

0 commit comments

Comments
 (0)