summaryrefslogtreecommitdiffstats
path: root/ansible/roles
AgeCommit message (Collapse)AuthorFilesLines
2020-05-28Updating RKE version to Frankfurt6.0.0-ONAPTomáš Levora1-8/+10
Updating RKE to v1.0.4 for Kubernetes 1.15.9 Issue-ID: OOM-2403 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I87c3f9f4800aa40f62d7569b4ecf3fa373a16796
2020-05-18Merge "Adding Ubuntu support in Ansible - vncserver role"Bartek Grzybowski1-0/+39
2020-05-18Adding Ubuntu support in Ansible - vncserver roleJan Benedikt1-0/+39
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in vncserver role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: Ie57885d30166f319629e160c38a9053c18837515
2020-05-18Adding Ubuntu support in Ansible - package-repository roleJan Benedikt9-23/+108
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in package-repository role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I85d4e6857536fa06c7eb4f4042c1ed64fcbf903e
2020-05-14Fix lint errors in package-repository-check roleJan Benedikt9-4/+165
In package-repository-check was changed command module to service module due to lint failing. Failing was caused by errors: [301] Commands should not change things if nothing needs doing [303] service used in place of service module Added molecule test. Issue-ID: OOM-2395 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I6cfdfe920eabfb9a0c43cc9ba4ffcd81df1d6852
2020-05-04Change name of clashing 'packages' variablesBartek Grzybowski2-2/+2
This fixes a regression from b6455ee: 'packages' variable is injected in 'firewall' role by package_facts module with a higher priority than variable of same name defined in 'docker' roles' defaults. Change-Id: I41e0f992ceaab871ae38fb1b8211fd71c042c9b2 Issue-ID: INT-1578 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-04Merge "Verify required packages were installed on target host"Bartek Grzybowski1-0/+11
2020-04-30Verify required packages were installed on target hostBartek Grzybowski1-0/+11
Change-Id: Ic074cbabfee614daf7862466a1bbafc9ff0fb6be Issue-ID: INT-1576 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-04-30Adding Ubuntu support in Ansible - application role install makeJan Benedikt1-0/+7
Helm using "make" package for building local helm repository. In Ubuntu distribution is this package missing so is necessary to install it. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I808dcb57396caf82a60d17f50515bae59b5d85ca
2020-04-30Merge "Adding Ubuntu support in Ansible - package-repository-check role"Bartek Grzybowski2-1/+34
2020-04-30Merge "Adding Ubuntu support in Ansible - helm role"Bartek Grzybowski3-0/+41
2020-04-30Adding Ubuntu support in Ansible - package-repository-check roleJan Benedikt2-1/+34
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in package-repository-check role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I9dcdbab00169ccfc13a10c1d9b6ec9cf10572688
2020-04-30Adding Ubuntu support in Ansible - helm roleJan Benedikt3-0/+41
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in helm role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: If28ee7674c4f9eebc4420f4dbbb1385a408d3802
2020-04-30Merge "Adding Ubuntu support in Ansible - certificates role"Bartek Grzybowski9-4/+92
2020-04-30Merge "Adding Ubuntu support in Ansible - docker role"Bartek Grzybowski5-18/+66
2020-04-30Merge "Adding Ubuntu support in Ansible - chrony role"Bartek Grzybowski1-0/+6
2020-04-30Adding Ubuntu support in Ansible - chrony roleJan Benedikt1-0/+6
Extending ansible playbooks of ubuntu support. Change the order in role calls. Chrony role was moved due to its absence in Ubuntu distribution. Firstly is necessary to initialize package repository and after that install Chrony. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: Icadf8e106fba4a369148db0959dcac07a79257c2
2020-04-29Adding Ubuntu support in Ansible - certificates roleJan Benedikt9-4/+92
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in certificates role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I82f0f8590812c277f2969d71f95fb6475c72f7c8
2020-04-23Adding Ubuntu support in Ansible - docker roleJan Benedikt5-18/+66
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in docker role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I4786dcd4b2de3f8d189db3b619c3d75315302506
2020-04-23Merge "Adding Ubuntu support in Ansible - resource-data role"Bartek Grzybowski2-0/+52
2020-04-23Adding Ubuntu support in Ansible - resource-data roleJan Benedikt2-0/+52
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in resource-data role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I7b6852cb235a2983f5cc6eb6a3bfa122d6a1fd2e
2020-04-23Adding Ubuntu support in Ansible - nginx roleJan Benedikt2-2/+40
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in nginx role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I5f6a5aedfd9a2e17d3b1bb711d3e85a242b5e2d5
2020-04-22Merge "Adding Ubuntu support in Ansible - kubectl role"Bartek Grzybowski2-0/+39
2020-04-21Adding Ubuntu support in Ansible - application roleJan Benedikt1-0/+64
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in application role. Issue-ID: OOM-1671 Change-Id: I7662506263a143cb7193583d2058766ac7829d93 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2020-04-21Merge "Adding Ubuntu support in Ansible - setup role"Bartek Grzybowski1-0/+24
2020-04-21Merge "Adding Ubuntu support in Ansible - dns role"Bartek Grzybowski3-0/+49
2020-04-21Merge "Adding Ubuntu support in Ansible - nfs role"Tomáš Levora6-8/+84
2020-04-21Adding Ubuntu support in Ansible - dns roleJan Benedikt3-0/+49
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in dns role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I414df46093fd300891b9df44e12a0225495cc906
2020-04-21Adding Ubuntu support in Ansible - nfs roleJan Benedikt6-8/+84
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in nfs role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: Ib1c85e4df7ec2ba547a20684ed5e23e097351df2
2020-04-21Adding Ubuntu support in Ansible - nexus roleJan Benedikt2-0/+38
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in nexus role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: If2750997057126405987a0362d915456ffe77fff
2020-04-01Adding Ubuntu support in Ansible - kubectl roleJan Benedikt2-0/+39
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in kubectl role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I707ff9f609ece2b227dd84f32fdf519019f76e80
2020-03-20Adding Ubuntu support in Ansible - setup roleJan Benedikt1-0/+24
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in setup role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I7a609613a517932939adf2e011c3ceb4e1d15bba
2020-03-19Fixing helm lintOndřej Šmalec1-1/+1
quoting helm lint parameter Issue-ID: OOM-2339 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I56083798e4f26fb175b8d6f22c5d07de622e5b88
2020-03-18Skip helm lintOndřej Šmalec1-0/+2
Because of new templates in ONAP, make command takes a long time and our ansible role timeout Adding SKIP_LINT parameter to this role. Issue-ID: OOM-2339 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: Ie7f0db95e51816ccc781b1253539b3a0dae9eb7b
2020-02-17Fix: Losing dns configuration after rebootMateusz Pilat2-0/+22
Issue-ID: OOM-2295 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: Ic10203be6fc2cd2c805679a293efa0f2ddea9465
2020-01-13Add test scenario for unsafe volatile storageBartek Grzybowski2-0/+75
This tests rke role with etcd storage configured on tmpfs. Change-Id: I57feb705a38e87c1b2127294c3443d99cc2595aa Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2259
2020-01-10Change group_vars inclusion mode in rke role testsBartek Grzybowski2-3/+1
Inclusion switched from inventory.links declaration in molecule config to filesystem symlink. Change-Id: Idcdd40ba196963f61b587c78718564c9374fa731 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2259
2020-01-10Include etcd storage configuration task in testingBartek Grzybowski1-0/+7
It was missing since adding feature for etcd storage configuration in https://gerrit.onap.org/r/c/oom/offline-installer/+/94135 Change-Id: I1d354af1fd48df8cb8de002f473d32cd5d4f9075 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2259
2020-01-10Limit resource footprint of rke role testsBartek Grzybowski2-19/+1
Number of kubernetes nodes created by rke role tests was limited to 1 - higher number caused resource exhaustion in CI worker (8gb memory limit). Verifier timeout was increased in routine where pod readiness is checked. Change-Id: I2c30aa999b92c4ceddccf682c4f918e953da2621 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2257
2020-01-08Add static and dynamic kubelet config supportPetr Ospalý4-2/+23
Kubelet can be configured on startup now - just add new key/values in: kubelet-static-config.yml.j2 Also kubelet static (startup) configuration can be overriden later (dynamically) during its runtime - for more info read this: https://kubernetes.io/docs/tasks/administer-cluster/reconfigure-kubelet/ Issue-ID: OOM-2199 Change-Id: Ia4790a4dfc04f0caed695df7bfd343253bd95bc0 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-12-06Archive helm_charts with command moduleOndřej Šmalec1-3/+6
Due to bug in ansible archive module empty files are not added into tar file. Hence kibana-onborading.json missing in helm_charts on infra node. Changing archive module into command module to tar helm_charts. Issue-ID: OOM-2231 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I5527bd0f52976a93ac2861d9de010fbb79eb97fd
2019-11-05Chaging name of rhel resource directory to rpmJan Benedikt4-4/+4
Changing name of rhel resource directory in "resources/pkg" from rhel to rpm due to platfrom independent repository for all distributions supporting RPM packages. Issue-ID: OOM-2150 Change-Id: Ie5425df8b8550c618440586b495907f86c4cc509 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2019-10-17Update rke, kubectl and helmTomáš Levora5-115/+235
This commit updates rke (implementing K8S 1.15.4), kubectl binary and helm binary with tiller image: rke 0.3.0 kubernetes 1.15.4 kubectl 1.15.4 helm 2.14.2 dashboard 2.0.0-beta4 Kubernetes dashboard is also updated to be compliant with the 1.15 K8S. Note 1: There is a new datalist to split rke only images from other K8S related images. Note 2: El Alto recommendation cannot be fullfilled to the letter, because rke does not have any release supporting 1.15.2 version of kubernetes (only experimental). Issue-ID: OOM-2122 Change-Id: I02cf0955158eca622bcac40ceed42588dbdd3499 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-10-15Remove git repos list and simulationTomáš Levora1-39/+0
As no external git repo should be required, removing the list and the simulation Issue-ID: OOM-2014 Change-Id: I7b8bbaab93db173bc3f1438592d288f6090d3641 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-09-26Merge changes from topic "OOM-2112"Michal Ptacek1-2/+2
* changes: Make cicdansible to set external ip Use external_ip to populate the node address Add external_ip variable
2019-09-20Merge "Replace jinja for with filter expression in helm deploy call"Michal Ptacek1-2/+2
2019-09-16Use external_ip to populate the node addressMichal Zegan1-2/+2
Use the new external_ip inventory variable to populate node address. Note that cluster_ip is still used if external_ip has not been set. This makes it possible to connect to kubernetes apiserver using the external_ip without disabling ssl cert verification. As an added bonus, the inventory hostname is now used as the node name to make node names more predictable. Change-Id: I3cc25c488d68f2f858a5eb3438d96285fa7517ca Issue-ID: OOM-2112 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-08-23Add configurable etcd storage featurePetr Ospalý3-0/+56
Plus the option to have etcd on tmpfs (volatile storage) for little bigger (maybe) speed (NOT FOR PRODUCTION DEPLOYMENT!). Issue-ID: OOM-2058 Change-Id: I0bbfc4fbae7f6b46e2fae49656437cd6748efd49 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-07-12Remove kubectl install from prepare-rkeMichal Zegan1-0/+3
This is needed because prepare-kubectl role can do just the same. Also fixed rke tests to match. Change-Id: I808df650a5f755e09c26d13db62ecfc1504a317c Issue-ID: OOM-1907 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-07-12Replace jinja for with filter expression in helm deploy callMichal Zegan1-2/+2
This replaces jinja for constructions used to add helm arguments with jinja filter usage. Change-Id: Ia47635466f4a9251d1f33a42080d3538fc52587d Issue-ID: OOM-1911 Signed-off-by: Michal Zegan <m.zegan@samsung.com>