From fd12c831380b0e1f0a11ef0849485a050ea6d704 Mon Sep 17 00:00:00 2001 From: s0dy Date: Sun, 18 Nov 2018 18:55:01 +0100 Subject: [PATCH] owner --- .ansible-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ansible-ci.yml b/.ansible-ci.yml index 4eb01bd..d4492ac 100644 --- a/.ansible-ci.yml +++ b/.ansible-ci.yml @@ -6,7 +6,9 @@ tasks: - name: Delete last deploy - command: rm -rf /var/www/html/* + file: + path: /var/www/html/ + state: absent - name: Copy all files to web server synchronize: