Class: Ansible::Ruby::Modules::At

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/system/at.rb

Overview

Use this module to schedule a command or script file to run once in the future. All jobs are executed in the ‘a’ queue.

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

#commandString?

Returns A command to be executed in the future.

Returns:

  • (String, nil)

    A command to be executed in the future.



13
# File 'lib/ansible/ruby/modules/generated/system/at.rb', line 13

attribute :command

#countInteger

Returns The count of units in the future to execute the command or script file.

Returns:

  • (Integer)

    The count of units in the future to execute the command or script file.



20
# File 'lib/ansible/ruby/modules/generated/system/at.rb', line 20

attribute :count

#script_fileObject?

Returns An existing script file to be executed in the future.

Returns:

  • (Object, nil)

    An existing script file to be executed in the future.



17
# File 'lib/ansible/ruby/modules/generated/system/at.rb', line 17

attribute :script_file

#state:absent, ...

Returns The state dictates if the command or script file should be evaluated as present(added) or absent(deleted).

Returns:

  • (:absent, :present, nil)

    The state dictates if the command or script file should be evaluated as present(added) or absent(deleted).



28
# File 'lib/ansible/ruby/modules/generated/system/at.rb', line 28

attribute :state

#unique:yes, ...

Returns If a matching job is present a new job will not be added.

Returns:

  • (:yes, :no, nil)

    If a matching job is present a new job will not be added.



32
# File 'lib/ansible/ruby/modules/generated/system/at.rb', line 32

attribute :unique

#units:minutes, ...

Returns The type of units in the future to execute the command or script file.

Returns:

  • (:minutes, :hours, :days, :weeks)

    The type of units in the future to execute the command or script file.



24
# File 'lib/ansible/ruby/modules/generated/system/at.rb', line 24

attribute :units