Fix mcp.conf for prebuilt packages
This commit is contained in:
parent
4d295d567b
commit
11b6e31c55
2 changed files with 11 additions and 1 deletions
|
@ -26,9 +26,12 @@ create_mirantis_mcp_conf() {
|
||||||
push = False
|
push = False
|
||||||
|
|
||||||
[registry]
|
[registry]
|
||||||
address = "registry01-bud.ng.mirantis.net:5800"
|
address = "registry01-bud.ng.mirantis.net"
|
||||||
insecure = True
|
insecure = True
|
||||||
|
|
||||||
|
[images]
|
||||||
|
namespace = "nextgen"
|
||||||
|
|
||||||
[kubernetes]
|
[kubernetes]
|
||||||
environment = "openstack"
|
environment = "openstack"
|
||||||
|
|
||||||
|
|
|
@ -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
|
- hosts: kube-master
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Rsync CCP repos
|
- name: Rsync CCP repos
|
||||||
|
|
Loading…
Reference in a new issue