File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
tests/roles/ceph_migrate/tasks Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 5353 block : |
5454 # 100 ceph_alertmanager {'dport': [9093]}
5555 add rule inet filter TRIPLEO_INPUT tcp dport { 9093 } ct state new counter accept comment "100 ceph_alertmanager"
56- # 100 ceph_dashboard {'dport': [8444 ]}
57- add rule inet filter TRIPLEO_INPUT tcp dport { 8444 } ct state new counter accept comment "100 ceph_dashboard"
56+ # 100 ceph_dashboard {'dport': [8443 ]}
57+ add rule inet filter TRIPLEO_INPUT tcp dport { 8443 } ct state new counter accept comment "100 ceph_dashboard"
5858 # 100 ceph_grafana {'dport': [3100]}
5959 add rule inet filter TRIPLEO_INPUT tcp dport { 3100 } ct state new counter accept comment "100 ceph_grafana"
6060 # 100 ceph_prometheus {'dport': [9092]}
Original file line number Diff line number Diff line change 55 ceph_fsid : " {{ mon_dump.fsid }}"
66 ceph_cluster : ceph
77
8+ - name : Set ceph-mgr dashboard port configuration
9+ # cephadm runs w/ root privileges
10+ become : true
11+ block :
12+ - name : Set the dashboard port
13+ ansible.builtin.command : |
14+ {{ ceph_cli }} config set mgr mgr/dashboard/server_port 8443
15+ changed_when : false
16+ - name : Set the dashboard ssl port
17+ ansible.builtin.command : |
18+ {{ ceph_cli }} config set mgr mgr/dashboard/ssl_server_port 8443
19+ changed_when : false
20+ - name : Disable mgr dashboard module (restart)
21+ ansible.builtin.command : |
22+ {{ ceph_cli }} mgr module disable dashboard
23+ - name : Enable mgr dashboard module (restart)
24+ ansible.builtin.command : |
25+ {{ ceph_cli }} mgr module enable dashboard
26+
827# - Expand labels to the whole hostmap
928- name : Apply Monitoring label to the overcloud nodes
1029 ansible.builtin.import_tasks : labels.yaml
You can’t perform that action at this time.
0 commit comments