Role Dependency hell?

18 views
Skip to first unread message

Larry Gadallah

unread,
Feb 2, 2022, 10:19:23 PM2/2/22
to Ansible Project
Short version: I have a subordinate role that works fine in it's own CI and test, for all tested distros. I have a superior role that is dependent on the subordinate role, and is tested for all of the same distros. I get a weird failure for some of the distros in the CI and test during the prepare stage, when the subordinate role is being invoked, and it fails, even though it passes for the same distro in its own CI and test. Details here:


Does anyone know how to debug or figure out what's going on here?

Thanks,

Larry Gadallah

unread,
Feb 3, 2022, 1:25:55 AM2/3/22
to Ansible Project

Answered my own question: My `converge` playbook had some pre_tasks set up to to an `apt-get update` for Debian-based distros. Once I moved that out of the `converge` to the `prepare` playbook, things started working as expected.

Thanks!

Reply all
Reply to author
Forward
0 new messages