File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11---
2+ - name : " Get configuration directory's .git stats"
3+ stat : path={{nginx_drupal_config_path}}/.git
4+ register : nginx_drupal_config_path_dot_git
25- name : " Remove existing configurarion directory"
36 file : path={{nginx_drupal_config_path}} state=absent
7+ when : nginx_drupal_config_path_dot_git.stat.exists == false
48- name : " Checkout configuration directory"
59 git : dest={{nginx_drupal_config_path}} repo={{nginx_drupal_git.repo}} version={{nginx_drupal_git.version}}
610 notify :
711 - reload nginx
8- - name : " Remove example.com configurarion file"
12+ - name : " Remove example.com configuration file"
913 file : path={{nginx_drupal_config_path}}/sites-available/example.com.conf state=absent
Original file line number Diff line number Diff line change 11---
22# tasks file for nginx-drupal
3- - name : " Get configuration directory's .git stats"
4- stat : path={{nginx_drupal_config_path}}/.git
5- register : nginx_drupal_config_path_dot_git
63- include : git-checkout.yml
7- when : nginx_drupal_config_path_dot_git.stat.exists == false
84- name : " Create microcache directory"
95 file : path=/var/cache/nginx/microcache state=directory
106 when : nginx_drupal_microcache
You can’t perform that action at this time.
0 commit comments