Class: Subspace::Commands::Bootstrap
- Defined in:
- lib/subspace/commands/bootstrap.rb
Instance Method Summary collapse
-
#initialize(args, options) ⇒ Bootstrap
constructor
A new instance of Bootstrap.
- #run ⇒ Object
Methods inherited from Base
#copy, #dest_dir, #gem_path, #require_configuration, #template, #template_dir
Methods included from Ansible
Constructor Details
#initialize(args, options) ⇒ Bootstrap
Returns a new instance of Bootstrap.
2 3 4 5 6 7 |
# File 'lib/subspace/commands/bootstrap.rb', line 2 def initialize(args, ) @host_spec = args.first @ask_pass = .password @yum = .yum run end |
Instance Method Details
#run ⇒ Object
9 10 11 12 13 |
# File 'lib/subspace/commands/bootstrap.rb', line 9 def run # ansible atlanta -m copy -a "src=/etc/hosts dest=/tmp/hosts" install_python end |