Fix package-latest ansible-lint errors

Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#package-latest
This commit is contained in:
Slavi Pantaleev
2022-07-18 14:08:35 +03:00
parent 318bfa84d5
commit 211ff20891
9 changed files with 22 additions and 22 deletions

View File

@ -21,7 +21,7 @@
ansible.builtin.yum:
name:
- "{{ matrix_ntpd_package }}"
state: latest
state: present
update_cache: true
- name: Ensure Docker is installed
@ -29,11 +29,11 @@
name:
- "{{ matrix_docker_package_name }}"
- python3-pip
state: latest
state: present
when: matrix_docker_installation_enabled | bool
- name: Ensure Docker-Py is installed
ansible.builtin.pip:
name: docker-py
state: latest
state: present
when: matrix_docker_installation_enabled | bool