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
L3D 2814ffcfee
resolve yamllint
- add yamllint
- remove travis
- cleanup
2021-01-18 10:47:52 +01:00

18 lines
437 B
YAML

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