Files
ansible-role-repo-raven/molecule/proxy/verify.yml
2021-06-23 12:12:07 +12:00

30 lines
580 B
YAML

---
# This is an example playbook to execute Ansible tests.
- name: Verify
hosts: all
gather_facts: false
tasks:
- name: Get ravens config
shell: cat /etc/yum.repos.d/raven*
register: hellfire
- debug:
msg: "{{ hellfire.stdout_lines }}"
- name: Check available packages
shell: dnf --enablerepo raven search itk
register: shellout
- debug:
msg: "{{ shellout.stdout }}"
- name: install httpd-itk
dnf:
name: httpd-itk
update_cache: true
state: installed
- name: Example assertion
assert:
that: true