lib/tape/ansible_runner.rb in taperole-1.3.6 vs lib/tape/ansible_runner.rb in taperole-1.4.0
- old
+ new
@@ -39,10 +39,10 @@
action :deploy,
proc { ansible_deploy '-t be_deploy,fe_deploy' },
"Checks out app code, installs dependencies and restarts unicorns for "\
"both FE and BE code."
action :everything,
- proc { ansible if valid_preconfigs },
+ proc { valid_preconfigs ? ansible : puts("Not a Rails or JS app") },
"This does it all."
def initialize(*args)
super
register_notifiers