Skip to content
Snippets Groups Projects
  1. Sep 08, 2022
    • Mark Goddard's avatar
      Move group_vars to an inventory directory · af3b719b
      Mark Goddard authored
      The group variables originally in ansible/group_vars/ were playbook
      group variables, due to being adjacent to the playbooks. Typically they
      provided default values for global variables in the all group, as well
      as some more specific groups. This has worked fairly well, but results
      in (at least) a couple of problems.
      
      1. The default variable precedence rules mean that these playbook group
         variables have a higher precedence than inventory group variables
         (for a given group). This can make it challenging to override
         playbook group variables in the inventory in Kayobe configuration.
      
      2. Any playbook run by Kayobe must be in the same directory as the
         playbook group variables in order to use them. Given that they
         include variables required for connectivity such as ansible_host and
         ansible_user, this is quite critical. For Kayobe custom playbooks, we
         work around this by symlinking to the group_vars directory from the
         directory containing the custom playbook. This is not an elegant
         workaround, and has assumptions about the relative paths of the
         Kayobe configuration and virtual environment in which Kayobe is
         installed.
      
      Story: 2010280
      Task: 46233
      
      Change-Id: Ifea5c7e73f6f410f96a7398bfd349d1f631d9fc0
      af3b719b
  2. Apr 28, 2020
    • Isaac Prior's avatar
      Define default variables for Monasca config · 39308a45
      Isaac Prior authored
      Sets 'monasca_install_type: source' to remove need
      for kolla-ansible var boilerplate.
      
      Also use default Monasca parameters to configure
      Grafana post deploy.
      
      Change-Id: I2b6d62104c9c127cb8f6b4f4930dd695cd00da17
      Story: 2007597
      Task: 39587
      39308a45
  3. Mar 30, 2020
    • Doug Szumski's avatar
      Fix loading of Monasca Grafana dashboards · cdc1d5ad
      Doug Szumski authored
      This is a minimal fix to support loading dashboards into the Monasca
      Grafana fork. It firstly aligns the default Monasca Grafana control
      plane organisation and Monasca Grafana local admin username with Kolla
      Ansible to make the feature easier to use. Secondly, it extracts the
      associated OpenStack project name from this variable by stripping off
      the OpenStack domain.
      
      Longer term we may wish to move the dashboard loading functionality into
      Kolla Ansible, now that it supports deploying Monasca.
      
      Affects Rocky onwards.
      
      Change-Id: I77c94edf654565a12ce8be681e3c9b16caa55c86
      Story: 2007477
      Task: 39186
      cdc1d5ad
  4. Jan 23, 2018
Loading