Add support for mgr role
@@ -25,6 +25,11 @@ class CephAnsible(Task):
become=True,
roles=['ceph-mon'],
),
+ dict(
+ hosts='mgrs',
+ become=True,
+ roles=['ceph-mgr'],
+ ),
dict(
hosts='osds',
become=True,
@@ -152,6 +157,7 @@ class CephAnsible(Task):
def generate_hosts_file(self):
groups_to_roles = dict(
mons='mon',
+ mgrs='mgr',
mdss='mds',
osds='osd',
rgws='rgw',
