Custom peervpn role

This commit is contained in:
Paul-Henri Froidmont 2018-07-31 02:33:56 +02:00
parent bc0f0c4894
commit fbab1d084a
22 changed files with 1162 additions and 13 deletions

View file

@ -66,6 +66,8 @@ class SCWInventory(object):
tag.split(':')[1],
host
)
if tag.startswith('fact'):
self.response['_meta']['hostvars'][host][tag.split(':')[1]] = tag.split(':')[2]
def _add_to_response(self, group, hostname):
'''