Fix sdnc/appc-ansible-server not running
These pods are installing packages from apt and pypi repositroies
during runtime.
This change creates patch and makes necessary modifications
for packages being installed from offline repositories.
Change-Id: Id71f40f94c8641ad0c9d1ba4c87d3daea70c828e
Issue-ID: OOM-1619
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
diff --git a/ansible/infrastructure.yml b/ansible/infrastructure.yml
index 0866733..e4715a9 100644
--- a/ansible/infrastructure.yml
+++ b/ansible/infrastructure.yml
@@ -14,7 +14,7 @@
name: "{{ app_name }}"
file: "{{ app_name | lower }}"
description: "{{ app_name }} offline repository"
- baseurl: "{{ 'http://repo.infra-server' if 'infrastructure' not in group_names else 'file://' + app_data_path + '/pkg/rhel' }}"
+ baseurl: "{{ 'http://repo.infra-server/rhel' if 'infrastructure' not in group_names else 'file://' + app_data_path + '/pkg/rhel' }}"
gpgcheck: no
enabled: yes
when: deploy_rpm_repository