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

19 lines
433 B
YAML
Raw Normal View History

---
- name: install keychain to support ssh agent
become: yes
package:
name: keychain
2020-10-29 01:45:23 +01:00
state: "{{ base__package_state }}"
when:
- ansible_os_family != 'RedHat'
- name: install keychain on centos
become: yes
yum:
name:
- "{{ _base__keychain_rpm }}"
- libselinux-python
2020-10-29 01:45:23 +01:00
state: "{{ base__package_state }}"
when:
2020-11-11 11:36:23 +01:00
- ansible_os_family == 'RedHat' and ansible_distribution_version | float <= 7