1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-28 17:57:22 +03:00

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

This commit is contained in:
Jan Orel 2022-05-09 08:13:31 +02:00 committed by GitHub
parent 0b84f8f0eb
commit 4e6d87f12c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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