commit 05de11a0243a358387dcef2169eb701c2d418ab2 Author: Jonathan Rosser Date: Fri Oct 2 07:27:33 2020 +0100 Fix linter errors Add noqa on two occasions, see http://paste.openstack.org/show/798684/ Depends-On: https://review.opendev.org/756244 Change-Id: I508ce393cf31e6f0fd8df2bd72e19fcadc62ee65 diff --git a/doc/source/conf.py b/doc/source/conf.py index 87fba0b..4a8ac9c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -226,7 +226,7 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'doc-' + target_name + '.tex', - title.replace("_", "\_"), author, 'manual'), + title.replace("_", r"\_"), author, 'manual'), ] latex_use_xindy = False diff --git a/tasks/ceph_get_keyrings_from_files.yml b/tasks/ceph_get_keyrings_from_files.yml index fae3190..30df7ca 100644 --- a/tasks/ceph_get_keyrings_from_files.yml +++ b/tasks/ceph_get_keyrings_from_files.yml @@ -36,7 +36,7 @@ - name: From files | Provision ceph client keyrings copy: dest: "/etc/ceph/ceph.client.{{ item }}.keyring" - content: "{{ hostvars['localhost']['ceph_client_keys'][item] }}\n" + content: "{{ hostvars['localhost']['ceph_client_keys'][item] }}\n" # noqa 206 group: "{{ cephkeys_access_group }}" # ideally the permission will be: 0600 and the owner/group will be either # glance , nova or cinder. For keys that require access by different users @@ -50,7 +50,7 @@ - Restart os services - name: From file | Retrieve nova secret - command : echo "{{ hostvars['localhost']['ceph_client_keys'][nova_ceph_client] | regex_replace('^.*\n.*= (.*)', '\1')}}" + command : echo "{{ hostvars['localhost']['ceph_client_keys'][nova_ceph_client] | regex_replace('^.*\n.*= (.*)', '\1') }}" # noqa 206 register: ceph_nova_secret when: - inventory_hostname in groups.nova_compute diff --git a/tasks/ceph_preinstall_yum.yml b/tasks/ceph_preinstall_yum.yml index 37fe3e6..3c880a1 100644 --- a/tasks/ceph_preinstall_yum.yml +++ b/tasks/ceph_preinstall_yum.yml @@ -76,7 +76,7 @@ name: ceph description: "Ceph packages for $basearch" file: ceph - baseurl: "{{ceph_yum_repo_url}}/$basearch" + baseurl: "{{ ceph_yum_repo_url }}/$basearch" gpgcheck: yes enabled: yes priority: 50 @@ -87,7 +87,7 @@ name: ceph-noarch description: "Ceph noarch packages" file: ceph - baseurl: "{{ceph_yum_repo_url}}/noarch" + baseurl: "{{ ceph_yum_repo_url }}/noarch" gpgcheck: yes enabled: yes priority: 50 diff --git a/tasks/main.yml b/tasks/main.yml index f03392a..9e9711a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -49,7 +49,7 @@ - include_tasks: ceph_install_python_libs.yml when: - - openstack_service_venv_bin != '' + - openstack_service_venv_bin | length > 0 tags: - ceph-install