New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add module to manage RabbitMQ dynamic shovels #37316

Open
wants to merge 3 commits into
base: devel
from

Conversation

Projects
None yet
4 participants
@washingtoneg
Contributor

washingtoneg commented Mar 12, 2018

SUMMARY

Fix for #37315

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

rabbitmq_dynamic_shovel

ANSIBLE VERSION
$ ansible --version
ansible 2.4.2.0
  config file = None
  configured module search path = [u'/Users/elenawashington/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible
  executable location = ./bin/ansible
  python version = 2.7.14 (default, Jan  6 2018, 12:15:00) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)]
ADDITIONAL INFORMATION

Given that the rabbitmq_dynamic_shovel module exists in Ansible's library path...

If you have a RabbitMQ server running locally with the rabbitmq-management and rabbitmq_shovel_management plugins enabled, the following playbook, role, and ansible-playbook command will create dynamic shovel on the RabbitMQ server:

# playbooks/rabbitmq-shovel.yml

- hosts: localhost
  name: RabbitMQ Shovel Playbook
  gather_facts: false

  roles:
    - roles/create-rabbitmq-dynamic-shovel
# playbooks/roles/create-rabbitmq-dynamic-shovel/tasks/main.yml

  - name: set up shovel
    rabbitmq_dynamic_shovel:
      name: my-shovel
      source: my-queue
      source_uri: 'amqp://'
      source_type: queue
      destination: my-exchange
      destination_uri: 'amqp://'
      destination_type: exchange
$ ansible-playbook playbooks/create-rabbitmq-dynamic-shovel.yml
EXPECTED RESULTS
$ ansible-playbook playbooks/create-rabbitmq-dynamic-shovel.yml -vvv
...
TASK [roles/rabbitmq-test : set up shovel] ********************************************************************************************
task path: /private/tmp/ansible/playbooks/roles/rabbitmq-test/tasks/main.yml:9
Using module file /private/tmp/ansible/library/rabbitmq_dynamic_shovel.py
...
changed: [localhost] => {
    "changed": true,
    "invocation": {
        "module_args": {
            "ack_mode": "on_confirm",
            "add_forward_headers": false,
            "delete_after": "never",
            "destination": "my-exchange",
            "destination_type": "exchange",
            "destination_uri": [
                "amqp://"
            ],
            "login_host": "localhost",
            "login_password": "guest",
            "login_port": "15672",
            "login_user": "guest",
            "name": "my-shovel",
            "prefetch_count": 1000,
            "reconnect_delay": 1,
            "source": "my-queue",
            "source_type": "queue",
            "source_uri": "amqp://",
            "state": "present",
            "vhost": "/"
        }
    },
    "name": "my-shovel",
    "shovel": {
        "ack-mode": "on-confirm",
        "add-forward-headers": false,
        "delete-after": "never",
        "dest-exchange": "my-exchange",
        "dest-uri": [
            "amqp://"
        ],
        "prefetch-count": 1000,
        "reconnect-delay": 1,
        "src-queue": "my-queue",
        "src-uri": "amqp://"
    }
}

@ansibot

This comment has been minimized.

Contributor

ansibot commented Mar 12, 2018

The test ansible-test sanity --test pylint [explain] failed with 101 errors:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import AVAILABLE_HASH_ALGORITHMS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import AnsibleFallbackNotFound from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import BOOLEANS_FALSE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import BOOLEANS_TRUE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import DEFAULT_PERM from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import EXEC_PERM_BITS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import FILE_ATTRIBUTES from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import FILE_COMMON_ARGUMENTS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import HAS_SYSLOG from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import HAVE_SELINUX from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import KeysView from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import MODE_OPERATOR_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import Mapping from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import MutableMapping from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import MutableSequence from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import MutableSet from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import NUMBERTYPES from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import NoneType from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import PASSWD_ARG_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import PASSWORD_MATCH from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import PASS_BOOLS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import PASS_VARS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import PERMS_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import PERM_BITS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import PY2 from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import PY3 from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import SEQUENCETYPE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import SIZE_RANGES from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import Sequence from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import Set from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import USERS_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import algorithm from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import algorithms from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import attribute from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import b from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import basestring from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import binary_type from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import boolean from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import bytes_to_human from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import chain from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import datetime from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import deque from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import env_fallback from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import errno from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import format_attributes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import get_all_subclasses from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import get_distribution from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import get_distribution_version from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import get_exception from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import get_flags_from_attributes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import get_module_path from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import get_platform from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import grp from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import has_journal from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import hashlib from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import heuristic_log_sanitize from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import human_to_bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import imap from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import integer_types from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import is_executable from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import iteritems from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import journal from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import json_dict_bytes_to_unicode from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import json_dict_unicode_to_bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import jsonify from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import literal_eval from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import load_platform_subclass from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import locale from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import map from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import md5 from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import os from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import platform from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import pwd from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import re from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import reduce from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import remove_values from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import repeat from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import return_values from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import select from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import selinux from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import sha from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import shlex from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import shlex_quote from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import shutil from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import sj_version from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import stat from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import string_types from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import subprocess from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import sys from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import syslog from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import tempfile from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import text_type from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import time from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import to_bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import to_native from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import to_text from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import traceback from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import types from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: unused-wildcard-import Unused import unicode from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: wildcard-import Wildcard import ansible.module_utils.basic

