commit ac2fbfb52ac31b91df1fa4e51f4382d1358a679e Author: Jonathan Rosser Date: Thu Oct 1 16:52:08 2020 +0100 Fix linter errors Change-Id: I140b92dc6ccee3023d2a8965af768bd1c6488c5d diff --git a/doc/source/conf.py b/doc/source/conf.py index 45c68b9..060e403 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -231,7 +231,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/consoles/nova_console_novnc_ssl.yml b/tasks/consoles/nova_console_novnc_ssl.yml index 1a5fdb6..a25a065 100644 --- a/tasks/consoles/nova_console_novnc_ssl.yml +++ b/tasks/consoles/nova_console_novnc_ssl.yml @@ -22,11 +22,12 @@ mode: "0755" - name: Prepare combined nova-console SSL and CA certs - local_action: command cat {{ nova_console_user_ssl_cert }} {{ nova_console_user_ssl_ca_cert is defined | ternary(nova_console_user_ssl_ca_cert,'') }} + command: cat {{ nova_console_user_ssl_cert }} {{ nova_console_user_ssl_ca_cert is defined | ternary(nova_console_user_ssl_ca_cert,'') }} changed_when: false register: nova_console_user_ssl_combined tags: - nova-config + delegate_to: localhost - name: Drop user provided ssl cert and key copy: diff --git a/tasks/drivers/kvm/nova_disable_smt.yml b/tasks/drivers/kvm/nova_disable_smt.yml index fc65de3..bc7ad60 100644 --- a/tasks/drivers/kvm/nova_disable_smt.yml +++ b/tasks/drivers/kvm/nova_disable_smt.yml @@ -37,4 +37,4 @@ service: name: smt enabled: yes - when: "{{ smt_disable_service | changed }}" + when: smt_disable_service | changed