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:
parent
636d37f5a3
commit
4b74964963
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user