Package Details: molecule 3.0a5-1

Git Clone URL: https://aur.archlinux.org/molecule.git (read-only, click to copy)
Package Base: molecule
Description: aids in the development and testing of Ansible roles.
Upstream URL: https://github.com/ansible/molecule
Licenses: MIT
Submitter: Foxboron
Maintainer: dncrash
Last Packager: dncrash
Votes: 5
Popularity: 0.020464
First Submitted: 2017-07-30 17:00
Last Updated: 2020-01-21 10:20

Latest Comments

1 2 3 Next › Last »

gardar commented on 2020-01-14 12:45

Current version is missing a few dependencies to run:

python-anyconfig-0.9.10 : https://gist.github.com/gardar/bb7be497a20ecca19e6d7cad0401ac39
python-pre-commit
python-pytest
python-testinfra-3.4.0 : https://gist.github.com/gardar/f198cad0501ecd3619bdbe2924f843a7

mathieu.clabaut commented on 2019-12-12 16:32

Anyconfig was removed 28 days ago by PR https://github.com/ansible/molecule/pull/2437. So I guess the next release will solve the problem !

dncrash commented on 2019-12-11 00:51

I updated the package to 3.0a4 (there were issues with building the latest stable release 2.22), but python-anyconfig fails to install for me (pip could be an alternative way of getting it). I posted a comment on that package's page and hopefully it will get fixed.

thumbless commented on 2019-11-14 18:52

After latest update.

Traceback (most recent call last): File "/usr/bin/molecule", line 6, in <module> from molecule.shell import main ModuleNotFoundError: No module named 'molecule'

pacman -Qqo /usr/lib/python3.7/ | yay -S -

AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT' ERROR: InvocationError for command /usr/bin/bash pkg/runtest.sh (exited with code 1) ____________________ summary ______________________ py2: commands succeeded ERROR: py3: commands failed ==> ERROR: A failure occurred in check().

dncrash commented on 2019-09-25 08:14

@korrat It's still 2.20.2 for me. I tried updating to 2.22 but there are some problems with the python-tree-frormat dependency (I think the one in the AUR is out of date).

korrat commented on 2019-09-23 11:23

@dncrash it works flawlessly now. Thanks for your quick response and sorry for taking so long. One curious thing though: For me molecule --version returns 2.22. Can you reproduce that or is my environment messed up?

@thumbless that's not a problem with the package itself. That's just molecule working as it should. In short it's telling you that you didn't specify any platforms in test/meta/main.yml.

thumbless commented on 2019-09-22 08:37

tried:

molecule init role -r test -d docker

molecule test

It fails on

Executing Ansible Lint ....

[701] Role info should contain platforms

Wondering if this is related to the cookiecutter issue? As molecule should be able to run fine with defaults?

dncrash commented on 2019-09-19 11:24

I tried testing but I forgot I had copied the files manually and they were still there so that's why it was working for me... This time I tried cp instead and I hope it really works. Let me know if you still have issues and thanks again for the feedback and help.

korrat commented on 2019-09-19 10:38

Unfortunately it doesn't work yet. It seems that the new line is only supposed to create directories, according to the manpage.

-d, --directory treat all arguments as directory names; create all components of the specified directories

Since the two directories already exist at that point in the build process, the command has no effect.

dncrash commented on 2019-09-19 08:06

Thanks for the feedback. Should be fixed now.