From 5fa98c2a1e10f664afeb07f1645c2969487e65c6 Mon Sep 17 00:00:00 2001 From: Oleg Vasilev Date: Wed, 26 Jan 2022 00:46:19 +0300 Subject: [PATCH] Minor fixes --- tasks/packages.yml | 6 ++++-- tasks/pacman.yml | 4 ++-- tasks/system.yml | 6 +++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/tasks/packages.yml b/tasks/packages.yml index 0ccbbe6..5ff6eaf 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -1,9 +1,10 @@ --- -- name: Packages | Install useful packages +- name: Common | Install useful packages pacman: state: present update_cache: yes +# Move this to vars and add additional variable for custom packages name: - htop - nano @@ -19,9 +20,10 @@ - gptfdisk - bash-completion - git + - bind #- block: -# - name: Packages | Install yay from aur +# - name: Common | Install yay from aur # aur: # name: yay # use: makepkg diff --git a/tasks/pacman.yml b/tasks/pacman.yml index e6a9d8b..d8a6ad8 100644 --- a/tasks/pacman.yml +++ b/tasks/pacman.yml @@ -1,6 +1,6 @@ --- -- name: Deploy pacman main config +- name: Common | Deploy pacman main config template: src: pacman.conf.j2 dest: /etc/pacman.conf @@ -8,7 +8,7 @@ owner: root group: root -- name: Setup pacman repos +- name: Common | Setup pacman repos template: src: mirrorlist.j2 dest: /etc/pacman.d/mirrorlist diff --git a/tasks/system.yml b/tasks/system.yml index 126d37f..e9c1c46 100644 --- a/tasks/system.yml +++ b/tasks/system.yml @@ -1,6 +1,6 @@ --- -- name: System | Set or/and generate locales +- name: Common | Set or/and generate locales template: src: locale.gen.j2 dest: /etc/locale.gen @@ -9,7 +9,7 @@ group: root notify: System | Generate locales -- name: System | Set system locale +- name: Common | Set system locale template: src: locale.conf.j2 mode: 0644 @@ -17,7 +17,7 @@ group: root dest: /etc/locale.conf -- name: System | Set timezone +- name: Common | Set timezone timezone: name: Europe/Moscow