forked from ceph/ceph-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Update ansible ssh_args variable
Because we're using vagrant, a ssh config file will be created for each nodes with options like user, host, port, identity, etc... But via tox we're override ANSIBLE_SSH_ARGS to use this file. This remove the default value set in ansible.cfg. Also adding PreferredAuthentications=publickey because CentOS/RHEL servers are configured with GSSAPIAuthenticationis enabled for ssh server forcing the client to make a PTR DNS query. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
- Loading branch information
Showing
6 changed files
with
23 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
--- | ||
- name: set_fact ceph_directories | ||
set_fact: | ||
ceph_directories: | ||
- /etc/ceph | ||
- /var/lib/ceph/ | ||
- /var/lib/ceph/mon | ||
- /var/lib/ceph/osd | ||
- /var/lib/ceph/mds | ||
- /var/lib/ceph/tmp | ||
- /var/lib/ceph/radosgw | ||
- /var/lib/ceph/bootstrap-rgw | ||
- /var/lib/ceph/bootstrap-mgr | ||
- /var/lib/ceph/bootstrap-mds | ||
- /var/lib/ceph/bootstrap-osd | ||
- /var/lib/ceph/bootstrap-rbd | ||
- /var/lib/ceph/bootstrap-rbd-mirror | ||
- /var/run/ceph | ||
- /var/log/ceph | ||
|
||
- name: create ceph initial directories | ||
file: | ||
path: "{{ item }}" | ||
state: directory | ||
owner: "{{ ceph_uid }}" | ||
group: "{{ ceph_uid }}" | ||
mode: 0755 | ||
with_items: "{{ ceph_directories }}" | ||
loop: | ||
- /etc/ceph | ||
- /var/lib/ceph/ | ||
- /var/lib/ceph/mon | ||
- /var/lib/ceph/osd | ||
- /var/lib/ceph/mds | ||
- /var/lib/ceph/tmp | ||
- /var/lib/ceph/radosgw | ||
- /var/lib/ceph/bootstrap-rgw | ||
- /var/lib/ceph/bootstrap-mgr | ||
- /var/lib/ceph/bootstrap-mds | ||
- /var/lib/ceph/bootstrap-osd | ||
- /var/lib/ceph/bootstrap-rbd | ||
- /var/lib/ceph/bootstrap-rbd-mirror | ||
- /var/run/ceph | ||
- /var/log/ceph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters