Fixes and updates

Added home variable for the home folder, defaults to username.
Edited neofetch config so it runs faster.
Added mukti and ctrl-c.club variables.
This commit is contained in:
2022-03-24 15:18:47 +00:00
parent 425ac598a4
commit fc8fc4e9c8
11 changed files with 95 additions and 63 deletions

View File

@@ -2,7 +2,7 @@
when: update
block:
- name: Install packages (pacman)
when: "'pacman' in group_names"
when: package_manager == 'pacman' or 'pacman' in group_names
tags: pacman
block:
- name: Install the good stuff (pacman)
@@ -19,7 +19,7 @@
- "{{ packages }}"
- name: Install packages (apk)
when: "'apk' in group_names or 'alpine' in group_names"
when: package_manager == 'apk' or 'apk' in group_names or 'alpine' in group_names
tags: apk
block:
- name: Install the good stuff (apk)
@@ -36,7 +36,7 @@
- "{{ packages }}"
- name: Install packages (apt)
when: "'apt' in group_names"
when: package_manager == 'apt' or 'apt' in group_names
tags: apt
block:
- name: Install the good stuff (apt)
@@ -60,8 +60,8 @@
tags: system
- name: Configure user configs
when: "'user' in setup"
when: "'user' in setup and ('neofetch' in packages or 'neofetch' in extra_packages)"
block:
- name: Add ~/.config/neofetch/
copy: src=neofetch dest=/home/{{ name }}/.config/neofetch owner={{ name }} group={{ name }} mode=0755
copy: src=neofetch dest={{ home }}/.config owner={{ name }} group={{ group }} mode=0755
tags: config