Class: Ansible::Ruby::Modules::Group
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Group
- Defined in:
- lib/ansible/ruby/modules/generated/core/system/group.rb
Overview
Manage presence of groups on a host.
Instance Method Summary collapse
-
#gid ⇒ Object?
Optional I(GID) to set for the group.
-
#name ⇒ String
Name of the group to manage.
-
#state ⇒ :present, ...
Whether the group should be present or not on the remote host.
-
#system ⇒ :yes, ...
If I(yes), indicates that the group created is a system group.
Methods inherited from Base
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
#gid ⇒ Object?
15 |
# File 'lib/ansible/ruby/modules/generated/core/system/group.rb', line 15 attribute :gid |
#name ⇒ String
11 |
# File 'lib/ansible/ruby/modules/generated/core/system/group.rb', line 11 attribute :name |
#state ⇒ :present, ...
18 |
# File 'lib/ansible/ruby/modules/generated/core/system/group.rb', line 18 attribute :state |
#system ⇒ :yes, ...
22 |
# File 'lib/ansible/ruby/modules/generated/core/system/group.rb', line 22 attribute :system |