added check to exclude copying dotfile to kryten
This commit is contained in:
parent
5e0e815131
commit
054c81816d
|
@ -94,6 +94,7 @@
|
||||||
when: ansible_os_family == "Archlinux"
|
when: ansible_os_family == "Archlinux"
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
|
# check for kryten to not overwrite main workstation dotfile
|
||||||
- name: Copy vimrc
|
- name: Copy vimrc
|
||||||
copy:
|
copy:
|
||||||
src: "files/vimrc-debian"
|
src: "files/vimrc-debian"
|
||||||
|
@ -101,7 +102,7 @@
|
||||||
owner: "{{ username }}"
|
owner: "{{ username }}"
|
||||||
group: "{{ username }}"
|
group: "{{ username }}"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian" and ansible_hostname != "kryten"
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
- name: Copy vimrc
|
- name: Copy vimrc
|
||||||
|
|
Loading…
Reference in New Issue