ansible/roles/common/tasks/main.yml
2015-04-09 10:31:10 +00:00

22 lines
660 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
- ca-certificates-dn42
- 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