mirror of https://github.com/ceph/ceph-ansible.git
nfs: rename host to have ceph- prefix
Signed-off-by: Ali Maredia <amaredia@redhat.com>pull/1780/head
parent
f3e2235b3a
commit
f8171e8b4a
|
@ -293,8 +293,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
end
|
end
|
||||||
|
|
||||||
(0..NNFSS - 1).each do |i|
|
(0..NNFSS - 1).each do |i|
|
||||||
config.vm.define "nfs#{i}" do |nfs|
|
config.vm.define "#{LABEL_PREFIX}nfs#{i}" do |nfs|
|
||||||
nfs.vm.hostname = "#{LABEL_PREFIX}ceph-nfs#{i}"
|
nfs.vm.hostname = "#{LABEL_PREFIX}nfs#{i}"
|
||||||
if ASSIGN_STATIC_IP
|
if ASSIGN_STATIC_IP
|
||||||
nfs.vm.network :private_network,
|
nfs.vm.network :private_network,
|
||||||
ip: "#{PUBLIC_SUBNET}.6#{i}"
|
ip: "#{PUBLIC_SUBNET}.6#{i}"
|
||||||
|
|
|
@ -44,9 +44,6 @@
|
||||||
notify:
|
notify:
|
||||||
- restart ceph nfss
|
- restart ceph nfss
|
||||||
|
|
||||||
- name: cat ganesha conf file to view overrides
|
|
||||||
command: cat /etc/ganesha/ganesha.conf
|
|
||||||
|
|
||||||
- name: start nfs gateway service
|
- name: start nfs gateway service
|
||||||
service:
|
service:
|
||||||
name: nfs-ganesha
|
name: nfs-ganesha
|
||||||
|
|
|
@ -19,4 +19,4 @@ ceph-client0
|
||||||
ceph-mgr0
|
ceph-mgr0
|
||||||
|
|
||||||
[nfss]
|
[nfss]
|
||||||
nfs0
|
ceph-nfs0
|
||||||
|
|
Loading…
Reference in New Issue