diff --git a/arch_basics.yaml b/arch_basics.yaml index cac89a0..cd2800b 100644 --- a/arch_basics.yaml +++ b/arch_basics.yaml @@ -21,6 +21,11 @@ name: wheel state: present + - name: Make sure we have a 'docker' group + group: + name: docker + state: present + - name: Allow 'wheel' to be sudo lineinfile: dest: /etc/sudoers @@ -33,7 +38,7 @@ name: tobi password: $6$9OnvBMN6Sxc.muW1$afASAJdoPZL/WxTp6.lh/SurRRiClaru2Pl19fEo6j1aDEQw99kdkfls6.DB8OBacBDnT3bpsLYD3JqrvXlE9/ comment: Tobias Maier - groups: wheel + groups: wheel,docker shell: /bin/zsh - name: Add name to git config @@ -68,42 +73,4 @@ state: present become: yes become_method: su - become_user: aur_builder - - - name: Install packages from AUR - kewlfft.aur.aur: - use: paru - name: oh-my-zsh-git,zsh-theme-powerlevel10k-git,zsh-autosuggestions,zsh-syntax-highlighting,openssh - state: present - become: yes - become_user: aur_builder - - - 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 p10k to home dir - ansible.builtin.copy: - src: //tmp/dotfiles/.p10k.zsh - dest: /home/tobi/.p10k.zsh - owner: tobi - group: tobi - mode: '0644' - - - name: Set a hostname - hostname: - name: "{{ hostname }}" - - - name: Enable service ssh - ansible.builtin.service: - name: sshd - enabled: yes \ No newline at end of file + become_user: aur_builder \ No newline at end of file