summaryrefslogtreecommitdiffstats
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2022-01-04[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-20[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-20[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-20[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-20[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-20[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-20[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' ↵Bartek Grzybowski2-2/+1
role" into istanbul
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-15[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-15[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-15[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-13[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-12-03[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-12-03[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-12-03[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-12-03[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-12-03[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-12-03[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-12-03[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-12-03[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-12-03[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>
2021-11-23[ANSIBLE] Add ghcr.io to simulated hosts listBartek Grzybowski1-0/+1
Required by Platform chart for Chartmuseum Change-Id: I3e981d2e2acdfcd781d5cdfd777924b489fa1593 Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-23[ANSIBLE] Setup cmctl autocompletionBartek Grzybowski2-0/+24
Bash autocompletion code is generated to facilitate autocompletion for cmctl command. Change-Id: I03494293bf91aada54af70f6e0fd2c49e2feea64 Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-23[ANSIBLE] Install cmctl utilityBartek Grzybowski5-0/+19
Cert-manager role will also install cmctl utility for cert-manager resources management. Change-Id: I4c4d9ecb243c951a190733230f310f4899c9bc23 Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-23[ANSIBLE] Add cert-manager provisioning playbookBartek Grzybowski2-0/+6
It's also added to main site.yml Change-Id: I8283945d74324234cae6ada8898be713576427d5 Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-23[ANSIBLE] Add cert-manager roleBartek Grzybowski8-0/+114
A role that provisions the cert-manager (https://cert-manager.io/) onto Kubernetes cluster Change-Id: Iced3be4fae7ed20be8f58662b03a8a97b454b470 Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-23[MOLECULE] Add prepare-cert-manager roleBartek Grzybowski1-0/+11
Its purpose is to setup container for cert-manager role testing. Change-Id: Iae7db9d46f9aff02c388c93f02dd0d59bbcac46d Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-23[MOLECULE] Upgrade Helm3 release to 3.6.3 in test scenariosBartek Grzybowski2-2/+2
Change-Id: I819e8157758b42507c8757128f4bd047ffd4fa9b Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-27[ANSIBLE] Disable DNS management in Network Manager only if it's installedBartek Grzybowski1-1/+5
Additional check for package presence is required as Centos7.9 cloud image does not have it in contrary to RedHat7.9 Change-Id: I6dcfba0a0fdc1be16ce2ab06eb562168f7814538 Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-27[MOLECULE] Upgrade roles tests image to Centos7.9Bartek Grzybowski16-24/+24
Change-Id: I2ae6cba6e6e6bcc629dceb21609cb35cb75ea4cf Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-27[MOLECULE] Upgrade playbook tests image to Centos7.9Bartek Grzybowski6-12/+12
Change-Id: I7b2d67a25da0433f073e13616cdbb0291fc1a7b9 Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-23Merge "[ANSIBLE] Setup config file containing resources dir full path"Bartek Grzybowski3-0/+8
2021-09-17[ANSIBLE] Setup config file containing resources dir full pathBartek Grzybowski3-0/+8
Such config might be handy in scenarios where user defined scripts populated with offline-platform require to leverage the full path to resources directory on infra node. Change-Id: I5b4468ef7b396d2583ad64255679a29f3ff675b4 Issue-ID: OOM-2835 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-16[ANSIBLE] Provision custom Grafana Home dashboardBartek Grzybowski2-3/+9
Change-Id: I85e096cbecf24c2b6914b60ec97a4f056d18bd1e Issue-ID: OOM-2833 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-16[ANSIBLE] Add custom Grafana Home dashboard JSON modelBartek Grzybowski1-0/+126
Change-Id: I19acd32cacd0248b72b2887850ca9f082b8933d5 Issue-ID: OOM-2833 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-16Merge changes from topic "kubernetes-dashboard-2.3.1"Bartek Grzybowski1-1/+1
* changes: [BUILD] Update image data list for Kubernetes Dashboard v2.3.1 [ANSIBLE] Upgrade Kubernetes Dashboard to v2.3.1
2021-09-15[ANSIBLE] Change Grafana's default passwordBartek Grzybowski1-1/+1
Changing default password to avoid password change prompt on each login. Change-Id: I2fda07bd768f5a408ddd2ead6ed80e183a52a25c Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-14[ANSIBLE] Upgrade Kubernetes Dashboard to v2.3.1Bartek Grzybowski1-1/+1
Change-Id: Idbffeba25547f3e1a83d83c86b65ea52cecbc8c5 Issue-ID: OOM-2829 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-10[BUILD] [ANSIBLE] Upgrade Kube Prometheus Stack to 18.0.4Bartek Grzybowski1-1/+1
Change-Id: I4fa2fcd3456232e3f03a66154a43e23ce92aae11 Issue-ID: OOM-2826 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-08[MOLECULE] Upgrade Helm release to 3.5.2Bartek Grzybowski2-2/+2
Change-Id: Ifcaa7d64094b2f29ac73907e2164ac61def1033b Issue-ID: OOM-2825 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-02[MOLECULE] Upgrade RKE and kubectl versions in Molecule setupBartek Grzybowski2-2/+2
RKE upgrades to 1.3.0 kubectl upgrades to 1.19.14 Change-Id: I2fb9acae6bdc8d9bb39d0b9996f2a561fb8d2d73 Issue-ID: OOM-2818 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-02[ANSIBLE] Upgrade Kubernetes version deployed by RKE to v1.19.14Bartek Grzybowski1-1/+1
Change-Id: Id625510579585f3cfde598ffe6b52c44cba51678 Issue-ID: OOM-2818 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-24[ANSIBLE] Increase Helm install timeout for kube-prometheus applicationBartek Grzybowski1-1/+1
Change-Id: Iae212643dae864360d69197e6530d6463af33ffe Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-24[ANSIBLE] Create a NodePort type service for Grafana dashboardBartek Grzybowski1-0/+8
This will allow accessing Grafana UI on controlplane public port. Change-Id: Ic3c2f22f36616fe636c966d962b9e503ef56c735 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-17[ANSIBLE] Update custom Grafana dashboardBartek Grzybowski1-167/+503
Panels added: - Node readiness status - Pod status in Onap namespace - Open file descriptors Change-Id: I5728efcbfd5008d382dc1a788e579daf225362be Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-17[ANSIBLE] Configure custom Grafana dashboardBartek Grzybowski4-1/+346
A new dashboard provider is set up in Grafana which reads the dash json definition from the file uploaded to Grafana PV Change-Id: I2704fe85e838e9aba2a846172334af467b9f2045 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-15[ANSIBLE] Setup persistent volume for Grafana dashboardsBartek Grzybowski2-3/+13
Change-Id: Ifb45abae0c8a7716addbd62d340423f1c1e44c03 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-11[ANSIBLE] Add 'nfs' playbookBartek Grzybowski3-13/+13
NFS server and mount is extracted into its own playbook. It has to be provisioned before kube-prometheus stack. Change-Id: I98942db4bcd7b16565d27f13d9a034b987467a61 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>