]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
docker: add condition to run selinux tasks only on rhel os family 1962/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 29 Sep 2017 00:19:09 +0000 (02:19 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 29 Sep 2017 00:35:07 +0000 (02:35 +0200)
commit913ad53709604beb643d71abb58d980de5c7916a
treea3a49918650d9ca508830483a082e88c87fdf62e
parent0010979412939884ac909085cbe6ff242d5b5556
docker: add condition to run selinux tasks only on rhel os family

This fixes the error :

```
The conditional check 'sestatus.stdout != 'Disabled'' failed.
```

that occurs when running on non rhel based system since the
`sestatus` fact is registered only on rhel based distribution.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-mds/tasks/docker/copy_configs.yml
roles/ceph-mgr/tasks/docker/copy_configs.yml
roles/ceph-mon/tasks/docker/copy_configs.yml
roles/ceph-nfs/tasks/docker/copy_configs.yml
roles/ceph-osd/tasks/copy_configs.yml
roles/ceph-rbd-mirror/tasks/docker/copy_configs.yml
roles/ceph-restapi/tasks/docker/copy_configs.yml
roles/ceph-rgw/tasks/docker/copy_configs.yml