25 lines
742 B
YAML
25 lines
742 B
YAML
- name: resolv.conf
|
|
template: src=resolv.conf.j2 dest=/etc/resolv.conf mode=0644 backup=yes
|
|
- name: locale.conf
|
|
template: src=locale.conf.j2 dest=/etc/locale.conf mode=0644 backup=yes
|
|
- name: update pacman cache
|
|
pacman: update_cache=yes
|
|
- name: install essential packages
|
|
pacman: name={{ item }} state=present
|
|
with_items:
|
|
- htop
|
|
- strace
|
|
- the_silver_searcher
|
|
- zsh
|
|
- git
|
|
- sudo
|
|
- name: remove deprecated packages
|
|
pacman: name={{ item }} state=absent
|
|
with_items:
|
|
- cacert-dot-org
|
|
- name: /etc/hosts
|
|
template: src=hosts.j2 dest=/etc/hosts mode=0644 backup=yes
|
|
- locale_gen: name=de_DE.UTF-8 state=present
|
|
- locale_gen: name=en_DK.UTF-8 state=present
|
|
- command: /usr/bin/timedatectl set-timezone UTC
|