Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,25 +353,25 @@ Any additional parameters to include in the zypper update command

##### `reboot`

Data type: `Optional[Variant[Boolean, Enum['always', 'never', 'patched', 'smart']]]`
Data type: `Variant[Boolean, Enum['always', 'never', 'patched', 'smart']]`

Should the server reboot after patching has been applied? (Defaults to 'never')

##### `timeout`

Data type: `Optional[Integer]`
Data type: `Integer`

How many seconds should we wait until timing out the patch run? (Defaults to 3600 seconds)

##### `security_only`

Data type: `Optional[Boolean]`
Data type: `Boolean`

Limit patches to those tagged as security related? (Defaults to false)

##### `clean_cache`

Data type: `Optional[Boolean]`
Data type: `Boolean`

Should the yum/dpkg caches be cleaned at the start of the task? (Defaults to false)

Expand Down
12 changes: 8 additions & 4 deletions tasks/patch_server.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,23 @@
},
"reboot": {
"description": "Should the server reboot after patching has been applied? (Defaults to 'never')",
"type": "Optional[Variant[Boolean, Enum['always', 'never', 'patched', 'smart']]]"
"type": "Variant[Boolean, Enum['always', 'never', 'patched', 'smart']]",
"default": "never"
},
"timeout": {
"description": "How many seconds should we wait until timing out the patch run? (Defaults to 3600 seconds)",
"type": "Optional[Integer]"
"type": "Integer",
"default": 3600
},
"security_only": {
"description": "Limit patches to those tagged as security related? (Defaults to false)",
"type": "Optional[Boolean]"
"type": "Boolean",
"default": false
},
"clean_cache": {
"description": "Should the yum/dpkg caches be cleaned at the start of the task? (Defaults to false)",
"type": "Optional[Boolean]"
"type": "Boolean",
"default": false
}
},
"implementations": [
Expand Down
Loading
Loading