lib/taperole/commands/ansible.rb in taperole-1.7.1 vs lib/taperole/commands/ansible.rb in taperole-1.8.0
- old
+ new
@@ -30,10 +30,14 @@
desc: 'Only run plays and tasks tagged with these values'
class_option :role,
aliases: :r,
type: :string,
desc: 'Name of the role to operate on'
+ class_option :extras,
+ aliases: :e,
+ type: :string,
+ desc: 'Extra variables to be passed into ansible'
class_option :'ask-vault-pass', type: :boolean, desc: 'Ask for Ansible vault password'
class_option :book,
aliases: :b,
@@ -47,10 +51,10 @@
end
desc 'deploy', 'Deploy the latest version of the app'
def deploy
Taperole::Notifier.register_notifiers(options)
- ansible_deploy(args: '-t be_deploy,fe_deploy', options: options)
+ ansible_deploy(options: options)
end
end
end
end