Class: Ansible::Ruby::Modules::Dpkg_selections

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

Overview

Change dpkg package selection state via –get-selections and –set-selections.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#nameString

Returns Name of the package.

Returns:

  • (String)

    Name of the package



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

attribute :name

#selection:install, ...

Returns The selection state to set the package to.

Returns:

  • (:install, :hold, :deinstall, :purge)

    The selection state to set the package to.



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

attribute :selection