-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
11 changed files
with
95 additions
and
21 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,12 +0,0 @@ | ||
[submodule "openstack-ansible"] | ||
path = openstack-ansible | ||
url = https://git.openstack.org/openstack/openstack-ansible | ||
[submodule "rpcd/playbooks/roles/ceph-common"] | ||
path = rpcd/playbooks/roles/ceph-common | ||
url = https://github.com/ceph/ansible-ceph-common | ||
[submodule "rpcd/playbooks/roles/ceph-mon"] | ||
path = rpcd/playbooks/roles/ceph-mon | ||
url = https://github.com/ceph/ansible-ceph-mon | ||
[submodule "rpcd/playbooks/roles/ceph-osd"] | ||
path = rpcd/playbooks/roles/ceph-osd | ||
url = https://github.com/ceph/ansible-ceph-osd | ||
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- name: ceph-common | ||
path: /opt/rpc-openstack/rpcd/playbooks/roles/ceph-common | ||
src: https://github.com/ceph/ansible-ceph-common.git | ||
version: 7d017ea47091b6b081cc672a987709fe6b8390a8 | ||
- name: ceph-mon | ||
path: /opt/rpc-openstack/rpcd/playbooks/roles/ceph-mon | ||
src: https://github.com/ceph/ansible-ceph-mon.git | ||
version: fbb4e78f77a48fb3da787e05e35e1c727b5b44d3 | ||
- name: ceph-osd | ||
path: /opt/rpc-openstack/rpcd/playbooks/roles/ceph-osd | ||
src: https://github.com/ceph/ansible-ceph-osd.git | ||
version: 1662cdfd1e6d2aaf2a40e5c8c68811760fbd1f22 |
Submodule openstack-ansible
deleted from
770e02
Submodule ceph-common
deleted from
7d017e
Submodule ceph-mon
deleted from
fbb4e7
Submodule ceph-osd
deleted from
1662cd
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
- name: it puts the stuff in the places | ||
tasks: | ||
- name: or else it gets the git again | ||
git: | ||
dest: {{ item.value.dest }} | ||
repo: {{ item.value.repo }} | ||
version: {{ item.value.version }} | ||
with_dict: "{{repos}}" | ||
- name: laying it on the line | ||
copy: | ||
dest: /opt/rpc-openstack/rpcd/playbooks/ansible.cfg | ||
content: | | ||
[defaults] | ||
gathering = smart | ||
host_key_checking = False | ||
# Setting forks should be based on your system. The Ansible defaults to 5, | ||
# the os-lxc-hosts assumes that you have a system that can support | ||
# OpenStack, thus it has been conservatively been set to 15 | ||
forks = 15 | ||
# SSH timeout | ||
timeout = 120 | ||
# Set the path to the folder in openstack-ansible which holds the dynamic | ||
# inventory script - new config setting for ansible v1.9 and above | ||
inventory = {{ repos.openstack-ansible.dest }}/playbooks/inventory/ | ||
# Set the path to the folder in openstack-ansible which holds the dynamic | ||
# inventory script - uncomment if using ansible below v1.9 | ||
#hostfile = {{ repos.openstack-ansible.value.dest }}/playbooks/inventory/ | ||
# Set the path to the folder in openstack-ansible which holds the | ||
# libraries required | ||
library = {{ repos.openstack-ansible.dest }}/playbooks/library/ | ||
# Set the path to the folder in openstack-ansible which holds the roles | ||
# that are depended on by the rpc-openstack roles | ||
roles_path = {{ repos.openstack-ansible.dest }}/playbooks/roles/ | ||
# Set the path to the folder in openstack-ansible which holds the | ||
# lookup plugins required | ||
lookup_plugins = {{ repos.openstack-ansible.dest }}/playbooks/plugins/lookups/ | ||
# Set the path to the folder in openstack-ansible which holds the filter | ||
# plugins required | ||
filter_plugins = {{ repos.openstack-ansible.dest }}/playbooks/plugins/filters/ | ||
# Set the path to the folder in openstack-ansible which holds the action | ||
# plugins required | ||
action_plugins = {{ repos.openstack-ansible.dest }}/playbooks/plugins/actions/ | ||
[ssh_connection] | ||
pipelining = True | ||
vars: | ||
repos: | ||
openstack-ansible: | ||
dest: /opt/rpc-openstack/openstack-ansible | ||
repo: https://github.com/openstack/openstack-ansible.git | ||
version: 770e02df1b4d9ca55b1e3bf45b0ee5177ffd0435 |
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