2022-01-26 00:39:23 +03:00
|
|
|
---
|
|
|
|
|
2022-02-22 01:46:02 +03:00
|
|
|
- name: Common | Set available locales
|
|
|
|
template:
|
|
|
|
src: locale.gen.j2
|
|
|
|
dest: /etc/locale.gen
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
notify: Common | Generate locales
|
2022-01-26 00:39:23 +03:00
|
|
|
|
|
|
|
- name: Common | Run handlers
|
|
|
|
meta: flush_handlers
|
2022-02-22 01:46:02 +03:00
|
|
|
|
|
|
|
- name: Common | Set system locale
|
|
|
|
template:
|
|
|
|
src: locale.conf.j2
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
dest: /etc/locale.conf
|
|
|
|
|
|
|
|
|
|
|
|
- name: Common | Set timezone
|
|
|
|
timezone:
|
2022-02-22 01:51:42 +03:00
|
|
|
name: "{{ system_timezone }}"
|
2022-02-22 01:46:02 +03:00
|
|
|
|
|
|
|
|
|
|
|
- name: Common | Deploy pacman main config
|
|
|
|
template:
|
|
|
|
src: pacman.conf.j2
|
|
|
|
dest: /etc/pacman.conf
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
|
|
|
|
- name: Common | Setup pacman repos
|
|
|
|
template:
|
|
|
|
src: mirrorlist.j2
|
|
|
|
dest: /etc/pacman.d/mirrorlist
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
|
|
|
|
- name: Common | Install useful common packages
|
|
|
|
pacman:
|
|
|
|
state: present
|
|
|
|
name: "{{ common_packages }}"
|