Fix lint issue with latest version of yamllint.
This commit is contained in:
parent
f296994c76
commit
67c11836d4
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue