From 2195d61ba833d037f62eae7ea02065db3ae80bd2 Mon Sep 17 00:00:00 2001 From: "a.pivkin" Date: Tue, 17 Dec 2024 12:32:23 +0300 Subject: [PATCH] shitty settings updates on MTS cluster --- basics.yaml | 5 +++++ pre-deploy.yml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/basics.yaml b/basics.yaml index 1478da6..3871591 100644 --- a/basics.yaml +++ b/basics.yaml @@ -1,3 +1,8 @@ + - name: set FQDN + hostname: + name: "{{ inventory_hostname }}" + use: systemd + - name: download asc and cephadm for ceph get_url: url: "{{ item.url }}" diff --git a/pre-deploy.yml b/pre-deploy.yml index 63799f3..5716df7 100644 --- a/pre-deploy.yml +++ b/pre-deploy.yml @@ -28,7 +28,7 @@ pause: prompt: RUN THIS TO BOOTSTRAP THE CLUSTER "cephadm --image harbor.test.registry.int.nt-com.ru/proxy-quay/ceph/ceph:v19.2 bootstrap --mon-ip {{ first_mon_ip }} --initial-dashboard-user {{ initial_dashboard_user }} --initial-dashboard-password {{ initial_dashboard_password }} - --apply-spec /root/cluster_spec.yml --config /root/initial-ceph.conf" + --apply-spec /root/cluster_spec.yml --config /root/initial-ceph.conf --allow-fqdn-hostname" when: - cluster_network is undefined @@ -37,7 +37,7 @@ prompt: RUN THIS TO BOOTSTRAP THE CLUSTER "cephadm --image harbor.test.registry.int.nt-com.ru/proxy-quay/ceph/ceph:v19.2 bootstrap --mon-ip {{ first_mon_ip }} --cluster-network {{ cluster_network }} --initial-dashboard-user {{ initial_dashboard_user }} --initial-dashboard-password {{ initial_dashboard_password }} - --apply-spec /root/cluster_spec.yml --config /root/initial-ceph.conf" + --apply-spec /root/cluster_spec.yml --config /root/initial-ceph.conf --allow-fqdn-hostname" when: - cluster_network is defined