Method: Ansible::Ruby::Modules::Apk#state

Defined in:
lib/ansible/ruby/modules/generated/packaging/os/apk.rb

#state:present, ...

Returns Indicates the desired package(s) state.,C(present) ensures the package(s) is/are present.,C(absent) ensures the package(s) is/are absent.,C(latest) ensures the package(s) is/are present and the latest version(s).

Returns:

  • (:present, :absent, :latest, nil)

    Indicates the desired package(s) state.,C(present) ensures the package(s) is/are present.,C(absent) ensures the package(s) is/are absent.,C(latest) ensures the package(s) is/are present and the latest version(s).



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

attribute :state