diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-05-06 00:01:29 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-05-06 00:01:29 +0200 |
commit | 650b03d7089c4c2b8fae9f97fd20b8afcf54234a (patch) | |
tree | 8135a7b210488b2ae7f41a42a17773dc3b068589 /roles/my_server | |
parent | inventory: enable pi2 back for now (diff) | |
download | maintenance-650b03d7089c4c2b8fae9f97fd20b8afcf54234a.tar.gz maintenance-650b03d7089c4c2b8fae9f97fd20b8afcf54234a.zip |
my_server: check w/ sudo
Diffstat (limited to 'roles/my_server')
-rw-r--r-- | roles/my_server/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/my_server/tasks/main.yml b/roles/my_server/tasks/main.yml index 05ef180..d88bb86 100644 --- a/roles/my_server/tasks/main.yml +++ b/roles/my_server/tasks/main.yml @@ -1,4 +1,5 @@ - name: 'Check if {{ server_dir }}/docker-compose.yml exists' + become: true stat: path: '{{ server_dir }}/docker-compose.yml' register: server_exists |