Skip to content

Commit

Permalink
Add a very simple verifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Jan 31, 2020
1 parent 545571f commit 9edb25b
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
tags_ignore:
- '*'
schedule:
- cron: '28 17 10 * *'
- cron: '8 13 10 * *'

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
tags:
- '*'
schedule:
- cron: '7 15 11 * *'
- cron: '30 0 11 * *'

jobs:
release:
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ The machine you are running this on, may need to be prepared, I use this playboo
- robertdebock.bootstrap
```
After running this role, this playbook runs to verify that everything works, this may be a good example how you can use this role.
```yaml
---
- name: Verify
hosts: all
become: yes
gather_facts: yes

tasks:
- name: check if connection still works
ping:
```
Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.
Expand Down
5 changes: 5 additions & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,10 @@ provisioner:
defaults:
stdout_callback: yaml
bin_ansible_callbacks: yes
verifier:
name: ansible
lint:
name: ansible-lint
enabled: no
scenario:
name: default
9 changes: 9 additions & 0 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
- name: Verify
hosts: all
become: yes
gather_facts: yes

tasks:
- name: check if connection still works
ping:

0 comments on commit 9edb25b

Please sign in to comment.