summaryrefslogtreecommitdiffstats
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2022-04-19[MOLECULE] Setup Molecule for strimzi-kafka-operator roleBartek Grzybowski7-0/+105
Change-Id: I71161ec250190babecd092241e586f97fd7bcbca Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-04-19[ANSIBLE][BUILD] Provision strimzi-kafka-operatorBartek Grzybowski5-0/+37
Jakarta requires Strimzi Kafka Operator to be installed in the k8s cluster Change-Id: Id648c7f1e060923df5a5761daf3f2d20f4a49e39 Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-04-19[ANSIBLE][BUILD] Switch to default authorization scheme for Kubernetes APIBartek Grzybowski1-3/+0
In RKE 1.3.8 nginx ingress controller pods failed to run with authorization turned off. Change-Id: I92f5cdee661a91c05ea8ae1fa2ac6183705a3d1f Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-04-19[ANSIBLE] Enable DynamicKubeletConfig feature gate for KubeletBartek Grzybowski2-0/+2
Since Kubernetes 1.22.0, it's required to enable the DynamicKubeletConfig feature gate on Kubelet to use the --dynamic-config-dir flag Change-Id: I64823906bd1de1419502c055218ecfcd30a61009 Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-04-19[ANSIBLE][BUILD] Update RKE to 1.3.8Bartek Grzybowski3-3/+3
RKE upgrades to 1.3.8 Kubernetes upgrades to v1.22.7-rancher1-1 Kubectl upgrades to 1.22.7 Change-Id: Id17ffa1ce9aef08a6b0a8aa771e7f763d5cb9f02 Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-03-21[ANSIBLE] Do not run "onap" make target while building the helm chartsBartek Grzybowski4-5/+0
Change-Id: I057ae770366e92bebeb97310bab773cdf6b45429 Issue-ID: OOM-2946 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-03-16[MOLECULE] Configure and write tests for application-overrides roleOstap Batih10-1/+113
* configured molecule for application-override role for centos and ubuntu * wrote testinfra test for role Issue-ID: OOM-2889 Signed-off-by: Ostap Batih <o.batih@samsung.com> Change-Id: Iff17b0b9439f3fcb52eb6c4f3829f0c65b55c1a3
2022-03-16[MOLECULE] Pin the ansible-lint pip packageBartek Grzybowski1-1/+1
Pinned to 5.4.0 due to an issue when version is resolved automatically Change-Id: Idbeb12b472c4e4122da980d762b3703abd8084cc Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-28[ANSIBLE] Override sha tag for kube-webhook-certgen imageBartek Grzybowski1-0/+5
It's default value breaks offline simulations. Change-Id: I849cda0bc1818551b21ad39bcbc7dbf6325d4c62 Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-28[ANSIBLE] [BUILD] Upgrade Kube Prometheus Stack to 32.2.1Bartek Grzybowski2-2/+2
Change-Id: I1f86b7d44716ed45abb2fdc63416d1d49004dffe Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-23[MOLECULE] Pin the markupsafe pip package in virtualenvBartek Grzybowski1-1/+1
Pinning to an older version is required by a backward incompatible change introduced in the library, details in the bug report at https://github.com/pallets/markupsafe/issues/284 Change-Id: Ia291d70e0ca734a2149ee81c6168d82e1d7d7ebe Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-17[ANSIBLE] Update ONAP MariaDB dashboardBartek Grzybowski3-46/+1252
This change adds a curated set of panels for ONAP's MariaDB Galera chart monitoring. Change-Id: Ief0f46966af59021cca3c1529d7ce10fd0a99b8f Issue-ID: OOM-2924 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-10[ANSIBLE] Add new dashboard for ONAP services monitoring in GrafanaBartek Grzybowski2-0/+55
Change-Id: Ibeb18c82b945a2adbde044f3db40d77076aa3d01 Issue-ID: OOM-2924 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-09[ANSIBLE] Setup Prometheus to select all ServiceMonitorsBartek Grzybowski1-0/+3
By default Prometheus selects only ServiceMonitors with a "release" label set to "kube-prometheus-stack" which prevents correct discovery of Onap monitoring targets. With these settings any ServiceMonitor with any arbitrary label will be selected. Change-Id: Icbb099a86779bc4df6333e71258504e18f3d1d09 Issue-ID: OOM-2924 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-09[MOLECULE] Unpin the ansible-lint pip packageBartek Grzybowski1-1/+1
Unpinned due to molecule failing on 'lint' command Change-Id: Ib8fddf2edd0c8b81176f6ebfd5346478d6b53e52 Issue-ID: OOM-2924 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for kube_prometheus.yml playbook testsBartek Grzybowski2-0/+28
Change-Id: Id423da14169e109c72f7441a1b944abef1e8a305 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for cert_manager.yml playbook testsBartek Grzybowski2-0/+28
Change-Id: Ibfd91503b9eb92126c90f4e9c1b0e418c0e63641 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for 'kube-prometheus-stack' roleBartek Grzybowski2-14/+32
Change-Id: I40ba8c39ad8530168672fad1134e26226d18b735 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for 'k8s-persistent-volume' roleBartek Grzybowski3-0/+27
Change-Id: I79b1cc4757ce5b45afae3f13b05f2739a3593d4f Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for 'bash-completion' roleBartek Grzybowski1-0/+30
Change-Id: Idf2c22383649beb3c7c76ff6fa991aa88e6cc205 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Fix typo in 'ubuntu' scenario setup for 'package-repository' roleBartek Grzybowski1-2/+2
Change-Id: I03fc928975122400d64bd39c341e07a7a604be90 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for 'cert-manager' roleBartek Grzybowski2-0/+32
Change-Id: I33db6f8837a14959d35318db08acfb2002911a38 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add molecule setup for kube_prometheus.yml playbookBartek Grzybowski7-3/+62
nfs_mount_path in kube-prometheus-stack role is coerced to global value from group_vars to allow direct verifier test reuse in playbook run. Change-Id: I125355f2b65b57ae6782b9eafcb6d6b58a7444e0 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add molecule setup for cert_manager.yml playbookBartek Grzybowski5-0/+57
Change-Id: I8d6847ac2f201ff3218c02f4ee0406042cea9ee2 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[ANSIBLE] Drop pndareg.ctao6.net repository simulationBartek Grzybowski1-1/+0
Pnda charts were already removed from OOM Change-Id: I0c319b61271b45c642a77b1ea45e32a362cb262a Issue-ID: DCAEGEN2-2503 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-03[MOLECULE] Add testinfra tests for kube-prometheus-stack roleOstap Batih1-0/+32
Issue-ID: OOM-2889 Signed-off-by: Ostap Batih <o.batih@samsung.com> Change-Id: I64af5aadcc14c864a27806f20d56e0d7007ff33d
2022-01-03[MOLECULE] Add testinfra test to nexus roleOstap Batih2-0/+12
Issue-ID: OOM-2889 Signed-off-by: Ostap Batih <o.batih@samsung.com> Change-Id: Ie1685398a663badcaf16a44b1bf99ec0e5c29d60
2022-01-03[MOLECULE] Add testinfra tests for nginx roleOstap Batih2-0/+15
Issue-ID: OOM-2889 Signed-off-by: Ostap Batih <o.batih@samsung.com> Change-Id: I32960fbb425d65f934c9c91ffbc764fceafa90f5
2021-12-22[MOLECULE] Add testinfra tests for dns roleOstap Batih3-8/+12
Issue-ID: OOM-2889 Signed-off-by: Ostap Batih <o.batih@samsung.com> Change-Id: I9c653bdaa8cfcd1a8e187cbf899c060a6299457c
2021-12-17[ANSIBLE] Generate shell completion code for kubectl and helmBartek Grzybowski1-0/+4
Rke.yml playbook leverages 'bash-completion' role Change-Id: I1d09a3118f0b52ef274e4159666d9f1b0353783d Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-17[ANSIBLE] Generate shell completion code for cmctl in 'cert_manager' playbookBartek Grzybowski1-0/+2
Leverages 'bash-completion' role Change-Id: Ia404ee05e7268f713ae4a0f613db01e873259ee9 Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-17[ANSIBLE] Drop shell completion code generation in 'kubectl' roleBartek Grzybowski3-36/+0
Moved to a dedicated role Change-Id: I9000403ff619a784c9a480d5de2eafe857c80d8f Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-17[ANSIBLE] Drop shell completion code generation in 'cert-manager' roleBartek Grzybowski3-33/+0
Moved to a dedicated role Change-Id: Ibfaf132d4d81edaee8332b809c3452d530ab1c4c Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-17[ANSIBLE] Add 'bash-completion' roleBartek Grzybowski8-0/+98
Role installs bash-completion package and generates the shell completion code for binary given as a role parameter Change-Id: I95af7b7a16b0dec1dd7841f1db7afdb3738fe6bc Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-16[MOLECULE] Drop 'include_role' in favor of playing the role directlyBartek Grzybowski1-4/+2
'include_role' statement does not play role dependencies Change-Id: I6518f32f4ac1b1f9742d96aeb10d0868c4394c5d Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-15Merge "[ANSIBLE] Fix idempotence deficiencies in 'firewall' and 'nexus' role"Bartek Grzybowski2-2/+1
2021-12-15[ANSIBLE] Fix idempotence deficiencies in 'firewall' and 'nexus' roleBartek Grzybowski2-2/+1
Change-Id: Id154423650483512aa04607f60b4001807be6721 Issue-ID: OOM-2237 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-14[MOLECULE] Define verifier tests directory directly in molecule.ymlBartek Grzybowski2-1/+1
Change-Id: Ic04764848c40a205d60abb01fdffa7e76065c237 Issue-ID: OOM-2238 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-14[ANSIBLE] Fix 'application' role idempotency checksBartek Grzybowski8-60/+11
Change-Id: I9ae95664d30afabc7fd3ba1ea11e466c004f5089 Issue-ID: OOM-2238 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-14[MOLECULE] Drop .gitignore in 'certificates' roleBartek Grzybowski2-2/+0
Workdir gets cleaned automatically Change-Id: I2e10dcb004946d38e59849565040356a9b8ac474 Issue-ID: OOM-1814 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-10[MOLECULE] Add testinfra tests for cert-manager roleOstap Batih1-0/+23
Issue-ID: OOM-2889 Change-Id: Ida4349ea463b3da182502ccc10927c2f22d684b9 Signed-off-by: Ostap Batih <o.batih@samsung.com>
2021-11-25[MOLECULE] Remove separate helm cases from 'application' role verifierBartek Grzybowski1-18/+3
Change-Id: I0a9fc3bad5ec639deabdf50f42f7798974e830bc Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-25[MOLECULE] Drop 'helm3' test scenario for play-rke roleBartek Grzybowski4-43/+0
Change-Id: I7e8e351cb72964dba35a69c020a6d0016e0f383a Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-25[MOLECULE] Download helm-push unconditionally in 'prepare-helm' roleBartek Grzybowski1-2/+1
Change-Id: I12035d5f22d947a54ce56404924ad74561c29546 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-25[ANSIBLE] Play Helm v3 tasks unconditionallyBartek Grzybowski1-2/+1
Helm v3 is the default hence no need for conditionals. Change-Id: I2c9924a0925a8fce0ccac23430b629e3e567f654 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-25[ANSIBLE] Drop Helm v2 specific code from application roleBartek Grzybowski7-86/+3
Change-Id: I270594786b2ec3b63b5c6cd313278bb271db44b1 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-25[MOLECULE] Drop custom helm3 scenario for application roleBartek Grzybowski6-57/+3
Helm v3 is the default now so removing its custom scenario Change-Id: I8814d2a61e47d43e56df43889e730fada7ba99a6 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-24[MOLECULE] Drop custom test scenario for helm v3Bartek Grzybowski9-39/+1
Helm v3 is now the default so removing its custom test scenario. Change-Id: I2c2fa2594a743a1502fe0b414aa75c145cbaa5d9 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-24[ANSIBLE] Include chartmuseum role unconditionallyBartek Grzybowski1-1/+0
Helm v3 is now the default so dropping the conditional inclusion of chartmuseum role Change-Id: I78fa4a1438b49de40e16ebeb79276d74b9ecc5a6 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-24[ANSIBLE] Switch default helm version to 3.6.3Bartek Grzybowski1-1/+1
Change-Id: Id7b9a183f97fe3002784f9a9482af9ff98c88bf2 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>