You've already forked ansible-role-common
Add molecule scenario
This commit is contained in:
18
molecule/default/verify.yml
Normal file
18
molecule/default/verify.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
# This is an example playbook to execute Ansible tests.
|
||||
|
||||
- name: Verify
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Capture output of dynamic motd
|
||||
command: /usr/local/bin/dynmotd
|
||||
register: motd
|
||||
changed_when: false
|
||||
|
||||
- debug:
|
||||
msg: "{{ motd.stdout.split('\n') }}"
|
||||
|
||||
- name: Example assertion
|
||||
assert:
|
||||
that: true
|
||||
Reference in New Issue
Block a user