mirror of
https://github.com/roles-ansible/ansible_role_dotfiles.git
synced 2024-08-16 16:09:49 +02:00
bring back centos support
This commit is contained in:
parent
246301fc6a
commit
abb765a545
1 changed files with 9 additions and 1 deletions
|
@ -8,11 +8,19 @@
|
|||
state: latest
|
||||
when: ansible_distribution == "Fedora"
|
||||
|
||||
- name: install ssh agent
|
||||
- name: install keychain to support ssh agent
|
||||
become: yes
|
||||
package:
|
||||
name: keychain
|
||||
state: latest
|
||||
when: ansible_distribution != "centos"
|
||||
|
||||
- name: install keychain on centos
|
||||
become: yes
|
||||
yum:
|
||||
name: https://centos.pkgs.org/7/psychotic-ninja-x86_64/keychain-2.7.1-1.el7.psychotic.noarch.rpm.html
|
||||
state: present
|
||||
when: ansible_distribution == "centos"
|
||||
|
||||
- name: Create a global bashrc configuration
|
||||
become: yes
|
||||
|
|
Loading…
Reference in a new issue