Created
August 30, 2017 09:16
-
-
Save inish777/4c2774bd77971079e1d087c651d4afae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: webservers | |
tasks: | |
- name: checkout chehol git repo | |
become: true | |
become_user: chehol | |
git: | |
repo: ssh://git@gitlab.aguru.biz:2222/aguru/chehol.pro.git | |
dest: /home/chehol/chehol.pro | |
force: yes | |
tags: | |
- chehol | |
- name: build chehol assets | |
become: true | |
become_user: chehol | |
command: gulp | |
args: | |
chdir: '/home/chehol/chehol.pro/dev' | |
tags: | |
- chehol | |
- name: reset chehol cloudflare cache | |
run_once: true | |
command: >- | |
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/a150d2b4560353c13bc8f4a2a367e11c/purge_cache" | |
-H "X-Auth-Email: mail@aguru.biz" | |
-H "X-Auth-Key: 441870da59ef9ab95c22118006e50472d7e4e" | |
-H "Content-Type: application/json" | |
--data '{"purge_everything":true}' | |
tags: | |
- chehol | |
- name: checkout navolne git repo | |
become: true | |
become_user: chehol | |
git: | |
repo: ssh://git@gitlab.aguru.biz:2222/aguru/navolne.pro.git | |
dest: /home/chehol/navolne.pro | |
force: yes | |
tags: | |
- navolne | |
- name: reset navolne cloudflare cache | |
run_once: true | |
command: >- | |
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/4df1d84e91d487e0a643f32acd0951ae/purge_cache" | |
-H "X-Auth-Email: mail@aguru.biz" | |
-H "X-Auth-Key: 441870da59ef9ab95c22118006e50472d7e4e" | |
-H "Content-Type: application/json" | |
--data '{"purge_everything":true}' | |
tags: | |
- navolne |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment