You've already forked ansible-role-common
Fixed conditionals
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
option: timeout
|
option: timeout
|
||||||
value: "{{ common_grub_timeout }}"
|
value: "{{ common_grub_timeout }}"
|
||||||
state: present
|
state: present
|
||||||
when: "ansible_os_family == RedHat and ansible_distribution_major_version == 6"
|
when: "ansible_os_family == 'RedHat' and ansible_distribution_major_version == '6'"
|
||||||
tags:
|
tags:
|
||||||
- grub
|
- grub
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
section: null
|
section: null
|
||||||
option: GRUB_TIMEOUT
|
option: GRUB_TIMEOUT
|
||||||
value: "{{ common_grub_timeout }}"
|
value: "{{ common_grub_timeout }}"
|
||||||
when: "ansible_os_family == RedHat and ansible_distribution_major_version == 7"
|
when: "ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7'"
|
||||||
notify: Update GRUB
|
notify: Update GRUB
|
||||||
tags:
|
tags:
|
||||||
- grub
|
- grub
|
||||||
Reference in New Issue
Block a user