From 037bab29220dbe29788df3fca963be08baadd993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 1 Nov 2018 12:48:59 +0100 Subject: [PATCH] lint: line length should not exceed 160 chars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Line was too long Signed-off-by: Sébastien Han --- roles/ceph-docker-common/tasks/main.yml | 5 ++++- roles/ceph-osd/tasks/main.yml | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/ceph-docker-common/tasks/main.yml b/roles/ceph-docker-common/tasks/main.yml index c30b0a89f..90a94e095 100644 --- a/roles/ceph-docker-common/tasks/main.yml +++ b/roles/ceph-docker-common/tasks/main.yml @@ -82,7 +82,10 @@ - fetch_container_image - name: get ceph version - command: docker run --rm --entrypoint /usr/bin/ceph {{ ceph_client_docker_registry }}/{{ ceph_client_docker_image }}:{{ ceph_client_docker_image_tag }} --version + command: > + docker run --rm --entrypoint /usr/bin/ceph + {{ ceph_client_docker_registry }}/{{ ceph_client_docker_image }}:{{ ceph_client_docker_image_tag }} + --version changed_when: false check_mode: no register: ceph_version diff --git a/roles/ceph-osd/tasks/main.yml b/roles/ceph-osd/tasks/main.yml index 9e098c06f..6cdcd6bb2 100644 --- a/roles/ceph-osd/tasks/main.yml +++ b/roles/ceph-osd/tasks/main.yml @@ -82,7 +82,8 @@ when: - not add_osd|default(False) - openstack_config - - item.get('mon_cap', None) # it's enough to assume we are running an old-fashionned syntax simply by checking the presence of mon_cap since every key needs this cap + - item.get('mon_cap', None) + # it's enough to assume we are running an old-fashionned syntax simply by checking the presence of mon_cap since every key needs this cap - name: set_fact keys - override keys_tmp with keys set_fact: