arch-setup/roles/arch/tasks/main.yml

38 lines
962 B
YAML

- name: install shared packages
become: yes
pacman:
name: "{{ packages }}"
- name: detecting platform
include_tasks: platform.yml
- name: install platform specific packages
become: yes
pacman:
name: "{{ platform_packages }}"
- name: configuring network
include_tasks: network.yml
- name: copy reflector configuration
become: yes
template:
src: "reflector.j2"
dest: "/etc/xdg/reflector/reflector.conf"
owner: root
group: root
mode: "0600"
notify: disable reflector
# TODO
# - pacman setup depending on platform (see include section for common options)
# - laptop power saving configuration
- include_tasks: mpv.yml # TODO
- include_tasks: mpd.yml # TODO
- include_tasks: nfs.yml # TODO
- include_tasks: postgres.yml # TODO
- include_tasks: syncthing.yml # TODO depending on platform
- include_tasks: git.yml # TODO (identify)
- include_tasks: openvpn.yml # TODO depending on platform
- include_tasks: timer.yml