Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / qa / qa_scripts / openstack / ceph_install_w_ansible / execs / edit_ansible_hosts.sh
1 #! /bin/bash
2 ed /etc/ansible/hosts << EOF
3 $
4 a
5
6 [mons]
7 ${1}
8
9 [osds]
10 ${2}
11 ${3}
12 ${4}
13
14 .
15 w
16 q
17 EOF