aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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