You've already forked ansible-role-common
19 lines
355 B
YAML
19 lines
355 B
YAML
---
|
|
# 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
|