From 39cfc87676a801f2277097670d4e631b51df92b8 Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Fri, 3 Jul 2020 07:18:54 +0200 Subject: [PATCH] Fix ansible-lint failures Change-Id: I452cde8a2c6ea65f0ec81d971e07a406e57067a7 --- roles/tests/provision.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/roles/tests/provision.yaml b/roles/tests/provision.yaml index ff5e60ccc..975cdc468 100644 --- a/roles/tests/provision.yaml +++ b/roles/tests/provision.yaml @@ -1,13 +1,10 @@ --- -#TODO: disable mounting /tmp on a tempfs: -# sudo systemctl mask tmp.mount - - hosts: all tasks: - name: 'disable tempfs on Fedora' become: yes - command: systemctl mask tmp.mount + command: systemctl mask tmp.mount # noqa 303 when: ansible_distribution == 'Fedora' ignore_errors: yes @@ -20,7 +17,7 @@ auto_attach: yes when: - rh_username is defined - - rh_username != '' + - (rh_username | length) > 0 - hosts: primary