diff --git a/ceph_deploy/mon.py b/ceph_deploy/mon.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/mon.py
+++ b/ceph_deploy/mon.py
@@ -32,7 +32,7 @@ def create_mon(cluster, monitor_keyring, init):
         )
 
     if not os.path.exists(path):
-        os.mkdir(path)
+        os.makedirs(path)
 
     if not os.path.exists(done_path):
         keyring = '/var/lib/ceph/tmp/{cluster}-{hostname}.mon.keyring'.format(
mon: use makedirs instead of mkdir for mon path

This is a bit more robust if /var/lib/ceph/mon is not present for some
reason.

Fixes: #<I>