2023-12-01 22:34:59 +01:00
|
|
|
- name: Deploy udev rule
|
|
|
|
hosts: thonkpad.ka.chaoswg.org
|
|
|
|
tasks:
|
|
|
|
- name: Deploy udev rule
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: 99-usb-scanner.rules.j2
|
2023-12-06 13:05:56 +01:00
|
|
|
dest: /etc/udev/rules.d/99-usb-scanner.rules
|
2023-12-01 22:34:59 +01:00
|
|
|
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
|
|
|
|
|
2023-03-30 23:52:40 +02:00
|
|
|
- name: Setup Thonkpad
|
|
|
|
hosts: thonkpad.ka.chaoswg.org
|
|
|
|
vars:
|
2023-05-05 23:53:56 +02:00
|
|
|
state: running
|
2023-03-30 23:52:40 +02:00
|
|
|
roles:
|
|
|
|
- {role: compose_project, service: pantalaimon}
|
|
|
|
- {role: compose_project, service: wireguard}
|
|
|
|
- {role: compose_project, service: watchtower}
|
|
|
|
- {role: compose_project, service: gitea-runner}
|
2023-10-28 16:05:57 +02:00
|
|
|
- {role: compose_project, service: offlineimap}
|