master
Raw Download raw file
 1---
 2# home.yml tasks
 3
 4- name: home - git clone
 5  git:
 6    repo: git@github.com:bryfry/home.git
 7    dest: "{{ home_dir }}"
 8  ignore_errors: yes
 9  tags: home
10
11- name: home - symbolic links
12  file:
13    src: "{{ home_dir }}/{{ item }}" 
14    dest: "{{ ansible_env.HOME }}/.{{ item }}"
15    state: link
16    force: yes
17  tags: home
18  with_items:
19  - Xmodmap
20  - bashrc
21  - bash_aliases
22  - profile
23  - screenrc 
24  - vimrc
25  - xinitrc
26  - tmux.conf
27  - tmux.statusbar.conf
28
29- name: home - symbolic links (custom)
30  file:
31    src: "{{ home_dir }}/ssh-config" 
32    dest: "{{ ansible_env.HOME }}/.ssh/config"
33    state: link
34    force: yes
35  tags: home