Molecule test failing
babvin opened this issue · 2 comments
`
tree .
.
├── defaults
│ └── main.yml
├── handlers
│ └── main.yml
├── LICENSE
├── meta
│ └── main.yml
├── molecule
│ └── default
│ ├── converge.yml
│ └── molecule.yml
├── README.md
├── tasks
│ ├── main.yml
│ ├── setup-Debian.yml
│ └── setup-RedHat.yml
├── templates
│ └── exports.j2
└── vars
├── Debian.yml
├── Fedora.yml
├── RedHat-6.yml
└── RedHat.yml
8 directories, 15 files
/home/vagrant/ansible/playbooks/httpd/ansible-role-nfs
molecule test
--> Test matrix
└── default
├── dependency
├── lint
├── cleanup
├── destroy
├── syntax
├── create
├── prepare
├── converge
├── idempotence
├── side_effect
├── verify
├── cleanup
└── destroy
--> Scenario: 'default'
--> Action: 'dependency'
Skipping, missing the requirements file.
Skipping, missing the requirements file.
--> Scenario: 'default'
--> Action: 'lint'
--> Executing: set -e
yamllint .
ansible-lint
./.travis.yml
17:121 warning line too long (173 > 120 characters) (line-length)
--> Scenario: 'default'
--> Action: 'cleanup'
Skipping, cleanup playbook not configured.
--> Scenario: 'default'
--> Action: 'destroy'
Skipping, destroy action has no playbook.
--> Scenario: 'default'
--> Action: 'syntax'
ERROR! the role 'geerlingguy.nfs' was not found in /home/vagrant/ansible/playbooks/httpd/a
sible-role-nfs/molecule/default/roles:/home/vagrant/.cache/molecule/ansible-role-nfs/defau
t/roles:/home/vagrant/ansible/playbooks/httpd:/home/vagrant/.ansible/roles:/usr/share/ansi
le/roles:/etc/ansible/roles:/home/vagrant/ansible/playbooks/httpd/ansible-role-nfs/molecul
/default
The error appears to be in '/home/vagrant/ansible/playbooks/httpd/ansible-role-nfs/molecul
/default/converge.yml': line 13, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- role: geerlingguy.nfs
^ here
ERROR:
An error occurred during the test sequence action: 'syntax'. Cleaning up.
--> Scenario: 'default'
--> Action: 'cleanup'
Skipping, cleanup playbook not configured.
--> Scenario: 'default'
--> Action: 'destroy'
Skipping, destroy action has no playbook.
--> Pruning extra files from scenario ephemeral directory
~/a/p/h/ansible-role-nfs on master !1
`
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.