mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Support full path templates (#26121)
This patch allows the iapp service module to support full path templates instead of only relative templates
This commit is contained in:
@@ -289,6 +289,8 @@ class Parameters(AnsibleF5Parameters):
|
||||
return None
|
||||
if self._values['template'].startswith("/" + self.partition):
|
||||
return self._values['template']
|
||||
elif self._values['template'].startswith("/"):
|
||||
return self._values['template']
|
||||
else:
|
||||
return '/{0}/{1}'.format(
|
||||
self.partition, self._values['template']
|
||||
|
||||
Reference in New Issue
Block a user