2016-05-06 02:20:03 +08:00
|
|
|
---
|
2017-10-04 16:39:17 +08:00
|
|
|
- name: set_fact docker_exec_cmd
|
|
|
|
set_fact:
|
|
|
|
docker_exec_cmd: "docker exec ceph-nfs-{{ ansible_hostname }}"
|
|
|
|
when:
|
|
|
|
- containerized_deployment
|
|
|
|
|
2017-09-27 05:16:43 +08:00
|
|
|
- name: include pre_requisite_non_container.yml
|
|
|
|
include: pre_requisite_non_container.yml
|
2017-09-19 22:19:14 +08:00
|
|
|
when:
|
|
|
|
- not containerized_deployment
|
|
|
|
|
2017-09-27 05:16:43 +08:00
|
|
|
- name: include pre_requisite_container.yml
|
|
|
|
include: pre_requisite_container.yml
|
|
|
|
when:
|
|
|
|
- containerized_deployment
|
|
|
|
|
2017-09-19 22:19:14 +08:00
|
|
|
- name: include create_rgw_nfs_user.yml
|
|
|
|
include: create_rgw_nfs_user.yml
|
|
|
|
|
2017-09-27 05:16:43 +08:00
|
|
|
# NOTE (leseb): workaround for issues with ganesha and librgw
|
|
|
|
- name: include ganesha_selinux_fix.yml
|
|
|
|
include: ganesha_selinux_fix.yml
|
2017-09-19 22:19:14 +08:00
|
|
|
when:
|
|
|
|
- not containerized_deployment
|
2017-09-27 05:16:43 +08:00
|
|
|
- ansible_os_family == 'RedHat'
|
|
|
|
- ansible_distribution_version >= '7.4'
|
2016-05-06 02:20:03 +08:00
|
|
|
|
2017-09-27 05:16:43 +08:00
|
|
|
- name: include start_nfs.yml
|
|
|
|
include: start_nfs.yml
|