fixed basic install
This commit is contained in:
@@ -21,6 +21,11 @@
|
|||||||
name: wheel
|
name: wheel
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Make sure we have a 'docker' group
|
||||||
|
group:
|
||||||
|
name: docker
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Allow 'wheel' to be sudo
|
- name: Allow 'wheel' to be sudo
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/sudoers
|
dest: /etc/sudoers
|
||||||
@@ -33,7 +38,7 @@
|
|||||||
name: tobi
|
name: tobi
|
||||||
password: $6$9OnvBMN6Sxc.muW1$afASAJdoPZL/WxTp6.lh/SurRRiClaru2Pl19fEo6j1aDEQw99kdkfls6.DB8OBacBDnT3bpsLYD3JqrvXlE9/
|
password: $6$9OnvBMN6Sxc.muW1$afASAJdoPZL/WxTp6.lh/SurRRiClaru2Pl19fEo6j1aDEQw99kdkfls6.DB8OBacBDnT3bpsLYD3JqrvXlE9/
|
||||||
comment: Tobias Maier
|
comment: Tobias Maier
|
||||||
groups: wheel
|
groups: wheel,docker
|
||||||
shell: /bin/zsh
|
shell: /bin/zsh
|
||||||
|
|
||||||
- name: Add name to git config
|
- name: Add name to git config
|
||||||
@@ -68,42 +73,4 @@
|
|||||||
state: present
|
state: present
|
||||||
become: yes
|
become: yes
|
||||||
become_method: su
|
become_method: su
|
||||||
become_user: aur_builder
|
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
|
|
||||||
Reference in New Issue
Block a user