arch-setup/roles/arch/tasks/main.yml
Sonny Bakker 1c80c7277f Disable reflector service
This service is started through the weekly timer
2020-11-26 21:54:50 +01:00

51 lines
1.2 KiB
YAML

- name: load desktop specific vars
include_vars: desktop.yml
when: platform == "desktop"
- name: load laptop specific vars
include_vars: laptop.yml
when: platform == "laptop"
- name: install shared packages
become: yes
pacman:
name: "{{ packages }}"
- name: install platform specific packages
become: yes
pacman:
name: "{{ platform_packages }}"
- name: copy firewall template
become: yes
template:
src: "{{ platform }}/nftables.j2"
dest: "/etc/nftables.conf"
owner: root
group: root
mode: "0600"
notify: restart nftables
- 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: network.yml
- 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