summaryrefslogtreecommitdiffstats
path: root/ansible/roles/application/tasks
AgeCommit message (Collapse)AuthorFilesLines
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-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
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-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>
2019-07-08Modify the way override worksMichal Zegan1-1/+11
Now the generated app_helm_override_file and the list of helm overrides is separate. The former is to contain things like user provided overrides, the latter is the list of absolute paths to preexisting helm value files. The playbook joins all that into a final list of override files that is then passed to helm. Change-Id: I8b8ded38b39aa9a75e55fc63fa0e11b986556cb8 Issue-ID: OOM-1951 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-07Merge "Replace 'with_items' loop statements with 'loop' keyword"Samuli Silvius1-1/+1
2019-06-04Replace 'with_items' loop statements with 'loop' keywordBartek Grzybowski1-1/+1
As of Ansible 2.5 'loop' keyword is a recommended way for looping statements instead of 'with_dict'. Change-Id: I19e00cc27e13955e2056840fd4ce99841bc824ad Issue-ID: OOM-1887 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-04Adapting to Dublin realaseroot1-1/+1
In Dublin: First project has taken ownership of own helm charts, oom repository must be obtained with subrepositories. By default no applications are enabled, introducing a way to submit more override files in to installer Issue-ID: OOM-1861 Signed-off-by: root <m.pilat@partner.samsung.com> Change-Id: I1724de6b87bd0e9d17df4d0f55615a3f1c439d40
2019-05-29Add support for extra helm install argumentsPetr Ospalý1-0/+1
Change-Id: Ie0b4e812acf6fba4e4b8f082533ab2f998456095 Issue-ID: OOM-1877 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-05-16Molecule tests for application role.Samuli Silvius1-8/+8
Issue-ID: OOM-1812 Change-Id: Ifb6f5a10afb4014b20be77a4141371e561d346ce Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-01Improve application role testabilitySamuli Silvius6-0/+163
Remove different phases for application role as those are supposed to run after each other anyway from playbook and pre/post steps can be disabled by other means. Enable Helm override file generation customization by delegating it to separate role. Separate Helm file transfer to own module. NOTE: install.yml with all Helm commands (shell/command) is not idempotent and should be fixed with separate commit. Issue-ID: OOM-1655 Change-Id: Ib29773c4d64a0529c71c3f93c2af7265ae94059f Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>