Skip to content

Commit

Permalink
yamllint cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
retr0h committed Jun 20, 2017
1 parent 777d2c6 commit 9781a68
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 12 deletions.
11 changes: 11 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends: default

rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
line-length: disable
truthy: disable
11 changes: 11 additions & 0 deletions {{cookiecutter.role_name}}/.yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends: default

rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
line-length: disable
truthy: disable
19 changes: 10 additions & 9 deletions {{cookiecutter.role_name}}/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
galaxy_info:
author: {{ cookiecutter.author }}
description: {{ cookiecutter.description }}
Expand All @@ -20,7 +21,7 @@ galaxy_info:
# this branch. If Travis integration is configured, only notifications for this
# branch will be accepted. Otherwise, in all cases, the repo's default branch
# (usually master) will be used.
#github_branch:
# github_branch:

#
# platforms is a list of platforms, and each platform has a name and a list of versions.
Expand All @@ -38,13 +39,13 @@ galaxy_info:
# - 99.99

galaxy_tags: []
# List tags for your role here, one per line. A tag is a keyword that describes
# and categorizes the role. Users find roles by searching for tags. Be sure to
# remove the '[]' above, if you add tags to this list.
#
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
# List tags for your role here, one per line. A tag is a keyword that describes
# and categorizes the role. Users find roles by searching for tags. Be sure to
# remove the '[]' above, if you add tags to this list.
#
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.

dependencies: []
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
log_driver: syslog
command: "{{ item.command }}"
with_items: "{{ molecule_yml.platforms }}"
{%- endraw -%}
{%- endraw %}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
name: "{{ item.name }}-{{ molecule_yml.scenario.name }}"
state: absent
with_items: "{{ molecule_yml.platforms }}"
{%- endraw -%}
{%- endraw %}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
dependency:
name: gilt
name: gilt
driver:
name: docker
lint:
Expand Down

0 comments on commit 9781a68

Please sign in to comment.