]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
Only run ceph-mgr role on a single node 211/head
authorBoris Ranto <branto@redhat.com>
Sat, 28 Jul 2018 12:02:28 +0000 (14:02 +0200)
committerBoris Ranto <branto@redhat.com>
Sat, 28 Jul 2018 12:05:03 +0000 (14:05 +0200)
We do not need to run the ceph-mgr role multiple times. The command that
enables the module only need to be run on one of the machines, choosing
first as it is the easiest.

Signed-off-by: Boris Ranto <branto@redhat.com>
ansible/playbook.yml

index 8fe7457238f6dde73ac5c7fd523dd52df4c26e9a..3cff2919b9e8cbd522ddc60a2bc8be487d36ece8 100644 (file)
@@ -6,7 +6,7 @@
   - always
 
 - hosts:
-  - mgrs
+  - mgrs[0]
   become: true
   roles:
   - ceph-mgr