You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ffmyk-ansible/roles/install_tayga/tasks/main.yml

31 lines
631 B
YAML

---
- name: install tayga
pacman:
name: tayga
state: present
- name: tayga.conf
template:
src: tayga.conf.j2
dest: /etc/tayga.conf
mode: 0644
notify: restart tayga
- name: create systemd override folder
ansible.builtin.file:
path: /etc/systemd/system/tayga.service.d
state: directory
- name: systemd override.conf
template:
src: systemd_override.conf.j2
dest: /etc/systemd/system/tayga.service.d/override.conf
mode: 0644
notify: restart tayga
- name: start and enable tayga service
systemd:
name: tayga.service
enabled: yes
state: started