Class: Ansible::Ruby::Modules::Win_environment
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_environment
- Defined in:
- lib/ansible/ruby/modules/generated/extras/windows/win_environment.rb
Instance Method Summary collapse
-
#level ⇒ :machine, ...
The level at which to set the environment variable.,Use ‘machine’ to set for all users.,Use ‘user’ to set for the current user that ansible is connected as.,Use ‘process’ to set for the current process.
-
#name ⇒ String
The name of the environment variable.
-
#state ⇒ :present, ...
Present to ensure environment variable is set, or absent to ensure it is removed.
-
#value ⇒ String?
The value to store in the environment variable.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#level ⇒ :machine, ...
Returns The level at which to set the environment variable.,Use ‘machine’ to set for all users.,Use ‘user’ to set for the current user that ansible is connected as.,Use ‘process’ to set for the current process. Probably not that useful.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_environment.rb', line 22 attribute :level |
#name ⇒ String
Returns The name of the environment variable.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_environment.rb', line 14 attribute :name |
#state ⇒ :present, ...
Returns present to ensure environment variable is set, or absent to ensure it is removed.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_environment.rb', line 10 attribute :state |
#value ⇒ String?
Returns The value to store in the environment variable. Can be omitted for state=absent.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_environment.rb', line 18 attribute :value |