The test ansible-test sanity --test boilerplate [explain] failed with 2 errors:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: missing: __metaclass__ = type
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: missing: from __future__ import (absolute_import, division, print_function)

The test ansible-test sanity --test import --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:137:0: ImportError: No module named requests

The test ansible-test sanity --test import --python 2.7 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:137:0: ImportError: No module named requests

The test ansible-test sanity --test import --python 3.5 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:137:0: ImportError: No module named 'requests'

The test ansible-test sanity --test import --python 3.6 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:137:0: ModuleNotFoundError: No module named 'requests'

The test ansible-test sanity --test import --python 3.7 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:137:0: ModuleNotFoundError: No module named 'requests'

The test ansible-test sanity --test pep8 [explain] failed with 104 errors:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:123:161: E501 line too long (235 > 160 characters)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:141:1: E302 expected 2 blank lines, found 1
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:143:14: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:143:16: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:144:13: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:144:15: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:145:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:145:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:146:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:146:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:147:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:147:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:148:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:148:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:149:14: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:149:16: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:151:15: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:151:17: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:152:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:152:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:153:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:153:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:153:81: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:155:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:155:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:155:57: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:156:24: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:156:26: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:157:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:157:27: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:157:99: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:159:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:159:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:160:24: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:160:26: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:161:28: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:161:30: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:162:17: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:162:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:162:45: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:162:67: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:162:80: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:163:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:163:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:173:44: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:174:43: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:178:22: E201 whitespace after '('
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:178:61: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:180:21: E225 missing whitespace around operator
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:183:23: E225 missing whitespace around operator
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:188:16: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:188:18: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:189:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:189:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:192:30: E225 missing whitespace around operator
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:200:45: E225 missing whitespace around operator
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:208:54: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:208:59: E221 multiple spaces before operator
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:240:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:241:17: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:241:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:242:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:242:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:277:62: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:291:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:291:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:291:52: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:292:24: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:292:26: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:292:28: E201 whitespace after '{'
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:293:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:293:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:296:33: E201 whitespace after '('
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:296:43: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:296:45: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:296:74: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:301:28: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:301:30: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:302:31: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:302:33: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:303:31: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:303:33: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:304:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:304:27: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:308:28: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:308:30: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:309:27: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:309:29: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:310:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:310:27: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:314:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:314:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:315:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:315:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:316:24: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:316:26: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:317:27: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:317:29: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:24: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:26: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:324:17: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:324:19: E251 unexpected spaces around keyword / parameter equals

The test ansible-test sanity --test validate-modules [explain] failed with 13 errors:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E203 requests import found, should use ansible.module_utils.urls instead
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E307 version_added should be 2.6. Currently 2.5
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E312 No RETURN provided
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E316 ANSIBLE_METADATA.metadata_version: required key not provided @ data['metadata_version']. Got None
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E316 ANSIBLE_METADATA.version: extra keys not allowed @ data['version']. Got '1.0'
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E322 "src_uri" is listed in the argument_spec, but not documented in the module
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E324 Value for "default" from the argument_spec ('1') for "reconnect_delay" does not match the documentation (1)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E324 Value for "default" from the argument_spec ('1000') for "prefetch_count" does not match the documentation (1000)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E324 Value for "default" from the argument_spec ('15672') for "login_port" does not match the documentation (15672)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E324 Value for "default" from the argument_spec ('guest') for "login_password" does not match the documentation (False)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E325 argument_spec for "add_forward_headers" defines type="bool" but documentation does not
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: E107 Imports should be directly below DOCUMENTATION/EXAMPLES/RETURN/ANSIBLE_METADATA.
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:328:0: E208 module_utils imports should import specific components, not "*"

click here for bot help

elena

@ansibot ansibot removed the ci_verified label Mar 13, 2018

@ansibot

This comment has been minimized.

Contributor

ansibot commented Mar 13, 2018

