3
0
forked from jakub/ansible
This commit is contained in:
martin.fencl
2025-11-26 14:14:50 +01:00
parent 3228778db9
commit 690d03e470

View File

@@ -93,8 +93,7 @@
# -------------------------
# Backup phase
# -------------------------
- name: Nextcloud | Run backup commands on VM (via SSH)
- name: Nextcloud | Run backup commands on VM (via SSH) # run plain commands via SSH
ansible.builtin.command:
argv:
- sshpass
@@ -105,8 +104,6 @@
- -o
- ConnectTimeout=15
- "{{ vm_user }}@{{ vm_ip }}"
- bash
- -lc
- "{{ ('sudo ' if use_sudo else '') + item }}"
environment:
SSHPASS: "{{ vm_pass }}"