mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-23 12:19:15 +00:00
parent
95b24ac3fe
commit
24098cd638
6 changed files with 19 additions and 25 deletions
|
|
@ -320,10 +320,10 @@ class NetworksModule(OpenNebulaModule):
|
|||
return None
|
||||
|
||||
def get_template_by_id(self, template_id):
|
||||
return self.get_template(lambda template: (template_id == template.ID))
|
||||
return self.get_template(lambda template: template_id == template.ID)
|
||||
|
||||
def get_template_by_name(self, name):
|
||||
return self.get_template(lambda template: (name == template.NAME))
|
||||
return self.get_template(lambda template: name == template.NAME)
|
||||
|
||||
def get_template_instance(self, requested_id, requested_name):
|
||||
if requested_id:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue