Follow-up from "Limiting Docs problems" PNG copy error
The following discussion from !486 (merged) should be addressed:
-
@kpoppel started a discussion: (+1 comment) As for the images, the problem is right here: https://gitlab.com/NickBusey/HomelabOS/-/blob/dev/roles/docs/tasks/main.yml#L35
This task moves all files in docs/ through template expansion. But, this includes all files, not only .md ones. To fix it, add and file is match(".*.md")``as well as another task to copy the non .md files over. See also: https://docs.ansible.com/ansible/latest/user_guide/playbooks_tests.html
Edited by Ghost User