Fix linter errors

Change-Id: Ifed6a818868943c19bbdb3620582c2f2aca3b937
This commit is contained in:
Jonathan Rosser 2020-10-02 07:31:48 +01:00
parent b8e07fca1a
commit 01eecae8d3
5 changed files with 6 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

@ -16,7 +16,7 @@
- name: Ensure createrepo package is installed - name: Ensure createrepo package is installed
yum: yum:
name: createrepo name: createrepo
state: latest state: present
- name: Deploy upstream COPR yum repo for lxc 3 - name: Deploy upstream COPR yum repo for lxc 3
yum_repository: yum_repository:

View File

@ -14,11 +14,11 @@
# limitations under the License. # limitations under the License.
- name: Check for the presence of a public key file on the deployment host - name: Check for the presence of a public key file on the deployment host
local_action: stat:
module: stat
path: /root/.ssh/id_rsa.pub path: /root/.ssh/id_rsa.pub
register: _ssh_key register: _ssh_key
when: lxc_container_ssh_key is undefined when: lxc_container_ssh_key is undefined
delegate_to: localhost
tags: tags:
- always - always

View File

@ -116,5 +116,6 @@ def main():
) )
print(container_url) print(container_url)
if __name__ == '__main__': if __name__ == '__main__':
main() main()

View File

@ -124,5 +124,5 @@
- sysctl_conf is search('fs.inotify.max_user_instances.*') - sysctl_conf is search('fs.inotify.max_user_instances.*')
- "lxc_bridge_file.stat.exists" - "lxc_bridge_file.stat.exists"
- lxcbr0_facts.ansible_facts.ansible_lxcbr0.ipv4.address is match('10.100.100.1') - lxcbr0_facts.ansible_facts.ansible_lxcbr0.ipv4.address is match('10.100.100.1')
- extra_host_package_state.changed == false - extra_host_package_state is not changed
- extra_cache_package_find.matched > 0 - extra_cache_package_find.matched > 0