From: Guillaume Abrioux Date: Fri, 2 Oct 2020 11:38:04 +0000 (+0200) Subject: lint: all tasks should be named X-Git-Tag: v4.0.42~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=72fc8877cb36d1675a065dca267e03e3badae145;p=ceph-ansible.git lint: all tasks should be named Fix ansible-lint 502 error: [502] All tasks should be named Signed-off-by: Guillaume Abrioux (cherry picked from commit 97dd9218dd0493edc68bc9e69cb39fae8924f6dc) --- diff --git a/infrastructure-playbooks/purge-iscsi-gateways.yml b/infrastructure-playbooks/purge-iscsi-gateways.yml index 9c478736e..7c2482bd2 100644 --- a/infrastructure-playbooks/purge-iscsi-gateways.yml +++ b/infrastructure-playbooks/purge-iscsi-gateways.yml @@ -16,7 +16,8 @@ "You have aborted the purge of the iSCSI gateway configuration" when: purge_config == 'abort' - - set_fact: + - name: set_fact igw_purge_type + set_fact: igw_purge_type: "{{ purge_config }}" - name: stopping the gateways diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index a166ba89a..196f2937f 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -99,7 +99,9 @@ - containerized_deployment | bool - ceph_docker_registry_auth | bool - - set_fact: rolling_update=true + - name: set_fact rolling_update + set_fact: + rolling_update: true - name: upgrade ceph mon cluster vars: diff --git a/infrastructure-playbooks/shrink-rgw.yml b/infrastructure-playbooks/shrink-rgw.yml index 8c0902b6a..3131ef3f2 100644 --- a/infrastructure-playbooks/shrink-rgw.yml +++ b/infrastructure-playbooks/shrink-rgw.yml @@ -46,7 +46,8 @@ become: true gather_facts: false tasks: - - setup: + - name: gather facts + setup: gather_subset: - 'all' - '!facter'