Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/molecule-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Molecule Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4

env:
ANSIBLE_FORCE_COLOR: true

steps:
- uses: actions/checkout@v2
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ansible molecule docker molecule-docker pytest pytest-testinfra
- name: Show versions
run: |
python --version
docker --version
ansible --version
- name: Test with molecule
run: |
molecule test --all
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .yamllint

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Ansible User Management Role
====

[![Build Status](https://travis-ci.com/Rickkwa/ansible-user-management.svg?branch=master)](https://travis-ci.com/Rickkwa/ansible-user-management)
[![Ansible Role](https://img.shields.io/ansible/role/d/27347.svg)](https://galaxy.ansible.com/rickkwa/user_management)
[![license](https://img.shields.io/github/license/Rickkwa/ansible-user-management.svg)](https://github.com/Rickkwa/ansible-user-management/blob/master/LICENSE.md)

Expand Down
2 changes: 2 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
galaxy_info:
author: Ricky Kwan
description: "Manages user accounts, groups, and sudoers using a centralized user/group inventory."
role_name: "user_management"
namespace: "rickkwa"
license: "MIT"
min_ansible_version: 2.5
category:
Expand Down
7 changes: 0 additions & 7 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,7 @@ platforms:
privileged: true
driver:
name: docker
lint:
name: yamllint
provisioner:
name: ansible
lint:
name: ansible-lint
log: true
verifier:
name: testinfra
lint:
name: flake8
7 changes: 0 additions & 7 deletions molecule/delete-user-group/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,7 @@ platforms:
privileged: true
driver:
name: docker
lint:
name: yamllint
provisioner:
name: ansible
lint:
name: ansible-lint
log: true
verifier:
name: testinfra
lint:
name: flake8