Files
ansible_playbooks/arch_wsl.yaml
2022-06-13 22:18:13 +02:00

29 lines
894 B
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