2022-08-01 00:50:24 -05:00
|
|
|
---
|
2022-08-01 18:17:11 -05:00
|
|
|
- name: Install Dependencies
|
2022-08-01 00:50:24 -05:00
|
|
|
hosts: all
|
2022-08-01 18:20:40 -05:00
|
|
|
pre_tasks:
|
|
|
|
- name: Update Caches
|
2022-08-01 18:29:22 -05:00
|
|
|
ansible.builtin.import_tasks: tasks/update-pkg-mngr-cache.yml
|
|
|
|
|
2022-08-02 23:49:03 -05:00
|
|
|
- name: Install Preresquites
|
|
|
|
ansible.builtin.import_tasks: tasks/install-prereqs.yml
|
2022-08-03 02:10:28 -05:00
|
|
|
|
|
|
|
- name: Create Needed Directories
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
2023-04-02 22:12:02 -05:00
|
|
|
mode: "0755"
|
2022-08-03 02:10:28 -05:00
|
|
|
loop:
|
|
|
|
- "{{ xdg_data_home }}"
|
|
|
|
- "{{ xdg_bin_home }}"
|
2022-08-02 20:44:59 -05:00
|
|
|
environment:
|
|
|
|
XDG_DATA_HOME: "{{ xdg_data_home }}"
|
|
|
|
XDG_CONFIG_HOME: "{{ xdg_config_home }}"
|
2022-08-03 01:34:28 -05:00
|
|
|
XDG_BIN_HOME: "{{ xdg_bin_home }}"
|
2022-08-02 20:44:59 -05:00
|
|
|
CARGO_HOME: "{{ cargo_home }}"
|
|
|
|
RUSTUP_HOME: "{{ rustup_home }}"
|
2022-08-03 01:10:33 -05:00
|
|
|
GOPATH: "{{ gopath }}"
|
2022-08-03 01:34:28 -05:00
|
|
|
PATH: "{{ ansible_env.PATH }}:{{ gopath }}/bin:{{ cargo_home }}/bin:{{ xdg_bin_home }}"
|
2022-08-01 00:50:24 -05:00
|
|
|
roles:
|
2022-08-01 18:15:50 -05:00
|
|
|
- role: git
|
2022-08-01 21:46:58 -05:00
|
|
|
tags:
|
|
|
|
- git
|
2022-08-02 02:38:40 -05:00
|
|
|
- role: deploy-files
|
|
|
|
tags:
|
|
|
|
- deploy
|
2022-08-01 01:48:49 -05:00
|
|
|
- role: zsh
|
2022-08-01 21:46:58 -05:00
|
|
|
tags:
|
|
|
|
- zsh
|
2022-08-01 21:04:11 -05:00
|
|
|
- role: nvim
|
2022-08-01 21:46:58 -05:00
|
|
|
tags:
|
|
|
|
- nvim
|
2022-10-16 16:23:49 -05:00
|
|
|
- role: arch-post-setup
|
|
|
|
tags:
|
|
|
|
- arch
|
|
|
|
when: ansible_facts.distribution == 'Archlinux'
|