ansible-lint: removed skip of 206
- Fixes 206 errors and removed the skip. - Also replaces revision with latest tag (pushed today) Bug: https://bugs.launchpad.net/tripleo/+bug/1848512 Change-Id: I69d75ba9de8ab0e91eb45fd4f9febfdb28cdcb3a
This commit is contained in:
parent
e702a6b97f
commit
1c6b947bf2
@ -7,7 +7,6 @@ quiet: false
|
||||
skip_list:
|
||||
# TODO(ssbarnea): Gradually remove these skips ASAP
|
||||
- 204 # Lines should be no longer than 160 chars
|
||||
- 206 # Variables should have spaces before and after: {{ var_name }}
|
||||
- 303 # sed used in place of template, replace or lineinfile module
|
||||
- 504 # Do not use 'local_action', use 'delegate_to: localhost'
|
||||
- 601 # Don't compare to literal True/False
|
||||
|
@ -22,7 +22,7 @@ repos:
|
||||
types: [file, yaml]
|
||||
entry: yamllint --strict -f parsable
|
||||
- repo: https://github.com/ansible/ansible-lint
|
||||
rev: 0523c63f193d65313dcd743686d7fb0623a72ee8
|
||||
rev: v4.1.1a1
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
files: \.(yaml|yml)$
|
||||
|
@ -50,12 +50,14 @@
|
||||
|
||||
- name: Get releases.sh file output
|
||||
set_fact:
|
||||
releases_file_output: "{{ lookup('file', '/home/{{ undercloud_user}}/workspace/logs/releases.sh') | replace('export' , ' export') }}"
|
||||
releases_file_output: |
|
||||
{{ lookup('file', '/home/{{ undercloud_user }}/workspace/logs/releases.sh') | replace('export' , ' export') }}
|
||||
when: releases_file_result.stat.exists
|
||||
|
||||
- name: Get featureset-override file output
|
||||
set_fact:
|
||||
featureset_override_file_output: "{{ lookup('file', '/home/{{ undercloud_user }}/src/opendev.org/openstack/tripleo-ci/featureset-override.yaml') }}"
|
||||
featureset_override_file_output: |
|
||||
{{ lookup('file', '/home/{{ undercloud_user }}/src/opendev.org/openstack/tripleo-ci/featureset-override.yaml') }}
|
||||
when: featureset_override_file.stat.exists
|
||||
|
||||
- name: Create the zuul-based launcher-env-setup-playbook from template
|
||||
|
Loading…
x
Reference in New Issue
Block a user