Class: Ansible::Ruby::Modules::Cronvar
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cronvar
- Defined in:
- lib/ansible/ruby/modules/generated/system/cronvar.rb
Overview
Use this module to manage crontab variables. This module allows you to create, update, or delete cron variable definitions.
Instance Method Summary collapse
-
#backup ⇒ :yes, ...
If set, create a backup of the crontab before it is modified.
-
#cron_file ⇒ String?
If specified, uses this file instead of an individual user’s crontab.
-
#insertafter ⇒ Object?
If specified, the variable will be inserted after the variable specified.,Used with C(state=present).
-
#insertbefore ⇒ Object?
Used with C(state=present).
-
#name ⇒ String
Name of the crontab variable.
-
#state ⇒ :absent, ...
Whether to ensure that the variable is present or absent.
-
#user ⇒ String?
The specific user whose crontab should be modified.
-
#value ⇒ String?
The value to set this variable to.,Required if C(state=present).
Methods inherited from Base
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
#backup ⇒ :yes, ...
38 |
# File 'lib/ansible/ruby/modules/generated/system/cronvar.rb', line 38 attribute :backup |
#cron_file ⇒ String?
34 |
# File 'lib/ansible/ruby/modules/generated/system/cronvar.rb', line 34 attribute :cron_file |
#insertafter ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/system/cronvar.rb', line 20 attribute :insertafter |
#insertbefore ⇒ Object?
23 |
# File 'lib/ansible/ruby/modules/generated/system/cronvar.rb', line 23 attribute :insertbefore |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/system/cronvar.rb', line 12 attribute :name |
#state ⇒ :absent, ...
26 |
# File 'lib/ansible/ruby/modules/generated/system/cronvar.rb', line 26 attribute :state |
#user ⇒ String?
30 |
# File 'lib/ansible/ruby/modules/generated/system/cronvar.rb', line 30 attribute :user |
#value ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/system/cronvar.rb', line 16 attribute :value |