Skip to content

Commit 8f7aa56

Browse files
authored
cs_template: Add warning if cross_zones=true and state=extracted
1 parent 1982088 commit 8f7aa56

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/modules/cs_template.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,9 @@ def extract_template(self):
619619
if not template:
620620
self.module.fail_json(msg="Failed: template not found")
621621

622+
if self.module.params.get('cross_zones'):
623+
self.module.warn('cross_zones parameter is ignored when state is extracted')
624+
622625
args = {
623626
'id': template['id'],
624627
'url': self.module.params.get('url'),

0 commit comments

Comments
 (0)