Class: Ansible::Ruby::Modules::Macports

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/packaging/os/macports.rb

Overview

Manages MacPorts packages (ports)

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#nameString

Returns A list of port names.

Returns:

  • A list of port names.



12
# File 'lib/ansible/ruby/modules/generated/packaging/os/macports.rb', line 12

attribute :name

#state:present, ...

Returns Indicates the desired state of the port.

Returns:

  • Indicates the desired state of the port.



16
# File 'lib/ansible/ruby/modules/generated/packaging/os/macports.rb', line 16

attribute :state

#update_ports:yes, ...

Returns Update the ports tree first.

Returns:

  • Update the ports tree first.



20
# File 'lib/ansible/ruby/modules/generated/packaging/os/macports.rb', line 20

attribute :update_ports

#variantString?

Returns A port variant specification.,C(variant) is only supported with state: I(installed)/I(present).

Returns:

  • A port variant specification.,C(variant) is only supported with state: I(installed)/I(present).



24
# File 'lib/ansible/ruby/modules/generated/packaging/os/macports.rb', line 24

attribute :variant