Skip to content
Snippets Groups Projects
Commit be641c26 authored by Chris Croome's avatar Chris Croome
Browse files

Ansible lint updates

parent 22e80b83
No related branches found
Tags 3.2.1
No related merge requests found
Pipeline #24385 passed
---
# https://docs.ansible.com/ansible-lint/rules/default_rules.html
# https://ansible-lint.readthedocs.io/rules/
skip_list:
# Lines should be no longer than 160 chars
- "204"
# Commands should not change things if nothing needs doing
- "301"
# chown used in place of argument owner to file module
- "302"
# Using command rather than module
- "303"
# Shells that use pipes should set the pipefail option
- "306"
# Tasks that run when changed should likely be handlers
- "503"
- key-order[task]
- schema[meta]
# vim: syntax=yaml
...
---
image: registry.git.coop/webarch/containers/images/ansible:0.8.0
image: registry.git.coop/webarch/containers/images/ansible:0.12.0
variables:
PY_COLORS: "1"
ANSIBLE_FORCE_COLOR: "1"
......
......@@ -3,7 +3,7 @@ dependency:
name: galaxy
platforms:
- name: instance
image: registry.git.coop/webarch/containers/images/ansible:0.8.0
image: registry.git.coop/webarch/containers/images/ansible:0.12.0
pre_build_image: true
provisioner:
name: ansible
......
......@@ -18,7 +18,7 @@
when: ( docker_old_apt_list_files.matched >= 1 )
- name: Disable legacy Docker apt list files
command: "mv {{ file.path }} {{ file.path }}.ansible.save"
ansible.builtin.command: "mv {{ file.path }} {{ file.path }}.ansible.save"
loop: "{{ docker_old_apt_list_files.files }}"
loop_control:
loop_var: file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment