diff --git a/data/savannah-landscape-with-acacia-trees.jpeg b/data/savannah-landscape-with-acacia-trees.jpeg new file mode 100644 index 0000000..a480cc4 Binary files /dev/null and b/data/savannah-landscape-with-acacia-trees.jpeg differ diff --git a/playbooks/apt.yaml b/playbooks/apt.yaml index 4dea15f..7289a54 100644 --- a/playbooks/apt.yaml +++ b/playbooks/apt.yaml @@ -43,7 +43,6 @@ autoclean: true autoremove: true install_recommends: true - pkg: - - nano + pkg: [nano] state: absent update_cache: true diff --git a/playbooks/nvim.yaml b/playbooks/nvim.yaml index 24b5331..7284344 100644 --- a/playbooks/nvim.yaml +++ b/playbooks/nvim.yaml @@ -69,25 +69,25 @@ - name: Make my lvim real vim become: true ansible.builtin.file: - src: "/home/{{ uid }}/.local/bin/lvim" + src: /home/{{ uid }}/.local/bin/lvim dest: /usr/local/bin/vim state: link when: not have_nvim.stat.exists - name: Install lunarvim config ansible.builtin.template: src: ../templates/config.lua.j2 - dest: "/home/{{ uid }}/.config/lvim/config.lua" - owner: "{{ uid }}" - group: "{{ uid }}" + dest: /home/{{ uid }}/.config/lvim/config.lua + owner: '{{ uid }}' + group: '{{ uid }}' mode: '0644' - name: Create sources dir ansible.builtin.file: - dest: "/home/{{ uid }}/sources" + dest: /home/{{ uid }}/sources state: directory when: not have_nvim.stat.exists - name: Get tabby plugin ansible.builtin.command: - chdir: "/home/{{ uid }}/sources/" + chdir: /home/{{ uid }}/sources/ cmd: git clone https://github.com/TabbyML/tabby.git - creates: "/home/{{ uid }}/sources/tabby" + creates: /home/{{ uid }}/sources/tabby when: not have_nvim.stat.exists diff --git a/playbooks/ssh.yaml b/playbooks/ssh.yaml index 6de4f13..2e6023c 100644 --- a/playbooks/ssh.yaml +++ b/playbooks/ssh.yaml @@ -8,12 +8,12 @@ tasks: - name: Create ssh dir ansible.builtin.file: - dest: "/home/{{ uid }}/.ssh" + dest: /home/{{ uid }}/.ssh state: directory - name: Install authorized keys ansible.builtin.template: src: ../templates/authorized_keys.j2 - dest: "/home/{{ uid }}/.ssh/authorized_keys" - owner: "{{ uid }}" - group: "{{ uid }}" + dest: /home/{{ uid }}/.ssh/authorized_keys + owner: '{{ uid }}' + group: '{{ uid }}' mode: '0600' diff --git a/playbooks/sway.yaml b/playbooks/sway.yaml index 99003ac..e73978a 100644 --- a/playbooks/sway.yaml +++ b/playbooks/sway.yaml @@ -10,29 +10,29 @@ - name: Install autotiling ansible.builtin.command: cmd: pipx install autotiling - creates: "/home/{{ uid }}/.local/bin/autotiling" + creates: /home/{{ uid }}/.local/bin/autotiling - name: Create sway dir ansible.builtin.file: - dest: "/home/{{ uid }}/.config/sway" + dest: /home/{{ uid }}/.config/sway state: directory - name: Install sway config ansible.builtin.template: src: ../templates/sway_config.j2 - dest: "/home/{{ uid }}/.config/sway/config" - owner: "{{ uid }}" - group: "{{ uid }}" + dest: /home/{{ uid }}/.config/sway/config + owner: '{{ uid }}' + group: '{{ uid }}' mode: '0640' notify: Reload sway - name: Create waybar dir ansible.builtin.file: - dest: "/home/{{ uid }}/.config/waybar" + dest: /home/{{ uid }}/.config/waybar state: directory - name: Install waybar config ansible.builtin.template: src: ../templates/waybar_config.j2 - dest: "/home/{{ uid }}/.config/waybar/config" - owner: "{{ uid }}" - group: "{{ uid }}" + dest: /home/{{ uid }}/.config/waybar/config + owner: '{{ uid }}' + group: '{{ uid }}' mode: '0640' notify: Reload sway - name: Create wallpaper dir diff --git a/playbooks/zsh.yaml b/playbooks/zsh.yaml index d5f9092..ae145c8 100644 --- a/playbooks/zsh.yaml +++ b/playbooks/zsh.yaml @@ -8,7 +8,7 @@ tasks: - name: Have zsh installed allready stat: - path: "/home/{{ uid }}/.oh-my-zsh" + path: /home/{{ uid }}/.oh-my-zsh register: ohmyzsh - name: Set zsh as default shell become: true @@ -34,8 +34,7 @@ - name: Install zshrc ansible.builtin.template: src: ../templates/zshrc.j2 - dest: "/home/{{ uid }}/.zshrc" - owner: "{{ uid }}" - group: "{{ uid }}" + dest: /home/{{ uid }}/.zshrc + owner: '{{ uid }}' + group: '{{ uid }}' mode: '0644' -