29 lines
866 B
YAML
29 lines
866 B
YAML
- name: Deploy udev rule
|
|
hosts: thonkpad.ka.chaoswg.org
|
|
tasks:
|
|
- name: Deploy udev rule
|
|
ansible.builtin.template:
|
|
src: 99-usb-scanner.rules.j2
|
|
dest: /etc/udev/rules.d/99-usb-scanner.rules
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
notify:
|
|
- Reload udev rules
|
|
handlers:
|
|
- name: Reload udev rules
|
|
ansible.builtin.command: udevadm control --reload-rules && udevadm trigger
|
|
changed_when: false
|
|
|
|
- name: Setup Thonkpad
|
|
hosts: thonkpad.ka.chaoswg.org
|
|
vars:
|
|
state: running
|
|
roles:
|
|
- {role: compose_project, service: pantalaimon}
|
|
- {role: compose_project, service: wireguard}
|
|
- {role: compose_project, service: watchtower}
|
|
- {role: compose_project, service: gitea-runner}
|
|
- {role: compose_project, service: offlineimap}
|
|
- {role: compose_project, service: jellyfin}
|