Fix linter errors

Change-Id: Ie1760e1fb18891d59f355fce6154d183c5c621e6
This commit is contained in:
Jonathan Rosser 2020-10-02 07:32:51 +01:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent 25af5d5da3
commit a2b8d6c759
3 changed files with 5 additions and 5 deletions

View File

@ -231,7 +231,7 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]). # author, documentclass [howto, manual, or own class]).
latex_documents = [ latex_documents = [
(master_doc, 'doc-' + target_name + '.tex', (master_doc, 'doc-' + target_name + '.tex',
title.replace("_", "\_"), author, 'manual'), title.replace("_", r"\_"), author, 'manual'),
] ]
latex_use_xindy = False latex_use_xindy = False

View File

@ -62,7 +62,7 @@
name: "{{ item.name }}" name: "{{ item.name }}"
with_items: "{{ openstack_host_kernel_modules + openstack_host_specific_kernel_modules }}" with_items: "{{ openstack_host_kernel_modules + openstack_host_specific_kernel_modules }}"
when: when:
- item.name != '' - item.name | length > 0
- item.pattern is undefined or (item.pattern is defined and (modules.content | b64decode).find(item.pattern + '=m') != -1) - item.pattern is undefined or (item.pattern is defined and (modules.content | b64decode).find(item.pattern + '=m') != -1)
- name: Write list of modules to load at boot - name: Write list of modules to load at boot

View File

@ -109,7 +109,7 @@
- name: Check for ssh dir - name: Check for ssh dir
stat: stat:
path: "{{ ansible_env.HOME}}/.ssh" path: "{{ ansible_env.HOME }}/.ssh"
register: ssh_dir register: ssh_dir
- name: Check for extra host package present on host - name: Check for extra host package present on host
@ -143,6 +143,6 @@
- "systat_file.stat.exists" - "systat_file.stat.exists"
- "'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' in environment_content" - "'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' in environment_content"
- "ssh_dir.stat.isdir" - "ssh_dir.stat.isdir"
- extra_distro_package_host.changed == false - extra_distro_package_host is not changed
- extra_metal_distro_package_host.changed == false - extra_metal_distro_package_host is not changed