browbeat/ansible
Sanjay Chari cd9c30c1a1 Fix in sqlalchemy collectd plugin
While evaluating the conditional statement
(when: (('Controller' in group_names) and ('plugin=collectd' not in item.stdout) and sqlalchemy_collectd_plugin)),
if sqlalchemy_collectd_plugin is set to false, the register db_connections does not store any output as the
step (Get mysql string) is skipped. This causes the error (dict object has no attribute stdout).
This patch fixes the issue by placing the condition check ('plugin=collectd' not in item.stdout) at the end of
the when statement, and due to lazy evaluation of conditional statements in Ansible, the condition check is skipped
if sqlalchemy_collectd_plugin is set to false.

Change-Id: I20302e43318c969fb15acd8e78d30cc7c5c208af
2021-12-09 11:04:54 +05:30
..
browbeat use tripleo-ansible-inventry to generate hosts 2021-03-30 21:19:14 +05:30
common_logging use tripleo-ansible-inventry to generate hosts 2021-03-30 21:19:14 +05:30
gather use tripleo-ansible-inventry to generate hosts 2021-03-30 21:19:14 +05:30
install Fix in sqlalchemy collectd plugin 2021-12-09 11:04:54 +05:30
logs use tripleo-ansible-inventry to generate hosts 2021-03-30 21:19:14 +05:30
oooq use tripleo-ansible-inventry to generate hosts 2021-03-30 21:19:14 +05:30
tune use tripleo-ansible-inventry to generate hosts 2021-03-30 21:19:14 +05:30
ansible.cfg Changed the ansible configuration file to make generate_tripleo_inventory.sh use default ssh-config 2021-07-12 14:24:44 +00:00
generate_tripleo_hostfile.sh use tripleo-ansible-inventry to generate hosts 2021-03-30 21:19:14 +05:30
generate_tripleo_inventory.sh fix osp-13 issues 2021-06-04 17:20:05 +05:30
install_e2e_benchmarking.sh Shift-on-stack kube-burner dynamic workloads 2021-09-13 12:22:47 +00:00
kubeconfig_paths Dynamic workloads : Support for multiple OCP clusters 2021-09-15 16:17:22 +05:30
README.collectd-generic.rst Small fixes/updates to collectd install 2017-01-12 10:04:49 -05:00
README.rst use tripleo-ansible-inventry to generate hosts 2021-03-30 21:19:14 +05:30
README.shaker-viz.rst Adding Cloud Comparison Dashboard for Shaker 2017-01-18 13:42:23 -05:00
README.testing.rst Add molecule infrastructure 2019-12-16 08:11:35 -05:00

Running browebat ansible unit tests

Running ansible molecule unit tests

Adding ansible molecue unit test

  • cd ansible/install/roles/<example role> molecule init scenario --role-name <example role> --driver-name docker