Open sxa opened 1 year ago
did ERROR! couldn't resolve module/action 'community.docker.docker_container.
happen on certain machine? which version of ansible is running there?
worth check whats in the $home/.ansible/collections/ansible_collections/ on that machine
did
ERROR! couldn't resolve module/action 'community.docker.docker_container.
happen on certain machine? which version of ansible is running there? worth check whats in the $home/.ansible/collections/ansible_collections/ on that machine
It's on a 'clean' (new install) of Ubuntu 20.04 with ansible 2.9.6 installed via the package manager. There is no collections
directory under ~/.ansible
so I think this newly installer machine need to have community plugins locally first.
e.g if run
ansible-galaxy collection install community.docker
, it downloads into $home/.ansible/collections/ansible_collections/community/docker
then playbook will be able to find community.docker.docker_container
Please put the name of the software product (and affected platforms if relevant) in the title of this issue
Delete as appropriate from this list:
Details: When I try to run the dockerhost.yml playbook I get a number of failures:
check_mem
download fails in Nagios_Plugins role - https://github.com/adoptium/infrastructure/issues/2810The task includes an option with an undefined variable. The error was: 'provider is undefined'
'ansible_port' is undefined
(FYI @steelhead31)DockerStatic
role failes as it saysERROR! couldn't resolve module/action 'community.docker.docker_container
. This may have been introduced by https://github.com/adoptium/infrastructure/pull/2544 (FYI @zdtsw @Willsparker @karianna)