The test ansible-test sanity --test pylint [explain] failed with 101 errors:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import AVAILABLE_HASH_ALGORITHMS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import AnsibleFallbackNotFound from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import BOOLEANS_FALSE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import BOOLEANS_TRUE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import DEFAULT_PERM from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import EXEC_PERM_BITS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import FILE_ATTRIBUTES from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import FILE_COMMON_ARGUMENTS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import HAS_SYSLOG from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import HAVE_SELINUX from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import KeysView from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import MODE_OPERATOR_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import Mapping from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import MutableMapping from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import MutableSequence from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import MutableSet from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import NUMBERTYPES from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import NoneType from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import PASSWD_ARG_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import PASSWORD_MATCH from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import PASS_BOOLS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import PASS_VARS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import PERMS_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import PERM_BITS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import PY2 from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import PY3 from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import SEQUENCETYPE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import SIZE_RANGES from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import Sequence from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import Set from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import USERS_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import algorithm from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import algorithms from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import attribute from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import b from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import basestring from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import binary_type from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import boolean from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import bytes_to_human from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import chain from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import datetime from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import deque from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import env_fallback from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import errno from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import format_attributes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import get_all_subclasses from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import get_distribution from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import get_distribution_version from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import get_exception from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import get_flags_from_attributes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import get_module_path from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import get_platform from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import grp from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import has_journal from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import hashlib from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import heuristic_log_sanitize from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import human_to_bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import imap from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import integer_types from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import is_executable from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import iteritems from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import journal from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import json_dict_bytes_to_unicode from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import json_dict_unicode_to_bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import jsonify from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import literal_eval from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import load_platform_subclass from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import locale from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import map from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import md5 from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import os from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import platform from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import pwd from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import re from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import reduce from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import remove_values from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import repeat from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import return_values from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import select from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import selinux from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import sha from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import shlex from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import shlex_quote from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import shutil from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import sj_version from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import stat from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import string_types from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import subprocess from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import sys from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import syslog from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import tempfile from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import text_type from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import time from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import to_bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import to_native from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import to_text from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import traceback from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import types from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: unused-wildcard-import Unused import unicode from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: wildcard-import Wildcard import ansible.module_utils.basic

The test ansible-test sanity --test import --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:127:0: ImportError: No module named requests

The test ansible-test sanity --test import --python 2.7 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:127:0: ImportError: No module named requests

The test ansible-test sanity --test import --python 3.6 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:127:0: ModuleNotFoundError: No module named 'requests'

The test ansible-test sanity --test import --python 3.7 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:127:0: ModuleNotFoundError: No module named 'requests'

The test ansible-test sanity --test import --python 3.5 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:127:0: ImportError: No module named 'requests'

The test ansible-test sanity --test pep8 [explain] failed with 104 errors:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:113:161: E501 line too long (235 > 160 characters)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:131:1: E302 expected 2 blank lines, found 1
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:133:14: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:133:16: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:134:13: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:134:15: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:135:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:135:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:136:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:136:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:137:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:137:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:138:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:138:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:139:14: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:139:16: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:141:15: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:141:17: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:142:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:142:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:143:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:143:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:143:81: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:145:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:145:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:145:57: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:146:24: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:146:26: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:147:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:147:27: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:147:99: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:149:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:149:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:150:24: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:150:26: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:151:28: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:151:30: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:152:17: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:152:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:152:45: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:152:67: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:152:80: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:153:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:153:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:163:44: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:164:43: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:168:22: E201 whitespace after '('
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:168:61: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:170:21: E225 missing whitespace around operator
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:173:23: E225 missing whitespace around operator
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:178:16: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:178:18: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:179:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:179:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:182:30: E225 missing whitespace around operator
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:190:45: E225 missing whitespace around operator
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:198:54: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:198:59: E221 multiple spaces before operator
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:230:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:231:17: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:231:19: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:232:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:232:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:267:62: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:281:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:281:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:281:52: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:282:24: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:282:26: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:282:28: E201 whitespace after '{'
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:283:21: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:283:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:286:33: E201 whitespace after '('
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:286:43: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:286:45: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:286:74: E231 missing whitespace after ','
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:291:28: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:291:30: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:292:31: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:292:33: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:293:31: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:293:33: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:294:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:294:27: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:298:28: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:298:30: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:299:27: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:299:29: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:300:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:300:27: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:304:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:304:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:305:23: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:305:25: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:306:24: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:306:26: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:307:27: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:307:29: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:308:24: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:308:26: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:313:20: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:313:22: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:314:17: E251 unexpected spaces around keyword / parameter equals
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:314:19: E251 unexpected spaces around keyword / parameter equals

The test ansible-test sanity --test validate-modules [explain] failed with 11 errors:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E203 requests import found, should use ansible.module_utils.urls instead
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E307 version_added should be 2.6. Currently 2.5
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E312 No RETURN provided
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E322 "src_uri" is listed in the argument_spec, but not documented in the module
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E324 Value for "default" from the argument_spec ('1') for "reconnect_delay" does not match the documentation (1)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E324 Value for "default" from the argument_spec ('1000') for "prefetch_count" does not match the documentation (1000)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E324 Value for "default" from the argument_spec ('15672') for "login_port" does not match the documentation (15672)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E324 Value for "default" from the argument_spec ('guest') for "login_password" does not match the documentation (False)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E325 argument_spec for "add_forward_headers" defines type="bool" but documentation does not
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: E107 Imports should be directly below DOCUMENTATION/EXAMPLES/RETURN/ANSIBLE_METADATA.
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:318:0: E208 module_utils imports should import specific components, not "*"

