Skip to content

Commit

Permalink
Merge pull request #74 from ltalirz/add-test
Browse files Browse the repository at this point in the history
add test for dokku_global_cert
  • Loading branch information
josegonzalez authored Jul 15, 2020
2 parents 2ea5aa0 + 4e01f05 commit 3684c62
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
7 changes: 6 additions & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
- hosts: all
- name: Converge
hosts: all
become: true

pre_tasks:
Expand All @@ -9,3 +10,7 @@

roles:
- role: dokku_bot.ansible_dokku
vars:
dokku_plugins:
- name: global-cert
url: https://github.com/josegonzalez/dokku-global-cert
4 changes: 0 additions & 4 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,3 @@ provisioner:
name: ansible
playbooks:
converge: converge.yml
scenario:
name: default
verifier:
name: testinfra
12 changes: 12 additions & 0 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- name: Verify
hosts: all
become: true

tasks:
- name: Bare include (free-form)
include_vars: ../../defaults/main.yml

- name: Check that dokku_global_cert module can parse output
dokku_global_cert:
state: absent

0 comments on commit 3684c62

Please sign in to comment.