45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
---
|
|
- hosts: localhost
|
|
tasks:
|
|
- name: Update and Upgrade all exisiting packages
|
|
community.general.pacman:
|
|
update_cache: yes
|
|
upgrade: yes
|
|
|
|
- name: Install archlinux-keyring
|
|
community.general.pacman:
|
|
name: archlinux-keyring
|
|
state: latest
|
|
|
|
- name: Install basic packages (Need to install base-devel manually due to wsl not supporting fakeroot)
|
|
community.general.pacman:
|
|
name: sudo,zsh,autoconf,automake,binutils,bison,file,findutils,flex,gawk,gcc,gettext,grep,groff,gzip,libtool,m4,make,patch,pkgconf,sed,texinfo,which
|
|
state: present
|
|
|
|
- name: Create User etc.
|
|
import_tasks: modules/userstuff.yml
|
|
|
|
- name: Install Paru
|
|
import_tasks: modules/paru.yml
|
|
|
|
- name: Install zsh stuff
|
|
import_tasks: modules/zsh.yml
|
|
|
|
- name: Install base packages
|
|
import_tasks: modules/base_packages.yml
|
|
|
|
- name: Install Some work software
|
|
kewlfft.aur.aur:
|
|
use: paru
|
|
name: tfenv,azure-cli
|
|
state: latest
|
|
become: yes
|
|
become_user: aur_builder
|
|
|
|
- name: Add ssh-rsa to ssh config as this seems to be disabled by default
|
|
blockinfile:
|
|
path: /etc/ssh/ssh_config
|
|
block: |
|
|
Host *
|
|
HostKeyAlgorithms ssh-rsa
|
|
PubkeyAcceptedKeyTypes ssh-rsa |