From cfd60411bcd94c2999d2a172fe156a47f9b125a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Tue, 30 Oct 2018 17:13:20 +0100 Subject: [PATCH] lint: skip the linter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not run the linter for these 3: * we use latest for pip docker-py package * for ssl keys this is a false positive since the inital command is a 'shell' it'll always change * for keystone, we must use shell since the with_items contains pipes Signed-off-by: Sébastien Han --- .../tasks/pre_requisites/debian_prerequisites.yml | 2 ++ roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml | 2 ++ roles/ceph-rgw/tasks/openstack-keystone.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/roles/ceph-docker-common/tasks/pre_requisites/debian_prerequisites.yml b/roles/ceph-docker-common/tasks/pre_requisites/debian_prerequisites.yml index e777f52de..a95b41325 100644 --- a/roles/ceph-docker-common/tasks/pre_requisites/debian_prerequisites.yml +++ b/roles/ceph-docker-common/tasks/pre_requisites/debian_prerequisites.yml @@ -45,6 +45,8 @@ pip: name: docker-py state: latest + tags: + - skip_ansible_lint - name: install docker on debian package: diff --git a/roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml b/roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml index 9b9ca9339..468270eaf 100644 --- a/roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml +++ b/roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml @@ -40,6 +40,8 @@ run_once: True when: - pem.changed + tags: + - skip_ansible_lint - name: copy crt file(s) to gateway nodes copy: diff --git a/roles/ceph-rgw/tasks/openstack-keystone.yml b/roles/ceph-rgw/tasks/openstack-keystone.yml index f1d64d9e3..5514c6f4b 100644 --- a/roles/ceph-rgw/tasks/openstack-keystone.yml +++ b/roles/ceph-rgw/tasks/openstack-keystone.yml @@ -29,3 +29,5 @@ with_items: - "openssl x509 -in /etc/keystone/ssl/certs/ca.pem -pubkey | certutil -d {{ radosgw_nss_db_path }} -A -n ca -t 'TCu,Cu,Tuw'" - "openssl x509 -in /etc/keystone/ssl/certs/signing_cert.pem -pubkey | certutil -A -d {{ radosgw_nss_db_path }} -n signing_cert -t 'P,P,P'" + tags: + - skip_ansible_lint