Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devconfig: Replace import_tasks with include_tasks
On a fresh Fedora 40 system, under buildbot, the devconfig role fails: statically imported: /var/lib/buildbot/worker/renoir1/nfsd-fixes-nfsd-pynfs/build/playbooks/roles/devconfig/tasks/install-deps/main.yml statically imported: /var/lib/buildbot/worker/renoir1/nfsd-fixes-nfsd-pynfs/build/playbooks/roles/devconfig/tasks/install-deps/debian/main.yml statically imported: /var/lib/buildbot/worker/renoir1/nfsd-fixes-nfsd-pynfs/build/playbooks/roles/devconfig/tasks/install-deps/suse/main.yml redirecting (type: modules) ansible.builtin.zypper to community.general.zypper ERROR! couldn't resolve module/action 'zypper'. This often indicates a misspelling, missing collection, or incorrect module path. It shouldn't care about zypper, that's a Suse thing. Somewhere the os_family sensing logic has gone hay-wire. Handle this by using dynamic include_task instead of static import_task, and restructure the os_family checking task in install-deps/main.yml. Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
- Loading branch information