infrastructure/ansible/plays/thonkpad.yaml
Tobias Manske 697f55d3c3
All checks were successful
continuous-integration/drone/push Build is passing
fixup! Deploy udev rule
2023-12-06 13:05:56 +01:00

28 lines
817 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}