Commit 4959c9f 1 parent 52849a7 commit 4959c9f Copy full SHA for 4959c9f
File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: .
3
3
specs:
4
- kitchen-yansible-pusher (0.3.0 )
4
+ kitchen-yansible-pusher (0.3.1 )
5
5
6
6
GEM
7
7
remote: https://rubygems.org/
59
59
rake (13.2.1 )
60
60
rbs (3.5.3 )
61
61
logger
62
- rexml (3.3.6 )
63
- strscan
62
+ rexml (3.3.7 )
64
63
rspec (3.13.0 )
65
64
rspec-core (~> 3.13.0 )
66
65
rspec-expectations (~> 3.13.0 )
67
66
rspec-mocks (~> 3.13.0 )
68
- rspec-core (3.13.0 )
67
+ rspec-core (3.13.1 )
69
68
rspec-support (~> 3.13.0 )
70
69
rspec-expectations (3.13.2 )
71
70
diff-lcs (>= 1.2.0 , < 2.0 )
82
81
unicode-display_width (>= 1.5 , < 3.0 )
83
82
unicode_utils (~> 1.4 )
84
83
strings-ansi (0.2.0 )
85
- strscan (3.1.0 )
86
84
test-kitchen (3.7.0 )
87
85
bcrypt_pbkdf (~> 1.0 )
88
86
chef-utils (>= 16.4.35 )
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
require 'kitchen/provisioner/base'
4
+ require 'kitchen/errors'
4
5
require_relative '../yansible/pusher/version'
5
6
require 'yaml'
6
7
@@ -72,6 +73,7 @@ def run_ansible
72
73
command = build_ansible_command
73
74
info ( "Running Ansible Command: #{ command } " )
74
75
system ( command )
76
+ raise Kitchen ::ActionFailed , 'Ansible playbook execution failed' unless $?. success?
75
77
end
76
78
77
79
def create_inventory
Original file line number Diff line number Diff line change 3
3
module Kitchen
4
4
module Yansible
5
5
module Pusher
6
- VERSION = "0.3.0 "
6
+ VERSION = "0.3.1 "
7
7
end
8
8
end
9
9
end
You can’t perform that action at this time.
0 commit comments