]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
lint: skip the linter
authorSébastien Han <seb@redhat.com>
Tue, 30 Oct 2018 16:13:20 +0000 (17:13 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 31 Oct 2018 13:18:36 +0000 (14:18 +0100)
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 <seb@redhat.com>
roles/ceph-docker-common/tasks/pre_requisites/debian_prerequisites.yml
roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml
roles/ceph-rgw/tasks/openstack-keystone.yml

index e777f52deca6155b627caefb33dd2d029421329c..a95b413254eeee9446d4d895565afb6bb0db9dba 100644 (file)
@@ -45,6 +45,8 @@
   pip:
     name: docker-py
     state: latest
+  tags:
+    - skip_ansible_lint
 
 - name: install docker on debian
   package:
index 9b9ca933973b853c76b9aac359f5b10ab30dd7ec..468270eafa3d2c8be68657ff3490e1e786014f55 100644 (file)
@@ -40,6 +40,8 @@
   run_once: True
   when:
     - pem.changed
+  tags:
+    - skip_ansible_lint
 
 - name: copy crt file(s) to gateway nodes
   copy:
index f1d64d9e3f014985394a60185d1d40f2c3c973aa..5514c6f4bf85e20a6e18628cd22a19de12f5016b 100644 (file)
@@ -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