ansible/roles/dotfiles/tasks/main.yml

40 lines
916 B
YAML
Raw Normal View History

2023-04-11 02:55:24 +00:00
- name: copy emacsd configuration
ansible.builtin.copy:
src: "{{ role_path }}/files/.emacs.d"
dest: "/home/{{ laptop_user }}/"
directory_mode: 0755
force: false
- name: create binary directory
ansible.builtin.file:
path: "/home/{{ laptop_user }}/.local/bin"
state: directory
mode: 0755
- name: copy em
ansible.builtin.copy:
src: "{{ role_path }}/files/bin/em"
dest: "/home/{{ laptop_user }}/.local/bin/em"
mode: 0755
- name: copy various dotfiles
ansible.builtin.copy:
src: "{{ role_path }}/files/{{ item }}"
dest: "/home/{{ laptop_user }}/{{ item }}"
mode: 0644
with_items:
- .gitconfig
- .gitignore_global
- .hgrc
- .mg
2023-04-11 20:26:40 +00:00
- .profile
2023-04-11 02:55:24 +00:00
- .vimrc
- .XCompose
- name: copy vim directory
ansible.builtin.copy:
src: "{{ role_path }}/files/.vim"
dest: "/home/{{ laptop_user }}/"
directory_mode: 0755
force: false