I'm getting this warning ansible.utils.display.initialize_locale has not been called but I can't find documentation to fix it.
[WARNING]: ansible.utils.display.initialize_locale has not been called, this may result in incorrectly calculated text widths that can cause Display to print incorrect line lengths
Playbook:
- name: Create Docker Swarm Cluster
hosts: localhost
connection: local
vars:
# Project name to used as part of resource names
project_name: swarm
# The location of the Azure resources
location: eastus
Running it with:
ansible-playbook provision.yml
Using python3 -m venv env to set up the environment.
And ansible version:
$ ansible --version
ansible [core 2.11.1]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/pomatti/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/pomatti/projects/personal/docker-swarm-cluster-with-ansible/env/lib/python3.8/site-packages/ansible
ansible collection location = /home/pomatti/.ansible/collections:/usr/share/ansible/collections
executable location = /home/pomatti/projects/personal/docker-swarm-cluster-with-ansible/env/bin/ansible
python version = 3.8.5 (default, May 27 2021, 13:30:53) [GCC 9.3.0]
jinja version = 3.0.1
libyaml = True