machine_setup/ansible/roles/sway/tasks/freebsd.yaml
2023-02-01 23:14:20 -05:00

33 lines
618 B
YAML

- name: Install packages
package:
name:
- xeyes
- xauth # for ssh x11 forwarding
- wev # For debugging input
- wlogout # Log out prompt
state: present
- name: Install service configuration
copy:
src: "files/{{ item }}_rc.conf"
dest: "/etc/rc.conf.d/{{ item }}"
mode: 0644
owner: root
group: wheel
loop:
- seatd
- dbus
- name: Install scripts
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0755
owner: root
group: wheel
loop:
- src: launch_sway_freebsd.bash
dest: /usr/local/bin/launch_sway