tripleo-ansible/tripleo_ansible
Francesco Pantano e3b18493d5 Make the monitoring stack ports configurable for each daemon
According to [1] the monitoring stack daemons are able to bind on the
specified {ip}:{port}.
This change turns the previously defined monitoring items into a dict
where the name of the daemon and the port can be specified (the ports
are supposed to come from the tht parameters).
In addition, we need to make sure that the port parameter is evaluated
as an int, otherwise cephadm fails when the spec is applied. For this
reason a new 'normalize_spec' function is introduced, with the purpose
of analyzing the provided payload and make sure the port parameters
are expressed as int. This is required due to the fact that the ansible
option 'ANSIBLE_JINJA2_NATIVE=True' [2], which is supposed to enable
this feature at tripleo-ansible level is missing, but it's a constraint
we wouldn't like to introduce.

[1] https://github.com/ceph/ceph/pull/41444
[2] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#envvar-ANSIBLE_JINJA2_NATIVE

Change-Id: I3f1d0205f2228d59c5e8bc6b33084c64974c2a2b
(cherry picked from commit ccdecf061e)
2021-06-08 05:07:05 +00:00
..
ansible_plugins Make the monitoring stack ports configurable for each daemon 2021-06-08 05:07:05 +00:00
playbooks Create ganesha-export-index before the ceph-nfs daemon is deployed 2021-05-21 07:33:47 +00:00
releasenotes/notes Configure bind for designate 2021-03-17 13:33:52 -02:30
roles Make the monitoring stack ports configurable for each daemon 2021-06-08 05:07:05 +00:00
roles.galaxy Add galaxy role path which will be ignored by git 2019-07-18 13:40:14 -05:00
tests Fix network-v2 node port idempotency 2021-05-21 06:47:26 +00:00
__init__.py Extract provisioned networks from stack 2020-10-08 22:11:29 +00:00
ansible-role-requirements.yml Upgrade ansible-lint to 5.0 2021-03-11 09:47:14 +00:00
requirements.yml Capture collection requirements 2020-11-04 09:28:42 -06:00