2014-08-18 08:12:54 +00:00
|
|
|
- name: update pacman cache
|
|
|
|
pacman: update_cache=yes
|
|
|
|
- name: install essential packages
|
|
|
|
pacman: name={{ item }} state=present
|
|
|
|
with_items:
|
|
|
|
- htop
|
|
|
|
- strace
|
|
|
|
- the_silver_searcher
|
2014-08-23 14:00:32 +00:00
|
|
|
- zsh
|
|
|
|
- git
|
2014-11-15 14:00:19 +00:00
|
|
|
- sudo
|
2015-04-09 10:31:10 +00:00
|
|
|
- ca-certificates-dn42
|
2014-08-06 07:10:15 +00:00
|
|
|
- locale_gen: name=de_DE.UTF-8 state=present
|
|
|
|
- locale_gen: name=en_DK.UTF-8 state=present
|
2015-01-14 20:14:49 +00:00
|
|
|
- command: /usr/bin/timedatectl set-timezone UTC
|
2015-04-09 15:37:55 +00:00
|
|
|
|
|
|
|
- name: common configuration
|
|
|
|
template: src={{ item.from }}.j2 dest={{ item.to }} mode=0644 backup=no
|
|
|
|
with_items:
|
|
|
|
- { from: hosts, to: /etc/hosts }
|
|
|
|
|
|
|
|
- name: common configuration
|
|
|
|
copy: src={{ item.from }} dest={{ item.to }}
|
|
|
|
with_items:
|
|
|
|
- { from: locale.conf, to: /etc/locale.conf }
|
|
|
|
- { from: whois.conf, to: /etc/whois.conf }
|
|
|
|
- { from: resolv.conf, to: /etc/resolv.conf }
|
|
|
|
- { from: logind.conf, to: /etc/systemd/system/logind.conf }
|