The meta information of the opentelemetry_collector role should only install the dependencies if collector_is_containerized equals to false. Currently, if the user defines it, whether to true or false it will try to run the dependencies:
dependencies:
- role: 'geerlingguy.pip'
when: collector_is_containerized
vars:
pip_install_packages:
- docker
- { role: 'geerlingguy.docker', when: collector_is_containerized }
The meta information of the
opentelemetry_collectorrole should only install the dependencies ifcollector_is_containerizedequals to false. Currently, if the user defines it, whether to true or false it will try to run the dependencies: