taperole 1.5.3 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c317d6c89397a7125a90db05faee3b9b00e2022
4
- data.tar.gz: 31c649c691e1e975e1174969ae0096d31f0e6c14
3
+ metadata.gz: 81255ad48472ca1749f725a4a5fe5ee4355516cd
4
+ data.tar.gz: 63a4c95a7d99362c296fd037a365caa5ee5c4be4
5
5
  SHA512:
6
- metadata.gz: ec6492244ca45e1a0873c03597156eaea50700cd91ce8fb7946694e1b8b4b5f9c10979674b72b73d2df154d128c63938d13f8020e55d6328ec53a59184f83422
7
- data.tar.gz: 88b6b0f68feb9167ac4edfb46d868b6dfc7d1021a440567cc97a9c650fad04bb90b491835327ebefb6612017ff3f63c35a374b5c90ad54a7d9854f60419edc04
6
+ metadata.gz: 25209eac2f52fc4850e0d578230f184b6e2cf6dd7e45b443043067cdd9268ea1557e622042960e9b6d8eb90492e19a407f1b861208e2c84c3ec372bc5ed7e48a
7
+ data.tar.gz: aeac0f2e3ef64be4b15bb544636000195886a14ef6444cde6e783271ef38cb5d88972280d14325d49f0b91506e84d6c38dd9e442c70641826a6bc7c1ce8dc606
@@ -1,14 +1,20 @@
1
+ - name: Check if path exists
2
+ stat: path={{ fe_app_path }}
3
+ register: fe_app_path_stat
4
+ tags: [fe_deploy]
5
+
1
6
  - name: Check if there are commited changes on {{ fe_app_branch }}
2
7
  remote_user: "{{ deployer_user.name }}"
3
8
  command: bash -lc "git fetch origin && git diff --name-only origin/{{ fe_app_branch }}"
4
9
  args:
5
10
  chdir: "{{fe_app_path}}"
6
11
  register: changes_on_remote
12
+ when: fe_app_path_stat.stat.exists
7
13
  tags: [fe_deploy]
8
14
 
9
15
  - name: Inform User if there are no changes
10
16
  debug: msg={{no_changes_found_error.split('\n')}}
11
- when: changes_on_remote.stdout_lines == []
17
+ when: fe_app_path_stat.stat.exists and changes_on_remote.stdout_lines == []
12
18
  tags: [fe_deploy]
13
19
 
14
20
  - name: clone the FE app
data/taperole.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "taperole"
3
- spec.version = '1.5.3'
3
+ spec.version = '1.5.4'
4
4
  spec.authors = ['Jack Forrest', 'Smashing Boxes', 'Brandon Mathis']
5
5
  spec.description = "General purpose server provisioning and application deployment toolkit"
6
6
  spec.email = ['jack@smashingboxes.com', 'brandon@sbox.es']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taperole
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Forrest