1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00
ansible_role_packages/tasks/keychain.yml
2020-11-11 11:36:23 +01:00

18 lines
433 B
YAML

---
- name: install keychain to support ssh agent
become: yes
package:
name: keychain
state: "{{ base__package_state }}"
when:
- ansible_os_family != 'RedHat'
- name: install keychain on centos
become: yes
yum:
name:
- "{{ _base__keychain_rpm }}"
- libselinux-python
state: "{{ base__package_state }}"
when:
- ansible_os_family == 'RedHat' and ansible_distribution_version | float <= 7