summaryrefslogtreecommitdiffstats
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2018-12-19Add the setup playbook for distributing ssh keysPetr Ospalý1-0/+26
Change-Id: I76773122de3d0b85a5bd772353614834df382c54 Issue-ID: OOM-1551 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Add an ansible config to enable custom rolesPetr Ospalý1-0/+8
Inside the application directory can be defined a custom application specific role Issue-ID: OOM-1551 Change-Id: Ic975a477fa33452f061a88c133a0e3edae747d94 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Add .gitignore to the ansible directoryPetr Ospalý1-0/+1
To avoid including the untarred chroot directory into git Issue-ID: OOM-1551 Change-Id: I4f760a2a5068a78fb5a05ebb1874544d55a2fc83 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Add empty application directory with READMEPetr Ospalý1-0/+58
Issue-ID: OOM-1551 Change-Id: I9bd50199d441bcc33d9a8019297950e556f378e4 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Merge "Add control variables for the ansible deploy"Michal Ptacek2-0/+165
2018-12-19Add the template for the hosts inventory filePetr Ospalý1-0/+32
Issue-ID: OOM-1551 Change-Id: I6ed8cae7fae5b482b5934d0e974434083714cf75 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Add control variables for the ansible deployPetr Ospalý2-0/+165
all.yml should be set or redefined per application infrastructure.yml should be modified only with a care Issue-ID: OOM-1551 Change-Id: I05dd6b83d980101214881420e3825949e75afc73 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Merge "Adding nginx role"Michal Ptacek2-0/+142
2018-12-19Merge "Add nexus ansible role"Michal Ptacek8-0/+136
2018-12-19Add ansible library for creating the k8n env.Petr Ospalý1-0/+341
Issue-ID: OOM-1551 Change-Id: I485f58e560086345bd27a4a7f94d2651a0cd357e Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Merge "Adding rancher role"Tomáš Levora4-0/+85
2018-12-19Add ansible library to modify jsonPetr Ospalý1-0/+90
Issue-ID: OOM-1551 Change-Id: I791bf7163a023ddc140cee22d474fcf532beae17 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Merge "Add a wrapper script to run ansible in chroot"Tomáš Levora1-0/+465
2018-12-19Merge "Add .gitignore to docker directory"Petr Ospalý1-0/+3
2018-12-19Add a wrapper script to run ansible in chrootPetr Ospalý1-0/+465
Script uses namespaces and overlayfs to be more robust. Also it supports bind mounting to extend the chroot with external files and directories. Issue-ID: OOM-1551 Change-Id: I8c554e1b86fca86f86e6c0d0e1b106c97a08ef15 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Adding nginx roleMichal Ptacek2-0/+142
nginx is crucial part of our offline solution, within this role we are covering deployment of this lightweight http server together with its configuration. Change-Id: I89695074349f4c6938340ab3bb735108c8c278f4 Issue-ID: OOM-1551 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2018-12-19Adding rancher roleMichal Ptacek4-0/+85
In kubernetes cluster configuration we still use rancher tool, this ansible role is providing handling for both rancher server and agent. Change-Id: I508a42a98902788b940b06cf95009a899c50a3b8 Issue-ID: OOM-1551 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2018-12-19Add a script to convert the docker into chrootPetr Ospalý1-0/+220
The docker image will be exported into a tar archive containing the chroot directory Issue-ID: OOM-1551 Change-Id: I8709ffd59156243e42bebbaf03838120149d47b0 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Add .gitignore to docker directoryPetr Ospalý1-0/+3
To avoid including the created image in the git by accident Issue-ID: OOM-1551 Change-Id: I7144a063ed45ee8511912adb2aa1024965d452d0 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Add resource-data handling roleMichal Ptacek3-0/+113
In this role we mostly cover uploading of data resource using either default ssh way or if nfs server is configured it can be used as well for distributing data to infra node. Change-Id: I4784c6ca931b00c1033aedb33e388badfba83650 Issue-ID: OOM-1551 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2018-12-19Add ansible docker imagePetr Ospalý2-0/+86
Dockerfile and script for building the image Change-Id: If1e83095463ae209e284ba92898447a1205a2244 Issue-ID: OOM-1551 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-19Adding ansible vncserver roleMichal Ptacek1-0/+19
Local VNCserver is expected to be good tool for accessing onap component GUI APIs howerver its not crucial part of the installation. Change-Id: If8105d5ab564f30d9da002a5bf2b1f0f3c017f78 Issue-ID: OOM-1551 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2018-12-19Adding ansible helm roleMichal Ptacek1-0/+7
This role is providing handling of helm binary, as of now its very lightweight. Change-Id: I7b9368f31b40d3a818dfdaa9293b0013d963b39c Issue-ID: OOM-1551 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2018-12-19Merge "Add ansible nfs role"Michal Ptacek3-0/+41
2018-12-19Merge "Add ansible certificates role"Michal Ptacek3-0/+119
2018-12-19Add ansible kubectl roleMichal Zegan1-0/+7
This role install kubectl tool. Change-Id: Ie446a68c94138593770f323ec3ee3dc607fdd8e0 Issue-ID: OOM-1551 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2018-12-19Add nexus ansible roleMichal Zegan8-0/+136
This role deploys the internal nexus used as offline source of docker images/npm packages for onap. Change-Id: Iaf398eb03614749d2b3c100c241726144ccae1a0 Issue-ID: OOM-1551 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2018-12-19Add ansible nfs roleMichal Zegan3-0/+41
This commit adds role for creating /dockerdata-nfs and exporting i over nfs for later use during onap deployment. Change-Id: I0ea8e858d581534b983eaab6e1ee570068fc623c Issue-ID: OOM-1551 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2018-12-19Add ansible certificates roleMichal Zegan3-0/+119
This role is used to generate and install certificates on instances, incl. root ca. Those certificates are used mainly to allow secure access to internal docker registry with proper certificate verification. Issue-ID: OOM-1551 Change-Id: I74782dd2938cb51da293f88483d5362981269196 Signed-off-by: Michal Zegan <m.zegan@samsung.com>