20 lines
466 B
YAML
20 lines
466 B
YAML
|
# vim: ft=yaml.ansible
|
||
|
---
|
||
|
- name: Create .env for apt-update-push
|
||
|
ansible.builtin.template:
|
||
|
src: env.j2
|
||
|
dest: /home/{{ ansible_user }}/apt-update-push/.env
|
||
|
owner: root
|
||
|
mode: u=rw,go=
|
||
|
listen: apt-update-push
|
||
|
|
||
|
- name: Install apt-update-push
|
||
|
ansible.builtin.command: /home/{{ ansible_user }}/apt-update-push/install.sh
|
||
|
listen: apt-update-push
|
||
|
|
||
|
- name: Restart sshd
|
||
|
ansible.builtin.service:
|
||
|
name: sshd
|
||
|
state: restarted
|
||
|
listen: sshd
|