From a05b04fd543b7cfe12ddf19dced2cf6a509f0af7 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Tue, 12 Jan 2021 09:16:10 -0700 Subject: [PATCH] Fix linters Ignore the _ vs - and fix permissions on files Change-Id: Id7efa789cdbd4501ef740e77a36c7419eb785056 (cherry picked from commit a787e658daa9762846c1783e77da6a64b4843119) --- .ansible-lint | 2 ++ tasks/client.yaml | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 .ansible-lint diff --git a/.ansible-lint b/.ansible-lint new file mode 100644 index 0000000..4fd0a04 --- /dev/null +++ b/.ansible-lint @@ -0,0 +1,2 @@ +skip_list: + - '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern diff --git a/tasks/client.yaml b/tasks/client.yaml index 56f4466..9fb12e8 100644 --- a/tasks/client.yaml +++ b/tasks/client.yaml @@ -92,6 +92,7 @@ content: | CKNFAST_OVERRIDE_SECURITY_ASSURANCES=explicitness force: no + mode: 0644 - name: create snmp.conf copy: @@ -99,6 +100,7 @@ content: | defaultPort 21161 force: yes + mode: 0644 - name: enroll client to HSM command: /opt/nfast/bin/nethsmenroll --force {{ thales_hsm_ip_address }} {{ anonkneti.stdout_lines[0] }}