Class: Ansible::Ruby::Modules::Win_xml
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_xml
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_xml.rb
Overview
Adds XML fragments formatted as strings to existing XML on remote servers.
Instance Method Summary collapse
-
#attribute ⇒ String?
The attribute name if the type is ‘attribute’.
-
#backup ⇒ :yes, ...
Whether to backup the remote server’s XML before applying the change.
-
#fragment ⇒ Array<String>, String
The string representation of the XML fragment to be added.
-
#path ⇒ String
The path of remote servers XML.
-
#type ⇒ :element, ...
The type of XML you are working with.
-
#xpath ⇒ String
The node of the remote server XML where the fragment will go.
Methods inherited from Base
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
#attribute ⇒ String?
Returns The attribute name if the type is ‘attribute’. Required if C(type=attribute).
32 |
# File 'lib/ansible/ruby/modules/generated/windows/win_xml.rb', line 32 attribute :attribute |
#backup ⇒ :yes, ...
Returns Whether to backup the remote server’s XML before applying the change.
24 |
# File 'lib/ansible/ruby/modules/generated/windows/win_xml.rb', line 24 attribute :backup |
#fragment ⇒ Array<String>, String
Returns The string representation of the XML fragment to be added.
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_xml.rb', line 16 attribute :fragment |
#path ⇒ String
Returns The path of remote servers XML.
12 |
# File 'lib/ansible/ruby/modules/generated/windows/win_xml.rb', line 12 attribute :path |
#type ⇒ :element, ...
Returns The type of XML you are working with.
28 |
# File 'lib/ansible/ruby/modules/generated/windows/win_xml.rb', line 28 attribute :type |
#xpath ⇒ String
Returns The node of the remote server XML where the fragment will go.
20 |
# File 'lib/ansible/ruby/modules/generated/windows/win_xml.rb', line 20 attribute :xpath |