infrastructure/ansible/plays/thonkpad.yaml
2023-12-01 22:34:59 +01:00

28 lines
797 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/
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}