Fix linter failures

Update ansible meta
Treat backslash in strings as a literal when required
See https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals

Refactor ansible line length > 160 chars

Depends-On: https://review.opendev.org/755484
Change-Id: Iaf26e6e943d0b45a7b96657bbb9047a2d919c9aa
This commit is contained in:
Jonathan Rosser 2020-09-30 14:57:01 +01:00
parent fc27e735a6
commit a81d85938f
3 changed files with 6 additions and 4 deletions

View File

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

View File

@ -32,7 +32,7 @@ galaxy_info:
- name: opensuse
versions:
- 15
categories:
galaxy_tags:
- cloud
- rabbitmq
- development

View File

@ -73,8 +73,10 @@
- name: Ensure SSL cert/key checksums are identical across cluster
assert:
that:
- hostvars['container1']['rabbitmq_ssl_cert_checksum'] == hostvars['container2']['rabbitmq_ssl_cert_checksum'] == hostvars['container3']['rabbitmq_ssl_cert_checksum']
- hostvars['container1']['rabbitmq_ssl_key_checksum'] == hostvars['container2']['rabbitmq_ssl_key_checksum'] == hostvars['container3']['rabbitmq_ssl_key_checksum']
- hostvars['container1']['rabbitmq_ssl_cert_checksum'] == hostvars['container2']['rabbitmq_ssl_cert_checksum']
- hostvars['container2']['rabbitmq_ssl_cert_checksum'] == hostvars['container3']['rabbitmq_ssl_cert_checksum']
- hostvars['container1']['rabbitmq_ssl_key_checksum'] == hostvars['container2']['rabbitmq_ssl_key_checksum']
- hostvars['container2']['rabbitmq_ssl_key_checksum'] == hostvars['container3']['rabbitmq_ssl_key_checksum']
- name: Get the policy list
command: rabbitmqctl -q list_policies