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
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
name: ci

on: [push, pull_request]
on:
- push
- pull_request

jobs:
test-role:
Expand Down
15 changes: 8 additions & 7 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
---
dependency:
name: galaxy
requirements_file: molecule/default/requirements.yml
driver:
name: docker
lint: |
set -e
yamllint .
ansible-lint -x 503
platforms:
- name: instance
image: "${DOCKER_IMAGE:-marvelnccr/ubuntu-docker-base}:${DOCKER_IMAGE_VERSION:-latest}"
Expand All @@ -17,6 +14,10 @@ provisioner:
name: ansible
playbooks:
converge: converge.yml
requirements_file: requirements.yml
options:
v: true
config_options:
defaults:
# nicer stdout printing
stdout_callback: yaml
bin_ansible_callbacks: true
# add timing to tasks
callback_whitelist: profile_tasks
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# for running
ansible>=2.7
ansible~=6.2.0
# for testing
molecule~=3.0
docker
molecule[docker]~=3.6.1
docker~=5.0.3
# for linting
yamllint
ansible-lint
molecule-docker