diff --git a/arch_basics.yaml b/arch_basics.yaml index edbb889..4d226db 100644 --- a/arch_basics.yaml +++ b/arch_basics.yaml @@ -57,7 +57,7 @@ create: yes validate: 'visudo -cf %s' - - name: Install trizen using makepkg if it isn't installed already + - name: Install paru using makepkg if it isn't installed already kewlfft.aur.aur: name: paru use: makepkg @@ -66,40 +66,34 @@ become_method: su become_user: aur_builder - # - name: Git checkout - # ansible.builtin.git: - # repo: 'https://aur.archlinux.org/paru.git' - # dest: /home/aur_builder/paru - # become: aur_builder + - name: Install packages from AUR + community.general.pacman: + name: oh-my-zsh-git,zsh-theme-powerlevel10k-git,zsh-autosuggestions,zsh-syntax-highlighting,openssh + state: present + executable: paru + become: yes + become_user: aur_builder - # - name: Install packages from AUR - # community.general.pacman: - # name: oh-my-zsh-git,zsh-theme-powerlevel10k-git,zsh-autosuggestions,zsh-syntax-highlighting,openssh - # state: present - # executable: paru - # become: yes - # become_user: aur_builder + - name: Clone dotfiles + ansible.builtin.git: + repo: https://gitea.maiertobi.de/tobimai/dotfiles.git + dest: /tmp/dotfiles - # - name: Clone dotfiles - # ansible.builtin.git: - # repo: https://gitea.maiertobi.de/tobimai/dotfiles.git - # dest: /tmp/dotfiles + - name: Copy zshrc to home dir + ansible.builtin.copy: + src: //tmp/dotfiles/.zshrc + dest: /home/tobi/.zshrc + owner: tobi + group: tobi + mode: '0644' - # - name: Copy zshrc to home dir - # ansible.builtin.copy: - # src: //tmp/dotfiles/.zshrc - # dest: /home/tobi/.zshrc - # owner: tobi - # group: tobi - # mode: '0644' - - # - name: Copy p10k to home dir - # ansible.builtin.copy: - # src: //tmp/dotfiles/.p10k.zsh - # dest: /home/tobi/.p10k.zsh - # owner: tobi - # group: tobi - # mode: '0644' + - name: Copy p10k to home dir + ansible.builtin.copy: + src: //tmp/dotfiles/.p10k.zsh + dest: /home/tobi/.p10k.zsh + owner: tobi + group: tobi + mode: '0644' # - name: Add ssh-rsa to ssh config as this seems to be disabled by default # blockinfile: