hello -
i was looking at this feature request regarding using ansible-pull
alongside ansible-galaxy
roles. there was a related PR that looked promising but the issue was closed with the following rationale:
Since you can run multiple playbooks with
ansible-pull
, the first playbook can set up any requirements. You can callansible-galaxy
from the setup playbook.
this sounded like a good solution but, unless i’m misunderstanding or missing something, it does not work in practice. while ansible-pull --help
and its man page imply that multiple playbooks may be passed in, when i attempt it only the first one is run and any additional are ignored. i’m running an older version of ansible but the relevant code does not appear to have changed.
if the issue was closed with the expectation that e.g., ansible-pull [...] install-galaxy-roles.yml local.yml
was a solution i believe it was done so in error. in that case can issue 76535 be re-examined and/or reopened? the ansible-pull
manpage/–help could be updated to clarify this as well.
thanks in advance.
andy