mirror of
https://github.com/roles-ansible/ansible_role_base.git
synced 2024-08-16 14:29:50 +02:00
18 lines
437 B
YAML
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
|