summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nginx
diff options
context:
space:
mode:
authorMilan Verespej <m.verespej@partner.samsung.com>2019-02-04 11:01:19 +0100
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-02-06 08:35:19 +0000
commitc2a14cfae6d19c3c6c09394ca710f1871a48983d (patch)
tree79948f6746692e282c879eff4b40980b8b73d76c /ansible/roles/nginx
parent997057f24ed6681094d4a96cb2738a0bcf307ee0 (diff)
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>
Diffstat (limited to 'ansible/roles/nginx')
-rw-r--r--ansible/roles/nginx/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/nginx/tasks/main.yml b/ansible/roles/nginx/tasks/main.yml
index 5c010848..c59be75f 100644
--- a/ansible/roles/nginx/tasks/main.yml
+++ b/ansible/roles/nginx/tasks/main.yml
@@ -31,7 +31,8 @@
- "{{ app_data_path }}/certs:/etc/nginx/certs:ro"
- "{{ app_data_path }}/git-repo:/srv/git:rw"
- "{{ app_data_path }}/http:/srv/http:rw"
- - "{{ app_data_path }}/pkg/rhel:/srv/http/repo.infra-server:rw"
+ - "{{ app_data_path }}/pkg/rhel:/srv/http/repo.infra-server/rhel:rw"
+ - "{{ app_data_path }}/pkg/ubuntu/xenial:/srv/http/repo.infra-server/ubuntu/xenial:rw"
- /var/log/nginx:/var/log/nginx:rw
state: started
restart_policy: unless-stopped