Module: Subspace::Commands::Ansible
- Included in:
- Base
- Defined in:
- lib/subspace/commands/ansible.rb
Instance Method Summary collapse
Instance Method Details
#ansible_command(command, *args) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/subspace/commands/ansible.rb', line 4 def ansible_command(command, *args) update_ansible_cfg Dir.chdir "config/provision" do say ">> Running #{command} #{args.join(' ')}" system(command, *args, out: $stdout, err: $stderr) say "<< Done" end end |