]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
lint: Don't compare to empty string
authorSébastien Han <seb@redhat.com>
Thu, 1 Nov 2018 15:03:16 +0000 (16:03 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Thu, 8 Nov 2018 10:22:02 +0000 (10:22 +0000)
commit72cae542da5f78f0043e35f80897115d81df6329
treedced927e311cb5cc2d7fbb7e3bc0bb55dc1a5c32
parent76de421db1951bf5a9da336e5c9934585366ce9d
lint: Don't compare to empty string

description = 'Use `when: var` rather than `when: var != ""` (or ' \ 'conversely `when: not var` rather than `when: var == ""`)'

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-client/tasks/create_users_keys.yml
roles/ceph-iscsi-gw/tasks/common.yml
roles/ceph-mds/tasks/create_mds_filesystems.yml
roles/ceph-osd/tasks/openstack_config.yml
roles/ceph-rgw/tasks/main.yml
roles/ceph-validate/tasks/check_iscsi.yml