From 5f8a93c6bf39953535810724e5a506a441b9eb50 Mon Sep 17 00:00:00 2001 From: Travis Truman Date: Wed, 6 Jul 2016 14:03:02 -0400 Subject: [PATCH] Ignore ansible-lint warnings about rpm command usage Direct usage of the command is unavoidable within these tasks so we tell ansible-lint not to complain about it using the tag. Change-Id: I8e0d32a0e72daa533877d8107bdfe1b6aed736d6 --- tasks/misc.yml | 2 ++ tasks/rpm.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tasks/misc.yml b/tasks/misc.yml index 14080df2..733aa4b9 100644 --- a/tasks/misc.yml +++ b/tasks/misc.yml @@ -219,6 +219,7 @@ tags: - cat2 - V-38660 + - skip_ansible_lint - name: Set fact for SNMP being installed set_fact: @@ -299,6 +300,7 @@ - cat3 - V-38599 - V-38702 + - skip_ansible_lint - name: Set fact for vsftpd being installed set_fact: diff --git a/tasks/rpm.yml b/tasks/rpm.yml index 9197d687..ce3512f1 100644 --- a/tasks/rpm.yml +++ b/tasks/rpm.yml @@ -25,6 +25,7 @@ - package - cat1 - V-38476 + - skip_ansible_lint - name: V-38476 - Vendor-provided cryptographic certificates must be installed to verify the integrity of system software. (CentOS) fail: @@ -52,6 +53,7 @@ - package - cat1 - V-38476 + - skip_ansible_lint - name: V-38476 - Vendor-provided cryptographic certificates must be installed to verify the integrity of system software. (Red Hat Enteprise Linux) fail: