| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- ---
- - name: "00: Set Dotfile Repo"
- ansible.builtin.set_fact:
- dotfile_repo: "git@git.aetherial.dev:aeth/dotfiles.git"
- - name: "00: Clone the dotfiles"
- become: True
- become_user: "{{ system_user }}"
- ansible.builtin.git:
- repo: "{{ dotfile_repo }}"
- dest: "/home/{{ system_user }}/.config/dotfiles"
- version: "master"
- - name: "05: Set fact for dotfile home"
- ansible.builtin.set_fact:
- dotfiles: "/home/{{ system_user }}/.config/dotfiles"
- - name: "10: Move them to their appropriate locations"
- ansible.builtin.copy:
- src: "{{ dotfiles }}/zshrc"
- dest: "/home/{{ system_user }}/.zshrc"
- remote_src: "yes"
- backup: True
- - name: "20: Move alacritty config"
- ansible.builtin.copy:
- src: "{{ dotfiles }}/alacritty.yml"
- remote_src: "yes"
- dest: "/home/{{ system_user }}/.config/alacritty/"
- backup: True
- - name: "30: Move sway config"
- ansible.builtin.copy:
- src: "{{ dotfiles }}/sway/config"
- remote_src: "yes"
- dest: "/home/{{ system_user }}/.config/sway/"
- backup: True
- - name: "40: move vimrc"
- ansible.builtin.copy:
- src: "{{ dotfiles }}/vimrc"
- remote_src: "yes"
- dest: "/home/{{ system_user }}/.vimrc"
- backup: True
- - name: "60: Move environment file into etc"
- become: True
- ansible.builtin.copy:
- remote_src: "yes"
- src: "{{ dotfiles }}/environment"
- dest: "/etc/environment"
- backup: True
|