Comments (3)
@rokka-n Do you have the same behavior with 1.4.1? I know your comment on another issue said you did, but I'm unable to reproduce it.
▶ molecule init foo
Successfully initialized new role in ./foo
▶ cd foo
▶ molecule test
Bringing machine 'foo-01' up with 'virtualbox' provider...
==> foo-01: Importing base box 'trusty64'...
==> foo-01: Matching MAC address for NAT networking...
...
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [foo-01]
PLAY RECAP ********************************************************************
foo-01 : ok=1 changed=0 unreachable=0 failed=0
Idempotence test in progress (can take a few minutes)...
Idempotence test passed.
No testinfra tests found in tests/.
Executing rubocop on *.rb files found in spec/.
Inspecting 2 files
..
2 files inspected, no offenses detected
Executing serverspec tests found in spec/.
*** Run serverspec on foo-01 instance ***
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -I/Library/Ruby/Gems/2.0.0/gems/rspec-support-3.3.0/lib:/Library/Ruby/Gems/2.0.0/gems/rspec-core-3.3.2/lib /Library/Ruby/Gems/2.0.0/gems/rspec-core-3.3.2/exe/rspec --pattern spec/\*_spec.rb,spec/foo-01/\*_spec.rb,spec/hosts/foo-01/\*_spec.rb,spec/group_1/\*_spec.rb,spec/groups/group_1/\*_spec.rb,spec/group_2/\*_spec.rb,spec/groups/group_2/\*_spec.rb
File "/etc/hosts"
should be a file
should be owned by "root"
should be grouped into "root"
Finished in 0.35853 seconds (files took 0.39658 seconds to load)
3 examples, 0 failures
==> foo-01: Forcing shutdown of VM...
==> foo-01: Destroying VM and associated drives...
▶ molecule --version
1.4.1
▶ uname -a
Darwin splashdown.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
from molecule.
That's correct, just upgraded in venv to 1.4.1 and now init subcommand generates setup without any warnings and all tests are passing.
However, if whitespace is added accidentally:
Trailing whitespace found in ./defaults/main.yml on lines: 2
It looks like a warning, it doesn't stop the test.
It would be nice to have this as an optional feature, and by default just ignore whitespaces.
from molecule.
It would be nice to have this as an optional feature, and by default just ignore whitespaces.
@rokka-n not going to happen.
from molecule.
Related Issues (20)
- MOLECULE_REPORT is not generating html report when mentioned in molecule.yml as per docs HOT 2
- Update documentation about default Driver HOT 1
- [Docs] Update user guide with missing sections HOT 4
- [Docs] Add porting guide HOT 1
- dependency step installs roles to user's roles path, not in ephemeral directory HOT 3
- CRITICAL 'molecule/default/molecule.yml' glob failed. Exiting - Unable to run molecule HOT 13
- Unknown command: ansible-playbook
- Switch Releases to CalVer HOT 1
- molecule matrix command produces unreadable colored output HOT 1
- Container drivers are not working
- Is `v24.2.0` wrongly tagged? HOT 1
- wants tmpfs to be dict, not list HOT 8
- Molecule config file in {project}/.config/molecule/config.yml not found HOT 1
- Molecule instance inherits all groups from inventory
- [Docs] Add driver name for podman HOT 2
- The env option of the shell dependency has no effect
- Unable to Create Temporary Directory During Molecule Test Execution in Ansible Role HOT 2
- Molecule converge with specific scenario ends up with an error HOT 1
- The molecule with docker driver doesn't work with requests lib => 32.x.x HOT 1
- Project cleanup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from molecule.