summaryrefslogtreecommitdiffstats
path: root/tools/cicdansible/roles
AgeCommit message (Collapse)AuthorFilesLines
2020-02-29Specify Python in Ansible inventory template fileJan Benedikt2-1/+4
Created copy of inventory template due to set var of Python interpreter. Python interpreter cannot be set in ansible.cfg file due to bug: https://github.com/ansible/ansible/issues/45852 Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I9683a2a764e8c6696a39625a6ddc40cda20f9333
2020-02-11Use POSIX compliant shell command in cicdansibleBartek Grzybowski1-1/+1
"[[ ]]" is a bash specific command that doesn't work in dash which is Ubuntu's default shell. Change-Id: Idd09c2e1e8c409503b12756141632527ab91b5ec Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1671
2019-12-18Add robot config at onap installDenis Kasanic2-0/+12
Change onap network cidr to /16 due to robot hardcoded config. Adding onap network id to configuration at installation part. Adding optional connection to demo usecases network at deploy step Update patch scripts for specify network and kubernetes namespace Enable config_drive parameter at openstack instances deploying to get openstack metadata Issue-ID: OOM-1996 Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: I4403e8ca0f385060ac815372ffd91eda60026ddb
2019-10-08Merge "Fixing invalid hostname filled by ci-installer"Michal Ptacek1-3/+3
2019-10-08Fixing deprecation warning in ci-installerTomáš Levora1-1/+1
Issue-ID: OOM-2128 Change-Id: I5b25007b0521596083f539be296291adc21bb1d8 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-02Fixing invalid hostname filled by ci-installerTomáš Levora1-3/+3
ci-installer filled hostname containing underscore what is invalid Issue-ID: OOM-2119 Change-Id: I26dfa7115ba9e700715e0fae441c21a26fde3382 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-09-16Make cicdansible to set external ipMichal Zegan1-0/+4
Make cicdansible to set external_ip correctly using floating ips. Change-Id: I3791ee670806c7008073389e43dec5e887abfda9 Issue-ID: OOM-2112 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-09-06Add ability to put dockerdata-nfs on root diskMichal Zegan1-0/+1
Modify the heat template so that it becomes possible to skip volume creation for dockerdata-nfs. This feature can be toggled at will. It is useful for the cases where /dockerdata-nfs needs to be fast, but there are no ssd volumes available. Of course, large enough ephemeral disks are needed, around 60 gb. Change-Id: I37e29e7cf7273d1d4a6e896ec017d9ef8177b1d0 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-09-04Add onap installation roleMichal Zegan5-0/+94
This role generates offline installer parameters and inventory, downloads offline installer sw package, and initiates onap installation, waiting for it to finish. Change-Id: I5c79d9732b8d77f57278f5009f4e5089377fc2cf Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-09-04Add onap instance configuration roleMichal Zegan4-0/+44
This change adds a role that configures deployed onap infrastructure instances. This role is generic and not openstack dependent. This role configures instances to reach each other by name, to mutually authenticate with the given ssh keys, etc. This mainly makes it easier for developers to do troubleshooting, and allows offline installer to work smoothly. Change-Id: I26750b0a8a69f56297f0a5f7ff491463ed2e9e32 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-09-04Add ansible role to deploy onap infrastructure on openstackMichal Zegan7-0/+153
This role deploys the onap infrastructure on open stack using the heat template, passing it needed parameters from inventory. It also formats and mounts all cinder volumes attached to the instances, so that they can be utilized. Change-Id: I0cb13a5b55bd31445acaa2f7c1db80a925daa5cb Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>