Deploy reg-server to prod

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-11-21 21:55:48 +00:00
parent 408460130e
commit 732824986c
2 changed files with 9 additions and 2 deletions

View file

@ -59,7 +59,6 @@
- import_tasks: "{{ tasks_path }}/2fa_client.yml" - import_tasks: "{{ tasks_path }}/2fa_client.yml"
- import_tasks: "{{ tasks_path }}/motd.yml" - import_tasks: "{{ tasks_path }}/motd.yml"
- import_tasks: "{{ tasks_path }}/reg-server.yml" - import_tasks: "{{ tasks_path }}/reg-server.yml"
when: master_sundries_node and env == "staging"
handlers: handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -204,4 +204,12 @@ path = /srv/web/registry-signatures
uid = root uid = root
gid = root gid = root
read only = yes read only = yes
hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0 hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0 10.5.128.0/255.255.255.0
[registry-index]
comment = registry-index
path = /var/lib/reg-server/static/
uid = root
gid = root
read only = yes
hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0 10.5.128.0/255.255.255.0