Class: Ansible::Ruby::Modules::Win_command

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_command.rb

Overview

The C(win_command) module takes the command name followed by a list of space-delimited arguments. The given command will be executed on all selected nodes. It will not be processed through the shell, so variables like C($env:HOME) and operations like C(“<”), C(“>”), C(“|”), and C(“;”) will not work (use the M(win_shell) module if you need these features). For non-Windows targets, use the M(command) module instead.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#chdirString?



25
# File 'lib/ansible/ruby/modules/generated/windows/win_command.rb', line 25

attribute :chdir

#createsString?



18
# File 'lib/ansible/ruby/modules/generated/windows/win_command.rb', line 18

attribute :creates

#free_formObject



14
# File 'lib/ansible/ruby/modules/generated/windows/win_command.rb', line 14

attribute :free_form

#removesObject?



22
# File 'lib/ansible/ruby/modules/generated/windows/win_command.rb', line 22

attribute :removes

#stdinString?



29
# File 'lib/ansible/ruby/modules/generated/windows/win_command.rb', line 29

attribute :stdin