mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
(cherry picked from commit 015566fb06)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -19,26 +19,26 @@ options:
|
||||
description:
|
||||
- The list of CLC server Ids.
|
||||
type: list
|
||||
required: True
|
||||
required: true
|
||||
elements: str
|
||||
expiration_days:
|
||||
description:
|
||||
- The number of days to keep the server snapshot before it expires.
|
||||
type: int
|
||||
default: 7
|
||||
required: False
|
||||
required: false
|
||||
state:
|
||||
description:
|
||||
- The state to insure that the provided resources are in.
|
||||
type: str
|
||||
default: 'present'
|
||||
required: False
|
||||
required: false
|
||||
choices: ['present', 'absent', 'restore']
|
||||
wait:
|
||||
description:
|
||||
- Whether to wait for the provisioning tasks to finish before returning.
|
||||
default: 'True'
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
requirements:
|
||||
- python = 2.7
|
||||
@@ -66,7 +66,7 @@ EXAMPLES = '''
|
||||
- UC1TEST-SVR01
|
||||
- UC1TEST-SVR02
|
||||
expiration_days: 10
|
||||
wait: True
|
||||
wait: true
|
||||
state: present
|
||||
|
||||
- name: Restore server snapshot
|
||||
@@ -74,7 +74,7 @@ EXAMPLES = '''
|
||||
server_ids:
|
||||
- UC1TEST-SVR01
|
||||
- UC1TEST-SVR02
|
||||
wait: True
|
||||
wait: true
|
||||
state: restore
|
||||
|
||||
- name: Delete server snapshot
|
||||
@@ -82,7 +82,7 @@ EXAMPLES = '''
|
||||
server_ids:
|
||||
- UC1TEST-SVR01
|
||||
- UC1TEST-SVR02
|
||||
wait: True
|
||||
wait: true
|
||||
state: absent
|
||||
'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user