commit a7a396dbb8bff2f867c1a1a7d45f7b2e7d86c7f1 Author: Jonathan Rosser Date: Fri Oct 2 07:29:21 2020 +0100 Fix linter errors Change-Id: Iceda4b23bf5347a7de9817d212ca8db8f2befc10 diff --git a/doc/source/conf.py b/doc/source/conf.py index 96d18b3..17c61bf 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -230,7 +230,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/galera_install_apt.yml b/tasks/galera_install_apt.yml index 49c642b..c610700 100644 --- a/tasks/galera_install_apt.yml +++ b/tasks/galera_install_apt.yml @@ -48,7 +48,7 @@ repo: "{{ galera_repo.repo }}" filename: "{{ galera_repo.filename | default(omit) }}" state: "{{ galera_repo.state }}" - update_cache: "no" + update_cache: no register: add_galera_repo - name: Preseed galera password(s) diff --git a/tasks/galera_install_yum.yml b/tasks/galera_install_yum.yml index 51b5a93..cdb7411 100644 --- a/tasks/galera_install_yum.yml +++ b/tasks/galera_install_yum.yml @@ -55,7 +55,7 @@ force: true when: - mycnfd_stat.stat.isdir is defined - - mycnfd_stat.stat.isdir == True + - mycnfd_stat.stat.isdir # We replace the default paths for the system with symlinks to # the paths used by the MariaDB packages so ensure that any other diff --git a/tasks/galera_install_zypper.yml b/tasks/galera_install_zypper.yml index 469e46a..0efb8de 100644 --- a/tasks/galera_install_zypper.yml +++ b/tasks/galera_install_zypper.yml @@ -37,7 +37,7 @@ force: true when: - mycnfd_stat.stat.isdir is defined - - mycnfd_stat.stat.isdir == True + - mycnfd_stat.stat.isdir # We replace the default paths for the system with symlinks to # the paths used by the MariaDB packages so ensure that any other