Class: Ansible::Ruby::Modules::Add_host
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Add_host
- Defined in:
- lib/ansible/ruby/modules/generated/core/inventory/add_host.rb
Instance Method Summary collapse
-
#groups ⇒ String?
The groups to add the hostname to, comma separated.
-
#name ⇒ String
The hostname/ip of the host to add to the inventory, can include a colon and a port number.
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
#groups ⇒ String?
Returns The groups to add the hostname to, comma separated.
14 |
# File 'lib/ansible/ruby/modules/generated/core/inventory/add_host.rb', line 14 attribute :groups |
#name ⇒ String
Returns The hostname/ip of the host to add to the inventory, can include a colon and a port number.
10 |
# File 'lib/ansible/ruby/modules/generated/core/inventory/add_host.rb', line 10 attribute :name |