summaryrefslogtreecommitdiffstats
path: root/docker/ansible/roles
AgeCommit message (Collapse)AuthorFilesLines
2018-12-03Add support for dpdk events and stat to ansible installationKamil Wiatrowski4-0/+92
Add dpdk plugins to ansible installation with default configuration. Change-Id: I1f7949962aff5119141b5712bb6b32db8f45b287 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-31Add support for multi influx hostsJohn O Loughlin3-7/+26
Added support for multiple influx hosts. Fix issue where ansible crashes when influx_host is not defined Change-Id: I348e53c9b6147b0fafffdebcd80037acb72d67ce Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-10-11ansible: Set IP address of influxdb for grafanaKamil Wiatrowski2-8/+5
Set ip address to influxdb for grafana based on provided hostname. IP address in numerical format is required by grafana container. Mapping of hostname in /etc/hosts is no longer required. Change-Id: I684de737c6f8e48b5b9f256541901852d7ecc05a Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-09ansible: Add cleanup for grafana cache under host machineRadoslaw Jablonski1-0/+6
Previously cleaning cache directory for grafana(/var/lib/grafana) was missing and, because of that, changing influxdb_host variable value between one ansible deployment and another was not working. It was a problem because scripts in grafana container are expecting that cache directory will be empty during first run and, if some dashboards exists in cache already (even if they are left by previous deployment), old dashboards will be left untouched with possibly wrong configuration. This bug happened during deploying 3 nodes scenarios more than once (collectd, grafana and influlxdb hosted on separate machines). Now cleanup is done by default and can be skipped using 'clean_grafana_cache=false' value. Change-Id: Ib67cc3437b8a3a2c2930dd55cba44aef8e352cf2 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-10-09ansible: Fix custom 'influxdb_host' setting for grafanaRadoslaw Jablonski1-2/+5
Previously there were 2 errors in ansible scripts for grafana: - influxdb_host variable value was unset - entry for /etc/hosts file was adding text "{{ influxdb_hostname }}" instead hostname stored in this variable Change-Id: I1821b3c5f5fea5c29386b1a57e37aadcf90dd2e6 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-10-05Merge "Add role to auto install docker on hosts - missing patch"Aaron Smith3-3/+8
2018-10-04Add role to auto install docker on hosts - missing patchKamil Wiatrowski3-3/+8
Small updates to ansible roles. Several minor updates in documentation. Change-Id: Id031cebc23301b6218f8ced0d261f844f270e37f Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-03Adding support for prometheus using ansibleJohn O Loughlin7-0/+142
To enable add the following with your ip address to your inventory file: [prometheus_hosts] 172.24.4.19 Change-Id: I85add815367bcbcf1240398db2c43c2130537969 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-09-28WIP: Add role to auto install docker on hostsKamil Wiatrowski13-24/+268
Auto install docker with dependencies on hosts: apt install python apt install python-pip pip install docker-py apt install docker.io Set docker proxy using host proxy settings. Updated documentation. Change-Id: Ibec7e0a7e484d5a9a8656cd3598c3acc7c2e2184 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-08-31Fix for Grafana does not plot the RDT plugin data correctly.Kamil Wiatrowski1-1/+1
Fixed the interval of intel_rdt plugin and Grafana dashboard settings to follow the correct interval. Change-Id: Ia792c6b6308526d82f153275d5d5393b0aea312d Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-06-18Configure collectd to load ipmi before PMUJohn O'Loughlin1-1/+1
Collectd loads config files in alphabetical order. Ansible creates the config files for collectd. In this patch we change the name ipmi.conf to 0_ipmi.conf This will allow ipmi to be loaded before PMU. If PMU is loaded before ipmi the container will crash. This is a bug in collectd 5.8 Change-Id: I3334a3a1970f596e36f665698649d6c04fd38fbb Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-03-16ansible: add task to copy custom types.db file to targetsGordon Kelly3-0/+28
Change-Id: I0ae30a46d11d53cdc218e38d0b3a852aa5be147d Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-16Merge "ansible: break task to copy additional config files to own file"Gordon Kelly2-9/+25
2018-03-16ansible: break task to copy additional config files to own fileGordon Kelly2-9/+25
Change-Id: Iffba385bd8e565459288f95eadf8a52bb6cc0084 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-16ansible:Put plugins in alphabetical order and fix swap plugin config pathGordon Kelly1-42/+41
Change-Id: Ie146e0ac9ad5e8bc1721b51e4e5112db51462854 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-02ansible: add checks to ensure all ipmi dependancies are metGordon Kelly5-10/+93
Change-Id: I342016af10a1ed3a11364bda7bd7a563882fafbd Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-02Merge "ansible: add functionality to copy custom config files to target node"Gordon Kelly2-0/+14
2018-03-02ansible: add functionality to copy custom config files to target nodeGordon Kelly2-0/+14
Change-Id: I6e7cb3e0923495e236b74444b1da3f4450122d02 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-02-28ansible: add roles to launch ves and kafka containersGordon Kelly3-0/+112
Change-Id: Ida03c47bbe94600b034c95bd0d795e62c253303c Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-02-28ansible: add roles to launch collectd, influxdb and grafana containersGordon Kelly4-0/+161
Change-Id: I330172a2165e51a1557f084fd85fce12dfaad3a7 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-02-28Revert "Merge conflict"Aaron Smith34-0/+1452
This reverts commit 7f4ef61d68c3ed96759f3553b2793e0ce6a7e4a5. Change-Id: I0ac115a5e6dfbc53051ed7ee6ae0ceb72a8128af Signed-off-by: TsaLaGi <aasmith@redhat.com>
2018-02-27Merge conflictTsaLaGi34-1452/+0
Revert "Merge "ansible: add ansible scripts to configure .conf file on collectd nodes"" This reverts commit 7effd9e1e84dd7fa2a189a0815b5be1c0fcb165a, reversing changes made to b26034d05aa81f624e9bcee2c8e82a1cacfe44c4. Change-Id: I6f77b4432bbe0de29db3e099263e461e3043b22e Signed-off-by: TsaLaGi <aasmith@redhat.com>
2018-02-23ansible: add ansible scripts to configure .conf file on collectd nodesGordon Kelly34-0/+1452
Change-Id: I7349582f7412088f4d303ca52eabf40afea3f5fe Signed-off-by: gordonkelly <gordon.kelly@intel.com>