mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Cleanup some tasks and manage differences between Kubernetes version and apt package version
This commit is contained in:
parent
536eed368a
commit
ed24aa4f8d
10 changed files with 13 additions and 24 deletions
|
|
@ -78,8 +78,8 @@ class SCWInventory(object):
|
|||
for host, variables in self.response['_meta']['hostvars'].items():
|
||||
if host != 'proxy1':
|
||||
variables['ansible_ssh_common_args'] = '-o ProxyCommand="ssh -W %h:%p -q root@' + \
|
||||
self.response['_meta']['hostvars']['proxy1'][
|
||||
'public_ip'] + ' -o StrictHostKeyChecking=no"'
|
||||
self.response['_meta']['hostvars']['proxy1']['public_ip'] \
|
||||
+ ' -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"'
|
||||
|
||||
def _add_to_response(self, group, hostname):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue