Fix mcp.conf for prebuilt packages

This commit is contained in:
Aleksandr Didenko 2016-07-01 18:10:29 +02:00
parent 4d295d567b
commit 11b6e31c55
2 changed files with 11 additions and 1 deletions

View file

@ -26,9 +26,12 @@ create_mirantis_mcp_conf() {
push = False
[registry]
address = "registry01-bud.ng.mirantis.net:5800"
address = "registry01-bud.ng.mirantis.net"
insecure = True
[images]
namespace = "nextgen"
[kubernetes]
environment = "openstack"

View file

@ -1,3 +1,10 @@
- hosts: all
tasks:
- lineinfile:
dest: /etc/hosts
regexp: 'registry01-bud.ng.mirantis.net'
line: '172.16.180.121 registry01-bud.ng.mirantis.net'
- hosts: kube-master
pre_tasks:
- name: Rsync CCP repos