56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
---
|
|
- name: localdev configuration
|
|
hosts: all
|
|
tasks:
|
|
|
|
- name: Register WSL variable
|
|
ansible.builtin.shell: /bin/true
|
|
register: wsl
|
|
when: ansible_facts['kernel'] | regex_search("microsoft", ignorecase=True)
|
|
|
|
- name: Install the packages for Fedora
|
|
import_tasks: dnf.yml
|
|
when: ansible_facts['os_family']|lower == 'redhat'
|
|
|
|
- name: Install the packages for Debian
|
|
import_tasks: apt.yml
|
|
when: ansible_facts['os_family']|lower == 'debian'
|
|
|
|
- name: Install the packages for Ubuntu
|
|
import_tasks: apt.yml
|
|
when: ansible_facts['os_family']|lower == 'ubuntu'
|
|
|
|
- name: Install the packages for FreeBSD
|
|
import_tasks: pkg.yml
|
|
when: ansible_facts['os_family']|lower == 'freebsd'
|
|
|
|
- name: Install rust via rustup
|
|
import_tasks: rust.yml
|
|
|
|
- name: Create home directory structure
|
|
import_tasks: homedir.yml
|
|
|
|
- name: Configure gnome settings
|
|
import_tasks: gnome.yml
|
|
vars:
|
|
tela_icons_url: https://cloud.penguincoder.org/s/KqzGj5oEfTp5G57/download/01-Tela.tar.xz
|
|
layan_dark_url: https://cloud.penguincoder.org/s/GQ2ygcmk2FxBofg/download/Layan-dark.tar.xz
|
|
when: not wsl
|
|
|
|
- name: Install bitwarden cli
|
|
import_tasks: bitwarden.yml
|
|
|
|
- name: Install chezmoi
|
|
import_tasks: chezmoi.yml
|
|
|
|
- name: Install and configure golang
|
|
import_tasks: go.yml
|
|
|
|
- name: Install cloud tools
|
|
import_tasks: cloud-tools.yml
|
|
|
|
- name: Install oil shell
|
|
import_tasks: oil-shell.yml
|
|
vars:
|
|
version: "0.8.9"
|