Class: Ansible::Ruby::Modules::Win_domain_membership
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_domain_membership
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_domain_membership.rb
Overview
Manages domain membership or workgroup membership for a Windows host. Also supports hostname changes. This module may require subsequent use of the M(win_reboot) action if changes are made.
Instance Method Summary collapse
-
#dns_domain_name ⇒ Object?
When C(state) is C(domain), the DNS name of the domain to which the targeted Windows host should be joined.
-
#domain_admin_password ⇒ Object?
Password for the specified C(domain_admin_user).
-
#domain_admin_user ⇒ Object
Username of a domain admin for the target domain (required to join or leave the domain).
-
#domain_ou_path ⇒ Object?
The desired OU path for adding the computer object.,This is only used when adding the target host to a domain, if it is already a member then it is ignored.
-
#hostname ⇒ Object?
The desired hostname for the Windows host.
-
#state ⇒ :domain, ...
Whether the target host should be a member of a domain or workgroup.
-
#workgroup_name ⇒ Object?
When C(state) is C(workgroup), the name of the workgroup that the Windows host should be in.
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
#dns_domain_name ⇒ Object?
Returns When C(state) is C(domain), the DNS name of the domain to which the targeted Windows host should be joined.
13 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_membership.rb', line 13 attribute :dns_domain_name |
#domain_admin_password ⇒ Object?
Returns Password for the specified C(domain_admin_user).
20 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_membership.rb', line 20 attribute :domain_admin_password |
#domain_admin_user ⇒ Object
Returns Username of a domain admin for the target domain (required to join or leave the domain).
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_membership.rb', line 16 attribute :domain_admin_user |
#domain_ou_path ⇒ Object?
Returns The desired OU path for adding the computer object.,This is only used when adding the target host to a domain, if it is already a member then it is ignored.
26 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_membership.rb', line 26 attribute :domain_ou_path |
#hostname ⇒ Object?
Returns The desired hostname for the Windows host.
23 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_membership.rb', line 23 attribute :hostname |
#state ⇒ :domain, ...
Returns Whether the target host should be a member of a domain or workgroup.
29 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_membership.rb', line 29 attribute :state |
#workgroup_name ⇒ Object?
Returns When C(state) is C(workgroup), the name of the workgroup that the Windows host should be in.
33 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_membership.rb', line 33 attribute :workgroup_name |