When using community.general.pipx and the loop for the 3 tools, the source: declaration is referring to item.url and the loop was declaring the git pull under url.
Based on the Ansible docs for the module, it's looking for the git pull in a variable called source instead.
This causes a syntax error when running the playbook that points to "item", which isn't very helpful but gave enough information to know the variables were affected.
source: "{{item.url }}"
should be
source: "{{ item.source }}"
loop:\n - { name: 'example', url: 'git+https://github.com/example' }
should be
loop:\n - { name: 'example', source: 'git+https://github.com/example' }
When using community.general.pipx and the loop for the 3 tools, the
source:
declaration is referring toitem.url
and the loop was declaring the git pull underurl
. Based on the Ansible docs for the module, it's looking for the git pull in a variable calledsource
instead. This causes a syntax error when running the playbook that points to "item", which isn't very helpful but gave enough information to know the variables were affected.source: "{{item.url }}"
should besource: "{{ item.source }}"
loop:\n - { name: 'example', url: 'git+https://github.com/example' }
should beloop:\n - { name: 'example', source: 'git+https://github.com/example' }