click here for bot help

@ansibot

This comment has been minimized.

Contributor

ansibot commented Oct 2, 2018

The test ansible-test sanity --test pylint [explain] failed with 102 errors:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import AVAILABLE_HASH_ALGORITHMS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import AnsibleFallbackNotFound from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import BOOLEANS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import BOOLEANS_FALSE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import BOOLEANS_TRUE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import DEFAULT_PERM from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import EXEC_PERM_BITS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import FILE_ATTRIBUTES from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import FILE_COMMON_ARGUMENTS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import HAS_SYSLOG from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import HAVE_SELINUX from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import KeysView from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import MODE_OPERATOR_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import Mapping from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import MutableMapping from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import MutableSequence from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import MutableSet from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import NUMBERTYPES from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import NoneType from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import PASSWD_ARG_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import PASSWORD_MATCH from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import PASS_BOOLS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import PASS_VARS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import PERMS_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import PERM_BITS from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import PY2 from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import PY3 from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import SEQUENCETYPE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import SIZE_RANGES from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import Sequence from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import Set from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import USERS_RE from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import algorithm from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import algorithms from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import atexit from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import attribute from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import b from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import basestring from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import binary_type from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import boolean from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import bytes_to_human from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import chain from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import datetime from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import deque from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import env_fallback from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import errno from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import format_attributes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import get_all_subclasses from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import get_bin_path from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import get_distribution from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import get_distribution_version from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import get_exception from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import get_flags_from_attributes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import get_module_path from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import get_platform from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import grp from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import has_journal from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import hashlib from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import heuristic_log_sanitize from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import human_to_bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import imap from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import integer_types from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import is_executable from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import iteritems from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import journal from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import json_dict_bytes_to_unicode from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import json_dict_unicode_to_bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import jsonify from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import literal_eval from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import load_platform_subclass from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import locale from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import map from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import md5 from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import os from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import platform from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import pwd from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import re from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import reduce from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import remove_values from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import repeat from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import return_values from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import select from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import selinux from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import sha from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import shlex from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import shlex_quote from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import shutil from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import stat from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import string_types from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import subprocess from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import sys from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import syslog from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import tempfile from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import text_type from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import time from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import to_bytes from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import to_native from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import to_text from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import traceback from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import types from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: unused-wildcard-import Unused import unicode from wildcard import
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: wildcard-import Wildcard import ansible.module_utils.basic

The test ansible-test sanity --test import --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:129:0: ImportError: No module named requests

The test ansible-test sanity --test import --python 3.5 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:129:0: ImportError: No module named 'requests'

The test ansible-test sanity --test import --python 2.7 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:129:0: ImportError: No module named requests

The test ansible-test sanity --test import --python 3.6 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:129:0: ModuleNotFoundError: No module named 'requests'

The test ansible-test sanity --test import --python 3.7 [explain] failed with 1 error:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:129:0: ModuleNotFoundError: No module named 'requests'

The test ansible-test sanity --test pep8 [explain] failed with 5 errors:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:113:161: E501 line too long (235 > 160 characters)
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:131:1: E302 expected 2 blank lines, found 1
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:228:5: E125 continuation line with same indent as next logical line
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:228:13: E121 continuation line under-indented for hanging indent
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:1: E305 expected 2 blank lines after class or function definition, found 1

The test ansible-test sanity --test validate-modules [explain] failed with 8 errors:

lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E203 requests import found, should use ansible.module_utils.urls instead
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E307 version_added should be 2.8. Currently 2.5
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E312 No RETURN provided
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E322 "src_uri" is listed in the argument_spec, but not documented in the module
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E324 Value for "default" from the argument_spec ('guest') for "login_password" does not match the documentation ('False')
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:0:0: E325 argument_spec for "add_forward_headers" defines type="bool" but documentation does not
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: E107 Imports should be directly below DOCUMENTATION/EXAMPLES/RETURN/ANSIBLE_METADATA.
lib/ansible/modules/messaging/rabbitmq_dynamic_shovel.py:323:0: E208 module_utils imports should import specific components, not "*"

click here for bot help

@ansibot ansibot added the ci_verified label Oct 2, 2018

@ansibot ansibot added the stale_ci label Oct 10, 2018

@ansibot

This comment has been minimized.

Contributor

ansibot commented Nov 2, 2018

@Akasurde

This comment has been minimized.

Member

Akasurde commented Nov 15, 2018

@washingtoneg Are you still working on this ? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment