- 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 - name: copy pacman configuration become: yes template: src: "pacman.j2" dest: "/etc/pacman.conf" owner: root group: root mode: "0644" - name: create extra conf become: yes file: path: "/etc/pacman.d/extra.conf" owner: root group: root state: touch mode: "0644" # TODO # - laptop power saving configuration # - laptop pacman specific configuration - include_tasks: systemd.yml - include_tasks: gpg.yml # TODO - include_tasks: git.yml # TODO - include_tasks: mpv.yml - include_tasks: mpd.yml - include_tasks: postgres.yml # TODO - include_tasks: syncthing.yml - include_tasks: openvpn.yml - include_tasks: timer.yml