mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
Add option to hide sensitive ansible-test output.
This option is enabled automatically on Shippable.
This commit is contained in:
parent
b39534201f
commit
3a62eb5e03
3 changed files with 23 additions and 0 deletions
|
@ -166,6 +166,8 @@ class AnsibleCoreCI(object):
|
|||
self.instance_id = str(uuid.uuid4())
|
||||
self.endpoint = None
|
||||
|
||||
display.sensitive.add(self.instance_id)
|
||||
|
||||
def _get_parallels_endpoints(self):
|
||||
"""
|
||||
:rtype: tuple[str]
|
||||
|
@ -299,6 +301,9 @@ class AnsibleCoreCI(object):
|
|||
password=con.get('password'),
|
||||
)
|
||||
|
||||
if self.connection.password:
|
||||
display.sensitive.add(self.connection.password)
|
||||
|
||||
status = 'running' if self.connection.running else 'starting'
|
||||
|
||||
display.info('Status update: %s/%s on instance %s is %s.' %
|
||||
|
@ -453,6 +458,8 @@ class AnsibleCoreCI(object):
|
|||
self.endpoint = config['endpoint']
|
||||
self.started = True
|
||||
|
||||
display.sensitive.add(self.instance_id)
|
||||
|
||||
return True
|
||||
|
||||
def _save(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue