Fix lint issue with latest version of yamllint.

This commit is contained in:
Jeff Geerling 2023-06-14 21:22:55 -05:00
parent f296994c76
commit 67c11836d4
1 changed files with 10 additions and 10 deletions

View File

@ -28,17 +28,17 @@
# See: https://github.com/ansible/ansible/issues/64852
- block:
- name: Ensure dnf-plugins are installed on CentOS 8+.
yum:
name: dnf-plugins-core
state: present
- name: Ensure dnf-plugins are installed on CentOS 8+.
yum:
name: dnf-plugins-core
state: present
- name: Enable DNF module for CentOS 8+.
shell: |
dnf config-manager --set-enabled powertools
dnf module enable -y php:remi-{{ php_version }}
register: dnf_module_enable
changed_when: "'Nothing to do' not in dnf_module_enable.stdout"
- name: Enable DNF module for CentOS 8+.
shell: |
dnf config-manager --set-enabled powertools
dnf module enable -y php:remi-{{ php_version }}
register: dnf_module_enable
changed_when: "'Nothing to do' not in dnf_module_enable.stdout"
when:
- ansible_os_family == 'RedHat'