16 lines
301 B
YAML
16 lines
301 B
YAML
---
|
|
- name: Deploy sshFwd
|
|
hosts: lavana
|
|
|
|
tasks:
|
|
- name: Copy build to remote
|
|
ansible.builtin.copy:
|
|
src: sshfwd
|
|
dest: /usr/local/bin/sshfwd
|
|
owner: root
|
|
group: root
|
|
- name: Restart service
|
|
systemd:
|
|
name: sshfwd
|
|
enabled: true
|
|
state: restarted |