From 9cf165dfce1c3066bd22cd11de6290813abfece2 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Thu, 1 Oct 2020 16:53:19 +0100 Subject: [PATCH] Fix linter errors Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/765134 Change-Id: I9072c5311ab5ff7b76095c20cad802ddf65efedc --- doc/source/conf.py | 2 +- tasks/octavia_post_install.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 5022640a..79842bb6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -217,7 +217,7 @@ htmlhelp_basename = target_name + '-docs' # 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/octavia_post_install.yml b/tasks/octavia_post_install.yml index 4921d537..380f6595 100644 --- a/tasks/octavia_post_install.yml +++ b/tasks/octavia_post_install.yml @@ -18,7 +18,7 @@ - name: iptables rules iptables: "{{ item }}" with_items: "{{ octavia_iptables_rules }}" - when: octavia_ip_tables_fw|bool == true + when: octavia_ip_tables_fw | bool # This is totally odd: If you run the commands via run-parts (as the script # in the distro does) they return 1; but do their job. If you run them