Custom harden-linux role

This commit is contained in:
Paul-Henri Froidmont 2018-07-31 01:47:35 +02:00
parent 5d81de3cf9
commit bc0f0c4894
19 changed files with 1293 additions and 37 deletions

View file

@ -55,8 +55,9 @@ class SCWInventory(object):
if 'env:'+self.environment in tags:
if ip_info:
self.response['_meta']['hostvars'][host] = {
'ansible_host': private_ip,
'public_ip': ip_info['address']
'ansible_host': ip_info['address'],
'public_ip': ip_info['address'],
'private_ip': private_ip
}
if tags:
for tag in tags: