ansible [core 2.13.1]
config file = /home/anxstj/.ansible.cfg
configured module search path = ['/home/anxstj/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /tmp/venv/lib/python3.10/site-packages/ansible
ansible collection location = /home/anxstj/.ansible/collections:/usr/share/ansible/collections
executable location = ../venv/bin/ansible
python version = 3.10.5 (main, Jun 9 2022, 00:00:00) [GCC 12.1.1 20220507 (Red Hat 12.1.1-1)]
jinja version = 3.1.2
libyaml = True
molecule 4.0.0 using python 3.10
ansible:2.13.1
delegated:4.0.0 from molecule
docker:1.1.0 from molecule_docker requiring collections: community.docker>=1.9.1
Molecule installation method (one of):
pip
Ansible installation method (one of):
pip
Desired Behavior
The verify stage should succeed.
Actual Behaviour
virtualenv venv
. venv/bin/activate
pip install molecule==4.0.0 molecule-docker molecule-goss
./venv/bin/molecule init role my.foo -d docker --verifier-name goss
cd foo
../venv/bin/molecule converge
../venv/bin/molecule verify
INFO Running default > verify
Traceback (most recent call last):
File "/tmp/foo/../venv/bin/molecule", line 8, in <module>
sys.exit(main())
File "/tmp/venv/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/tmp/venv/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/tmp/venv/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/tmp/venv/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmp/venv/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/tmp/venv/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/tmp/venv/lib/python3.10/site-packages/molecule/command/verify.py", line 91, in verify
base.execute_cmdline_scenarios(scenario_name, args, command_args)
File "/tmp/venv/lib/python3.10/site-packages/molecule/command/base.py", line 121, in execute_cmdline_scenarios
execute_scenario(scenario)
File "/tmp/venv/lib/python3.10/site-packages/molecule/command/base.py", line 165, in execute_scenario
execute_subcommand(scenario.config, action)
File "/tmp/venv/lib/python3.10/site-packages/molecule/command/base.py", line 154, in execute_subcommand
return command(config).execute(args)
File "/tmp/venv/lib/python3.10/site-packages/molecule/logger.py", line 188, in wrapper
rt = func(*args, **kwargs)
File "/tmp/venv/lib/python3.10/site-packages/molecule/command/verify.py", line 74, in execute
self._config.verifier.execute(action_args)
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Desired Behavior
The verify stage should succeed.
Actual Behaviour