N/B: Cross-dependencies with https://pagure.io/standard-test-roles/pull-request/39
Signed-off-by: Chris Evich cevich@redhat.com
I'm not 100% sure how this is supposed to be used, but I ran into a couple things during my first attempt to see if I could run it. See the code review comments that follow.
Ansible complains that Name isn't a valid attribute for a task. Surely you meant name in lower casel.
Name
name
The dnf after $(...) and before install shouldn't be there, otherwise it's trying to execute something like dnf dnf install ...
dnf
$(...)
install
dnf dnf install ...
It's not safe to have the same variable name on both sides. If you don't explicitly define artifacts before running this playbook, ansible explodes with something like:
artifacts
TASK [Make artifacts directory] ***************************************************************************************************************************************fatal: [localhost]: FAILED! => {"failed": true, "msg": "{{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", True)) }}: {{ artifacts | default(lookup(\"env\", \"TEST_ARTIFACTS\") | default(\"./artifacts\", Tru e)) }}: {{ artifacts...
I'm considering dropping this PR, all that and leaving it for someone else. I'm not sure this is even the right place for it, or if in dist-git is better. Lastly, time...uggg...time. Probably better focus on finishing #39 for now.
Pull-Request has been closed by cevich
N/B: Cross-dependencies with https://pagure.io/standard-test-roles/pull-request/39
Signed-off-by: Chris Evich cevich@redhat.com