Class: Ansible::Ruby::Modules::Expect

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/commands/expect.rb

Overview

The C(expect) module executes a command and responds to prompts. The given command will be executed on all selected nodes. It will not be processed through the shell, so variables like C($HOME) and operations like C(“<”), C(“>”), C(“|”), and C(“&”) will not work.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#chdirObject?



23
# File 'lib/ansible/ruby/modules/generated/commands/expect.rb', line 23

attribute :chdir

#commandString



13
# File 'lib/ansible/ruby/modules/generated/commands/expect.rb', line 13

attribute :command

#createsObject?



17
# File 'lib/ansible/ruby/modules/generated/commands/expect.rb', line 17

attribute :creates

#echoBoolean?



34
# File 'lib/ansible/ruby/modules/generated/commands/expect.rb', line 34

attribute :echo

#removesObject?



20
# File 'lib/ansible/ruby/modules/generated/commands/expect.rb', line 20

attribute :removes

#responsesHash



26
# File 'lib/ansible/ruby/modules/generated/commands/expect.rb', line 26

attribute :responses

#timeoutInteger?



30
# File 'lib/ansible/ruby/modules/generated/commands/expect.rb', line 30

attribute :timeout