1
0
Fork 0
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:
Lilian Roller 2019-03-06 11:15:16 +01:00
parent 246301fc6a
commit abb765a545
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B

View file

@ -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