Add ansible-lint ignore rule to skip warning about unnamed task
Fix verifier test
Change-Id: Ie75c379b1678a594ad9a3e95442d04fc58939e6e
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
def test_helm_commands(host):
- fc = host.file('/tmp/helm_simu_output').content_string
+ fc = host.file('/tmp/helm_simu_output').content_string.strip()
helm_release = host.ansible.get_variables()['helm_version']
if helm_release == 'v2':
expected_content = """home
def test_helm_override_file(host):
- fc = host.file('/opt/moleculetestapp/override.yaml').content_string
+ fc = host.file('/opt/moleculetestapp/override.yaml').content_string.strip()
expected_content = """global:
cacert: 'this is dummy server certificate value
- include_tasks: post-install.yml
when: install_needed
-- debug:
+- debug: # noqa unnamed-task
msg: "NOTE, nothing done as application Helm charts does not exist!"
when: not install_needed