aboutsummaryrefslogtreecommitdiffstats
path: root/installation/ansible-server/src/main/yml
AgeCommit message (Collapse)AuthorFilesLines
2019-01-30reduce sdnc-ansible-server image footprintSylvain Desbureaux16-327/+0
Project "CIA" scope is to provide smaller and multi architecture docker images. This proposition aims to do that for sdnc-ansible-server. The current size of this proposal is 139mb compared to the 618Mb image proposed before (and before actual ansible installation). Principles used are the following: 1. a "basic" `docker build .` should provide a working image; 2. use the smallest (and multi arch) base image possibe; 3. install necessary stuff only; 4. leverage python best practices for installation; 5. remove installation stuff occuring at run level and move them to build level. * Dockerfile is now at the root part; * ansible configuration file `ansible.cfg` is created and put in `configuration` folder; * ansible configuration file `ansible.cfg` is pushed during the build part with a reproductible process; * `python` files are on `ansible-server" folder so copying during build works out of the box; * yml files are put directly on `ansible-server/Playbooks` so copying during build works out the box; * Dockerfile base image is now alpine:3.8; * `timeout` executable being now from busybox, change in the command-line call has been made (`--signal` is now `-s` and `-t` is set before setting the timeout value). * Only install python and python-pip as alpine package and remove build dependencies package after use. * put all python requirements in `requirements.txt` package and launch pip installation command with this file. * call directly python main script (`RestServer.py`) as entrypoint and do the python installation stuff at build time. - [x] change pom.xml so building parts works - [ ] consider changing destination folder (`/opt/ansible-server/`) to the ancient one (`/opt/onap/ccsdk/`) if this is problematic Change-Id: I6295d7c2d1ed631e1842350581234686d704c1bf Issue-ID: INT-816 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Former-commit-id: 4fe3b43a0d30a15ceed58c695d2a72c5382fded6
2018-10-10Fix sudo permission of remote normal usersYaoguang Wang3-9/+9
Change-Id: Ia593cfa706b0088306ea3d8d18117c3d9b2343c9 Issue-ID: CCSDK-464 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Former-commit-id: 2e7ccff033ddf54574ab3f740bf274b1472b2347
2018-09-27Ansible playbook for vFW TDLukasz Rajewski1-0/+110
Ansible playbook for Traffic Distribution LCM action for modified vFW use case. Modified use case requires heat template that creates two instances of vFW and two vSinks Change-Id: I99353c786b820ba842e6323b6473188a2c9f29d1 Issue-ID: CCSDK-449 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Former-commit-id: b0b29f8b3f9773e5532296ceb52ab55d3eaad768
2018-09-21CCSDK-464Yaoguang Wang3-0/+63
create and push ansible playbooks for 5G PNF software pre-check,upgrade and post-check Change-Id: Ie7cb18047dc4587ecc0999e890bf85daab73b97b Issue-ID: CCSDK-464 Signed-off-by: wangyaoguang <sunshine.wang@huawei.com> Former-commit-id: 8dd603f5bb2ab82a2332afe5d4a24a8de76a8e34
2018-09-13add LCM ansible playbooksAgarwal, Ruchira(ra1926)6-0/+50
LCM Playbooks for TrafficManagement Change-Id: I90bae6929ce279a113636b3a075f76bd6ba44188 Issue-ID: SDNC-425 Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com> Former-commit-id: 2e3233e42ba9d352a88453617ec75a7cdeb7d60c
2018-04-24LCM Ansible Server DockerRuchira Agarwal6-0/+104
Add CM Ansible Server Docker Container Change-Id: I673cfd6dce5d2e96954fc6700a12a849f46dae5a Issue-ID: SDNC-288 Signed-off-by: Ruchira Agarwal <ra1926@att.com> Former-commit-id: c051fe64ed0ddd6aeb26f8b2af9adfe7011a4dc0