Update ansible-lint to fix deps problem

Older ansible-lint has an uncapped dep on 'rich' and newer rich breaks
ansible-lint. New ansible-lint has addressed this. We update
ansible-lint to get those fixes.

This adds task names to a number of tasks to correct a linting error.

Change-Id: I38284fef54213e0fceb1b348d5839129cc15148e
This commit is contained in:
Clark Boylan 2022-01-10 11:34:57 -08:00
parent 7875073026
commit 1bc98d2ee8
4 changed files with 10 additions and 6 deletions

View File

@ -4,7 +4,8 @@
register: pdfdocs_env
ignore_errors: yes
- include_role:
- name: Run tox with pdf build envlist
include_role:
name: tox
vars:
tox_envlist: "{{ tox_pdf_envlist }}"

View File

@ -60,4 +60,5 @@
value: 30
state: present
- debug: var=ephemeral_device
- name: Debug the ephemeral_device variable
debug: var=ephemeral_device

View File

@ -15,7 +15,8 @@
set_fact:
root_filesystem: "{{ root_fs.stdout }}"
- debug: var=root_filesystem
- name: Debug the root_filesystem variable
debug: var=root_filesystem
# Note, we don't use a sparse device to avoid wedging when disk space
# and memory are both unavailable.
@ -53,4 +54,5 @@
become: yes
command: swapon -a
- debug: var=swap_required
- name: Debug the swap_required variable
debug: var=swap_required

View File

@ -2,9 +2,9 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=3.0,<3.1.0 # Apache-2.0
hacking>=4.0.0,<5.0.0 # Apache-2.0
# ansible-lint requires ansible>=2.9
ansible>=2.9.0,<2.10
ansible-lint>=4.3.6,<=5
ansible-lint>=5.0.0,<=6.0.0
bashate>=0.2