ansible/roles/common/tasks/main.yml

18 lines
574 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
- cacert-dot-org
- the_silver_searcher
- 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