roles/nginx: Do a shallow clone of WordPress git

I realized there was no need to do a full clone when I was working
in a Vagrant environment in a coffee shop with slow Internet. ;)

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-06-01 14:32:05 +03:00
parent 636d37f5a3
commit 4b74964963
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
with_items: nginx_tls_vhosts with_items: nginx_tls_vhosts
- name: Install WordPress - name: Install WordPress
git: repo=https://github.com/WordPress/WordPress.git dest={{ nginx_root_prefix }}/{{ item.nginx_domain_name }}/wordpress version={{ item.wordpress_version }} git: repo=https://github.com/WordPress/WordPress.git dest={{ nginx_root_prefix }}/{{ item.nginx_domain_name }}/wordpress version={{ item.wordpress_version }} depth=1
when: item.has_wordpress == 'yes' when: item.has_wordpress == 'yes'
with_items: nginx_tls_vhosts with_items: nginx_tls_vhosts
tags: wordpress tags: wordpress

View File

@ -11,7 +11,7 @@
with_items: nginx_vhosts with_items: nginx_vhosts
- name: Install WordPress - name: Install WordPress
git: repo=https://github.com/WordPress/WordPress.git dest={{ nginx_root_prefix }}/{{ item.nginx_domain_name }}/wordpress version={{ item.wordpress_version }} git: repo=https://github.com/WordPress/WordPress.git dest={{ nginx_root_prefix }}/{{ item.nginx_domain_name }}/wordpress version={{ item.wordpress_version }} depth=1
when: item.has_wordpress == 'yes' when: item.has_wordpress == 'yes'
with_items: nginx_vhosts with_items: nginx_vhosts
tags: wordpress tags: wordpress