Initial Import

This commit is contained in:
2021-05-06 07:04:29 +12:00
commit 42d8e11fc5
20 changed files with 555 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
---
# This is an example playbook to execute Ansible tests.
- name: Verify
hosts: all
tasks:
- name: Retrieve yum repofile
shell: cat /etc/yum.repos.d/almalinux.repo
ignore_errors: true
register: repofile
- name: baseurl is not defined
assert:
that:
- "'baseurl=' not in repofile.stdout"
- name: baseurl is defined
assert:
that:
- "'mirrorlist=' in repofile.stdout"