2021-04-16 12:59:28 -04:00
|
|
|
---
|
|
|
|
- name: localdev configuration
|
|
|
|
hosts: all
|
|
|
|
tasks:
|
|
|
|
|
2021-05-10 14:56:12 -04:00
|
|
|
- name: Register WSL variable
|
|
|
|
ansible.builtin.shell: /bin/true
|
|
|
|
register: wsl
|
|
|
|
when: ansible_facts['kernel'] | regex_search("microsoft", ignorecase=True)
|
2021-05-10 15:36:20 -04:00
|
|
|
ignore_errors: true
|
|
|
|
|
2021-04-16 12:59:28 -04:00
|
|
|
- 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
|
|
|
|
|
2021-05-10 14:56:12 -04:00
|
|
|
- name: Create home directory structure
|
|
|
|
import_tasks: homedir.yml
|
|
|
|
|
2021-04-16 13:44:27 -04:00
|
|
|
- name: Configure gnome settings
|
|
|
|
import_tasks: gnome.yml
|
2021-04-16 15:46:38 -04:00
|
|
|
vars:
|
2021-04-16 15:52:31 -04:00
|
|
|
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
|
2021-05-10 15:36:20 -04:00
|
|
|
when: wsl is skipped
|
2021-04-16 14:50:30 -04:00
|
|
|
|
|
|
|
- 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
|
2021-04-16 15:46:38 -04:00
|
|
|
|
|
|
|
- name: Install oil shell
|
|
|
|
import_tasks: oil-shell.yml
|
|
|
|
vars:
|
2021-08-17 17:16:30 -04:00
|
|
|
version: "0.9.0"
|