mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1456 from netservers/master
Apparmor on Ubuntu Xenial will not permit containers to mount devices.pull/1080/merge
commit
c9c65a7072
|
@ -24,6 +24,9 @@ fi
|
||||||
--rm \
|
--rm \
|
||||||
--net=host \
|
--net=host \
|
||||||
--cap-add SYS_ADMIN \
|
--cap-add SYS_ADMIN \
|
||||||
|
{% if ansible_distribution == 'Ubuntu' -%}
|
||||||
|
--security-opt apparmor:unconfined \
|
||||||
|
{% endif -%}
|
||||||
--pid=host \
|
--pid=host \
|
||||||
{% if not osd_containerized_deployment_with_kv -%}
|
{% if not osd_containerized_deployment_with_kv -%}
|
||||||
-v /var/lib/ceph:/var/lib/ceph \
|
-v /var/lib/ceph:/var/lib/ceph \
|
||||||
|
|
Loading…
Reference in New Issue