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