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
This commit is contained in:
Jonathan Rosser 2020-10-02 07:27:33 +01:00
parent 465c72e2a9
commit 05de11a024
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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