1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

M #-: Don't require sudo for local tasks (#2017)

(cherry picked from commit 4e6d87f12c8ec201569bf2c8d49b49f2141bf9a1)
This commit is contained in:
Jan Orel 2022-05-09 08:13:31 +02:00 committed by Ruben S. Montero
parent bb560ae948
commit 8f527101bd
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -20,12 +20,14 @@
- name: Check for /var/lib/one/.ssh/id_rsa.pub
delegate_to: localhost
become: no
stat:
path: /var/lib/one/.ssh/id_rsa.pub
register: stat_id_rsa_pub
- name: Check for /var/lib/one/.ssh/known_hosts
delegate_to: localhost
become: no
stat:
path: /var/lib/one/.ssh/known_hosts
register: stat_known_hosts