Skip to content

Commit

Permalink
Corrected yamllint (#1217)
Browse files Browse the repository at this point in the history
* Corrected yamllint errors.
* Correctly ignored .molecule directory.
* Configured yamllint in strict mode to exit on warnings.
  • Loading branch information
retr0h committed Mar 29, 2018
1 parent be3a896 commit 8accc43
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .yamllint
@@ -1,6 +1,6 @@
extends: default
ignore: |
*.molecule/*
*.molecule/
molecule/cookiecutter/

rules:
Expand Down
Expand Up @@ -84,7 +84,7 @@
key_name: "{{ keypair_name }}"
nics:
- net-id: "{{ openstack_networks[0]['id'] }}"
delete_fip: yes
delete_fip: true
register: server
with_items: "{{ molecule_yml.platforms }}"
async: 7200
Expand Down
2 changes: 1 addition & 1 deletion test/resources/playbooks/delegated/create/openstack.yml
Expand Up @@ -36,7 +36,7 @@
key_name: "{{ openstack.key_name }}"
nics:
- net-id: "{{ openstack_networks[0]['id'] }}"
delete_fip: yes
delete_fip: true
register: server

- name: Persist ssh config
Expand Down
2 changes: 1 addition & 1 deletion test/resources/playbooks/openstack/create.yml
Expand Up @@ -83,7 +83,7 @@
key_name: "{{ keypair_name }}"
nics:
- net-id: "{{ openstack_networks[0]['id'] }}"
delete_fip: yes
delete_fip: true
register: server
with_items: "{{ molecule_yml.platforms }}"
async: 7200
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -25,7 +25,7 @@ commands =
unit: py.test -vv --cov-report=term-missing --cov={toxinidir}/molecule/ --no-cov-on-fail {posargs}
functional: py.test -vv -x test/functional/ {posargs}
lint: flake8
lint: yamllint test/ molecule/
lint: yamllint -s test/ molecule/

[testenv:format]
commands =
Expand Down

0 comments on commit 8accc43

Please sign in to comment.