mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Custom harden-linux role
This commit is contained in:
parent
5d81de3cf9
commit
bc0f0c4894
19 changed files with 1293 additions and 37 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue