Junos Automation (Scripting)
Junos Automation (Scripting)

WARNING

[ Edited ]
‎07-07-2019 09:27 PM

Hi there,

I have the following error that is in red color. Any idea?

.

...

....

docker-compose pull

Pulling ansible ...
+ make deploy

--- Running DEPLOY Playbook

>>> Connecting as user: ansible

>>> Inventory is: production

>>> Limiting to: Ex4200MTL

[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to

allow bad characters in group names by default, this will change, but still be

user configurable on deprecation. This feature will be removed in version 2.10.

Deprecation warnings can be disabled by setting deprecation_warnings=False in

ansible.cfg.

[WARNING]: Invalid characters were found in group names but not replaced, use

-vvvv to see details

to see the full traceback, use -vvv

ERROR! Unexpected Exception, this is probably a bug: 'PlaybookCLI' object has no attribute 'options'

make: *** [deploy] Error 250

script returned exit code 2

1 REPLY 1
Junos Automation (Scripting)

Re: WARNING

‎07-08-2019 03:50 AM

I suspect that this is due to the some recent new behaviour introduced in Ansible.

Please add force_valid_group_names = neverto the [defaults] INI-section of ansible.cfg

 

If this continues to fail to work, please provide the output when using the -vvvv parameter, and also provide the playbook that is being executed, that might help to identify the cause.


Regards.