1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_base.git synced 2024-08-16 14:29:50 +02:00

package should not use latest

This commit is contained in:
L3D 2020-10-29 01:45:23 +01:00 committed by Lilian Roller
parent aa164139cd
commit 2f66304699
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B

View file

@ -3,7 +3,7 @@
become: yes become: yes
package: package:
name: keychain name: keychain
state: latest state: "{{ base__package_state }}"
when: when:
- ansible_os_family != 'RedHat' - ansible_os_family != 'RedHat'
- install_keychain|bool - install_keychain|bool
@ -14,7 +14,7 @@
name: name:
- "{{ _base__keychain_rpm }}" - "{{ _base__keychain_rpm }}"
- libselinux-python - libselinux-python
state: present state: "{{ base__package_state }}"
when: when:
- ansible_os_family == 'RedHat' - ansible_os_family == 'RedHat'
- install_keychain|bool - install_keychain|bool