mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-17 06:17:38 -02:30
Fix mcp.conf for prebuilt packages
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user