diff --git a/roles/deploy_config/tasks/main.yml b/roles/deploy_config/tasks/main.yml index 545475a6826fa4ea283fe49922c0af36465326c2..17744c8a667797b33bf12a0372a38d535b0d673f 100644 --- a/roles/deploy_config/tasks/main.yml +++ b/roles/deploy_config/tasks/main.yml @@ -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