From ff750dd6657eea75eaeb75149b905557790a5c94 Mon Sep 17 00:00:00 2001 From: Christopher Palmer-Richez Date: Wed, 31 Jul 2024 23:22:51 -0400 Subject: [PATCH] More troubleshooting on dependency install. This commit moves the requirements.yml file back to the root dir (yes, I know I tried this already), and moves the test playbook to the playbooks dir, which is a standard collection root dir. This is meant to see if the playbook.yaml file is being linted without resolving dependencies, whereas a role might not? Note that the docs at https://ansible.readthedocs.io/projects/lint/usage/#dependencies-and-requirements conflict with the docs referenced in previous commits. The ansible-lint docs don't suggest that the requirements.yml file will be detected in roles//meta/requirements.yml. --- playbooks/playbook.yaml | 4 ++++ roles/uki_config/meta/requirements.yml => requirements.yml | 0 2 files changed, 4 insertions(+) create mode 100644 playbooks/playbook.yaml rename roles/uki_config/meta/requirements.yml => requirements.yml (100%) diff --git a/playbooks/playbook.yaml b/playbooks/playbook.yaml new file mode 100644 index 0000000..fe8fac1 --- /dev/null +++ b/playbooks/playbook.yaml @@ -0,0 +1,4 @@ +- name: Test playbook + hosts: test + roles: + - role: uki_config diff --git a/roles/uki_config/meta/requirements.yml b/requirements.yml similarity index 100% rename from roles/uki_config/meta/requirements.yml rename to requirements.yml