Module: Ansible
- Extended by:
- Ansible
- Includes:
- Config, Methods, PlaybookMethods
- Included in:
- Ansible
- Defined in:
- lib/ansible/ad_hoc.rb,
lib/ansible/config.rb,
lib/ansible/output.rb,
lib/ansible-wrapper.rb,
lib/ansible/version.rb,
lib/ansible/playbook.rb,
lib/ansible/playbook.rb,
lib/ansible/shortcuts.rb
Defined Under Namespace
Modules: AdHoc, Config, Methods, Output, Playbook, PlaybookMethods, SafePty
Constant Summary collapse
- VERSION =
'0.2.1'
Constants included from PlaybookMethods
Constants included from Methods
Constants included from Config
Config::PATH, Config::SKIP_HOSTVARS
Instance Method Summary collapse
Methods included from PlaybookMethods
Methods included from Methods
#list_hosts, #one_off, #parse_host_vars
Methods included from Config
Instance Method Details
#<<(cmd) ⇒ Object
8 9 10 |
# File 'lib/ansible/shortcuts.rb', line 8 def <<(cmd) Playbook.stream cmd end |
#[](cmd) ⇒ Object
4 5 6 |
# File 'lib/ansible/shortcuts.rb', line 4 def [](cmd) AdHoc.run cmd end |
#enable_shortcuts! ⇒ Object
13 14 15 |
# File 'lib/ansible-wrapper.rb', line 13 def enable_shortcuts! require 'ansible/shortcuts' end |