Add healthcheck pings to opentofu and add systemd cleanup to healthcheck
This commit is contained in:
parent
2ad3cce749
commit
a15e70d73d
7 changed files with 60 additions and 11 deletions
playbooks/filter_plugins
11
playbooks/filter_plugins/utils.py
Normal file
11
playbooks/filter_plugins/utils.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
class FilterModule(object):
|
||||
def filters(self):
|
||||
return {
|
||||
'list_prefix_suffix': self.list_prefix_suffix,
|
||||
}
|
||||
|
||||
def list_prefix_suffix(self, values, prefix, suffix):
|
||||
result = []
|
||||
for value in values:
|
||||
result.append(f"{prefix}{value}{suffix}")
|
||||
return result
|
Loading…
Add table
Add a link
Reference in a new issue