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: