From: Dimitri Savineau Date: Thu, 29 Aug 2019 18:11:46 +0000 (-0400) Subject: lint: fix error [201,206] X-Git-Tag: v5.0.0alpha1~130 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=42082c0a27f368259e5181fb6a3aff8ec4db0190;p=ceph-ansible.git lint: fix error [201,206] [201] Trailing whitespace [206] Variables should have spaces before and after: {{ var_name }} Signed-off-by: Dimitri Savineau --- diff --git a/roles/ceph-container-engine/tasks/pre_requisites/debian_prerequisites.yml b/roles/ceph-container-engine/tasks/pre_requisites/debian_prerequisites.yml index 4e0a0ef80..1adf86ca9 100644 --- a/roles/ceph-container-engine/tasks/pre_requisites/debian_prerequisites.yml +++ b/roles/ceph-container-engine/tasks/pre_requisites/debian_prerequisites.yml @@ -21,7 +21,7 @@ - name: add docker repository apt_repository: - repo: "deb https://download.docker.com/linux/{{ ansible_distribution | lower}} {{ ansible_distribution_release }} stable" + repo: "deb https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable" when: container_package_name == 'docker-ce' - name: add podman ppa repository diff --git a/roles/ceph-rgw/tasks/multisite/master.yml b/roles/ceph-rgw/tasks/multisite/master.yml index 6659df01b..77e2345db 100644 --- a/roles/ceph-rgw/tasks/multisite/master.yml +++ b/roles/ceph-rgw/tasks/multisite/master.yml @@ -25,7 +25,7 @@ notify: update period - name: add other endpoints to the zone - command: "{{ container_exec_cmd }} radosgw-admin zone modify --rgw-zone={{ rgw_zone }} --endpoints {{ rgw_multisite_endpoints_list }}" + command: "{{ container_exec_cmd }} radosgw-admin zone modify --rgw-zone={{ rgw_zone }} --endpoints {{ rgw_multisite_endpoints_list }}" delegate_to: "{{ groups[mon_group_name][0] }}" run_once: true when: rgw_multisite_endpoints_list is defined