Fix runtime Ansible warnings

- warning from the output by setting no_log for sensitive
variable.
[WARNING]: Module did not set no_log for influxdb_password

- deprecation of "static", using 'import_tasks' for static
inclusions or 'include_tasks' for dynamic inclusions.

Change-Id: I774d59b0d1bf5324c5a8b7c95a06f07299478e6a
This commit is contained in:
Sorin Sbarnea 2018-10-19 11:58:47 +01:00
parent da02a39069
commit 5fb90bcb09
3 changed files with 5 additions and 5 deletions

View File

@ -480,7 +480,8 @@ def main():
influxdb_url=dict(required=True, type='str'),
influxdb_port=dict(required=True, type='int'),
influxdb_user=dict(required=False, type='str', default=None),
influxdb_password=dict(required=False, type='str', default=None),
influxdb_password=dict(required=False, type='str',
default=None, no_log=True),
influxdb_db=dict(required=True, type='str'),
ara_data=dict(required=True, type='str'),
measurement=dict(required=True, type='str'),

View File

@ -1,10 +1,10 @@
---
- when: release not in ['mitaka', 'liberty']
- name: tripleo-validation block
when: release not in ['mitaka', 'liberty']
block:
- name: Installing configuration requirements
include: config.yml
static: no
include_tasks: config.yml
tags:
- tripleo-validations
when: run_tripleo_validations_setup|bool

View File

@ -91,7 +91,6 @@
- undercloud_templates_branch is defined or undercloud_templates_refspec is defined
- undercloud_templates_repo is defined
- undercloud_templates_path is defined
static: no
- name: Create the undercloud parameter defaults file.
template: