Compare commits
2 Commits
15f013e74e
...
1134ce2517
Author | SHA1 | Date | |
---|---|---|---|
1134ce2517 | |||
b1a5dde9b0 |
@ -384,6 +384,12 @@
|
|||||||
- name: disable insecure global id reclaim in Ceph
|
- name: disable insecure global id reclaim in Ceph
|
||||||
command: ceph config set mon auth_allow_insecure_global_id_reclaim false
|
command: ceph config set mon auth_allow_insecure_global_id_reclaim false
|
||||||
|
|
||||||
|
- name: disable default pg autoscaler
|
||||||
|
command: ceph config set global osd_pool_default_pg_autoscale_mode off
|
||||||
|
|
||||||
|
- name: disable pg autoscaler
|
||||||
|
command: ceph osd pool set noautoscale
|
||||||
|
|
||||||
- name: set OSDs to require pacific
|
- name: set OSDs to require pacific
|
||||||
command: ceph osd require-osd-release pacific
|
command: ceph osd require-osd-release pacific
|
||||||
|
|
||||||
@ -527,7 +533,7 @@
|
|||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
- name: set first node as primary coordinator
|
- name: set first node as primary coordinator
|
||||||
command: "pvc node primary --wait"
|
command: "pvc node primary --wait {{ ansible_play_hosts[0].split('.')[0] }}"
|
||||||
run_once: yes
|
run_once: yes
|
||||||
delegate_to: "{{ ansible_play_hosts[0] }}"
|
delegate_to: "{{ ansible_play_hosts[0] }}"
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
- name: set first node as primary coordinator on first install
|
- name: set first node as primary coordinator on first install
|
||||||
command: "pvc node primary --wait"
|
command: "pvc node primary --wait {{ ansible_play_hosts[0].split('.')[0] }}"
|
||||||
run_once: yes
|
run_once: yes
|
||||||
delegate_to: "{{ ansible_play_hosts[0] }}"
|
delegate_to: "{{ ansible_play_hosts[0] }}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user