Fix PEP8 and ansible-lint warnings

This commit is contained in:
Will Miller 2018-09-06 08:27:47 +00:00
parent e39d080dd9
commit 84ef8cd8ee
2 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,6 @@
# under the License.
import math
import re
import six
from ansible.errors import AnsibleFilterError
from ansible.module_utils._text import to_text

View File

@ -35,6 +35,9 @@
state: stopped
timeout: 15
# These tasks will trigger ansible lint rule ANSIBLE0012 because they are not
# idempotent (we always delete and recreate the domain). Use a tag to suppress
# the checks.
- name: Ensure domain is added to VBMC
command: >-
{{ cmd }} add '{{ domain }}'
@ -43,6 +46,8 @@
--password '{{ vbmc_ipmi_password }}'
--address {{ vbmc_ipmi_address }}
become: true
tags:
- skip_ansible_lint
- name: Ensure domain is started in VBMC
command: >
@ -52,3 +57,5 @@
# few commands.
until: res is succeeded
become: true
tags:
- skip_ansible_lint