Skip to content
Snippets Groups Projects
Commit 74048eb3 authored by Maxime Bombar's avatar Maxime Bombar
Browse files

Deploy right shell config

parent dc705523
No related merge requests found
......@@ -38,6 +38,25 @@
loop:
- .emacs
- .gitconfig
when: not ansible_check_mode
- name: Deploy zsh config
file:
src: /home/{{ ansible_user}}/Git/Config_Files/{{ item }}
dest: /home/{{ ansible_user }}/{{ item }}
state: link
loop:
- .zshrc
- .zsh
when: not ansible_check_mode
when: shell == "zsh" and not ansible_check_mode
- name: Deploy bash config
file:
src: /home/{{ ansible_user}}/Git/Config_Files/{{ item }}
dest: /home/{{ ansible_user }}/{{ item }}
state: link
loop:
- .umaskrc
- .bashrc
- .bash_aliases
when: shell == "bash" and not ansible_check_mode
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment