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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/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, #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.



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

attribute :command

#countString

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

Returns:

  • (String)

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



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

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.



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

attribute :script_file

#state:present, ...

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

Returns:

  • (:present, :absent, nil)

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



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

attribute :state

#uniqueBoolean?

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

Returns:

  • (Boolean, nil)

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



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

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.



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

attribute :units