minor updates on playbook
This commit is contained in:
+6
-6
@@ -3,6 +3,12 @@
|
||||
name: "{{ inventory_hostname }}"
|
||||
use: systemd
|
||||
|
||||
- name: set up DNS
|
||||
lineinfile:
|
||||
path: /etc/resolv.conf
|
||||
search_string: 'nameserver 10.50.4.8'
|
||||
line: "nameserver {{ DNS_address }}"
|
||||
|
||||
- name: download asc and cephadm for ceph
|
||||
get_url:
|
||||
url: "{{ item.url }}"
|
||||
@@ -67,12 +73,6 @@
|
||||
notify:
|
||||
- ceph-rollout:restart_sshd
|
||||
|
||||
- name: set up DNS
|
||||
lineinfile:
|
||||
path: /etc/resolv.conf
|
||||
search_string: 'nameserver 10.50.4.8'
|
||||
line: "{{ DNS_address }}"
|
||||
|
||||
- name: set root password
|
||||
user:
|
||||
name: root
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
addr: 10.50.8.88
|
||||
location:
|
||||
root: default
|
||||
labels:
|
||||
- mon
|
||||
- osd
|
||||
- mgr
|
||||
@@ -0,0 +1,7 @@
|
||||
addr: 10.50.8.97
|
||||
location:
|
||||
root: default
|
||||
labels:
|
||||
- mon
|
||||
- osd
|
||||
- mgr
|
||||
@@ -0,0 +1,5 @@
|
||||
addr: 10.50.8.89
|
||||
location:
|
||||
root: default
|
||||
labels:
|
||||
- osd
|
||||
@@ -0,0 +1,5 @@
|
||||
addr: 10.50.8.98
|
||||
location:
|
||||
root: default
|
||||
labels:
|
||||
- osd
|
||||
@@ -0,0 +1,5 @@
|
||||
addr: 10.50.8.90
|
||||
location:
|
||||
root: default
|
||||
labels:
|
||||
- osd
|
||||
@@ -0,0 +1,5 @@
|
||||
addr: 10.50.8.99
|
||||
location:
|
||||
root: default
|
||||
labels:
|
||||
- osd
|
||||
@@ -0,0 +1,22 @@
|
||||
ceph-nodes:
|
||||
hosts:
|
||||
node01.gprs.ceph.cfo:
|
||||
ansible_host: 10.50.8.88
|
||||
ansible_user: g10
|
||||
ansible_ssh_pass: 12345
|
||||
ansible_become_pass: 12345
|
||||
node02.gprs.ceph.cfo:
|
||||
ansible_host: 10.50.8.89
|
||||
ansible_user: g10
|
||||
ansible_ssh_pass: 12345
|
||||
ansible_become_pass: 12345
|
||||
node03.gprs.ceph.cfo:
|
||||
ansible_host: 10.50.8.90
|
||||
ansible_user: g10
|
||||
ansible_ssh_pass: 12345
|
||||
ansible_become_pass: 12345
|
||||
# ceph-client:
|
||||
# ansible_host: 10.50.8.91
|
||||
# ansible_user: g10
|
||||
# ansible_ssh_pass: 12345
|
||||
# ansible_become_pass: 12345
|
||||
@@ -0,0 +1,22 @@
|
||||
ceph-nodes:
|
||||
hosts:
|
||||
node01.gprs.ceph.cfo.bkp:
|
||||
ansible_host: 10.50.8.97
|
||||
ansible_user: g10
|
||||
ansible_ssh_pass: 12345
|
||||
ansible_become_pass: 12345
|
||||
node02.gprs.ceph.cfo.bkp:
|
||||
ansible_host: 10.50.8.98
|
||||
ansible_user: g10
|
||||
ansible_ssh_pass: 12345
|
||||
ansible_become_pass: 12345
|
||||
node03.gprs.ceph.cfo.bkp:
|
||||
ansible_host: 10.50.8.99
|
||||
ansible_user: g10
|
||||
ansible_ssh_pass: 12345
|
||||
ansible_become_pass: 12345
|
||||
# ceph-client:
|
||||
# ansible_host: 10.50.8.91
|
||||
# ansible_user: g10
|
||||
# ansible_ssh_pass: 12345
|
||||
# ansible_become_pass: 12345
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
grafana_tag: "9.4.12"
|
||||
alertmanager_tag: "v0.27.0"
|
||||
ntp_server: "ntp.int.nt-com.ru"
|
||||
first_mon_ip: "10.50.8.75"
|
||||
first_mon_ip: "10.50.8.97"
|
||||
# cluster_network: "10.63.0.0/24"
|
||||
public_network: "10.50.8.0/24"
|
||||
CEPH_RELEASE: '19.2.0'
|
||||
|
||||
Reference in New Issue
Block a user