aboutsummaryrefslogtreecommitdiffstats
path: root/installation/ansible-server/src/main/scripts
AgeCommit message (Collapse)AuthorFilesLines
2018-09-12Update SDNC to use CCSDK ansible server as baseTimoney, Dan (dt5972)7-1825/+0
Update SDNC to use CCSDK ansible server as base for its instance of ansible server Change-Id: Idaf1c83cf50ee526f17b97a3b2e376f6ad3a696b Issue-ID: CCSDK-442 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 01809240263c1d5ddad9e1e990a9610bdceaa83a
2018-05-13Wrong id used to retrieve statusTimoney, Dan (dt5972)1-4/+7
LCM DGs were using incoming request id to retrieve status from ansible server instead of id returned by ansible server in initial request. Also, ansible should be configured to ignore host key checking to avoid certificate issues. Change-Id: I0cf3d053de652985c4611f8c7d2b5dbee22e0791 Issue-ID: SDNC-313 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 4559d6203ab3f5706b6a2c1a898aa1df37407522
2018-05-01Fix ansible startup scriptTimoney, Daniel (dt5972)1-3/+3
Fixed ansible startup script to (1) fix first line to use /bin/bash and (2) write to both stdout and to /var/log/ansible-server.log so that docker-compose logs can be used to see messages on failure Change-Id: I3895329aa3ca2b805aebb8c00d5876f337fd7944 Issue-ID: SDNC-295 Signed-off-by: Timoney, Daniel (dt5972) <dt5972@att.com> Former-commit-id: 5af9a1719e7dfd69dd298fa4efeb63b2560554e8
2018-04-27Add dns config, fix ansible start scriptv1.3.1Timoney, Dan (dt5972)1-1/+1
Re-add DNS config accidentally removed from sdnc container in docker-compose.yml and fix typos in ansible start script Change-Id: I808d559f68e7348acb5bbddfc089b96168f0f7bf Issue-ID: SDNC-288 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: f2929453c961b3d6e9a5320b06cd86146a4c636f
2018-04-27Fix ansible server configTimoney, Dan (dt5972)2-4/+5
Added ansible server to docker-compose.yml and made a few config changes: - redirect of output in final exec causes exec to fail. Instead, need to redirect output in standalone exec line. Redirected to /var/log/ansible-server.log - Updated LCM config to use ansiblehost alias to reach ansible (was incorrectly using 0.0.0.0) Change-Id: I4b1b6bbc5f3df6f480333d53adda4c8e6e0d6510 Issue-ID: SDNC-288 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 50c65c2c7cd92db6d14215114d098b33da5f618d
2018-04-26Move add-apt-repository to startupTimoney, Dan (dt5972)1-0/+4
add-apt-repository is failing in Jenkins, so move it to ansible server startup script instead. Change-Id: Iae058003678748c9a4bed9b5e279ebcce4c4695a Issue-ID: SDNC-288 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 352342232f7578dc31597291947457f800e6619e
2018-04-26Move pip installs from DockerfileTimoney, Dan (dt5972)1-0/+12
Pip install seems to fail in Dockerfile. Instead, move pip installs to a startup script so that they can be done on initial container startup. Change-Id: I3125307d5f9bfc980d8f9ed0bba108a5536548fd Issue-ID: SDNC-288 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 3c48ffbeda720569fbfb8fac3e5db1cd0551474b
2018-04-24LCM Ansible Server DockerRuchira Agarwal6-0/+1805
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