nrec-ansible/project/roles/vault/tasks/main.yml
Torjus Håkestad 1f89e315a0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Add vault role
2022-01-11 15:27:46 +01:00

18 lines
353 B
YAML

---
- name: Create service file
ansible.builtin.template:
src: vault.service.j2
dest: /etc/systemd/system/vault.service
notify:
- reload systemd
- name: Ensure service is started
ansible.builtin.systemd:
state: started
name: vault
- name: Ensure service is enabled
ansible.builtin.systemd:
enabled: yes
name: vault