aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-06 00:01:29 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-06 00:01:29 +0200
commit650b03d7089c4c2b8fae9f97fd20b8afcf54234a (patch)
tree8135a7b210488b2ae7f41a42a17773dc3b068589
parentinventory: enable pi2 back for now (diff)
downloadmaintenance-650b03d7089c4c2b8fae9f97fd20b8afcf54234a.tar.gz
maintenance-650b03d7089c4c2b8fae9f97fd20b8afcf54234a.zip
my_server: check w/ sudo
-rw-r--r--roles/my_server/tasks/main.yml1
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