
We bump the Ansible version to the version that Zuul runs. We then set ansible-lint to the current latest version. This results in a number of new linter violations which we fix. These violations include: * Needing to name plays * Needing to start names with a capital letter * Using fully qualified names for action modules * Quoting permissions strings to avoid octal conversion errors * Using explicit yaml structures for tasks We also tell ansible-lint to mock zuul_return so that we don't get errors from it complaining that this module is not defined. Change-Id: Ic881313fea58f4482f70e493f3d256541d31860a
11 lines
315 B
YAML
11 lines
315 B
YAML
- name: Fetch Puppet Module Output
|
|
hosts: all
|
|
roles:
|
|
- fetch-puppet-module-output
|
|
|
|
pre_tasks:
|
|
- name: Rename files to branch specific name
|
|
shell: "mv *.tar.gz {{ zuul.project.short_name }}-{{ zuul.branch | replace('/', '-') }}.tar.gz"
|
|
args:
|
|
chdir: "{{ zuul.project.src_dir }}/pkg"
|