Role os_swift for OpenStack-Ansible
53027de8c8
This PR sets up rsync module per drive for swift object servers. This improves resource distribution, and also allows us to utilise rsync module changes to prevent disk writes to specific drives when they begin filling up. Enable this option by setting "swift_rsync_module_per_drive: True", this will still default to False to match upstream defaults. Additionally the rsync max connections has been increased to match upstream defaults. Additionally we include rsync.d/*.conf files by default and set this directory up, so that we can add individual configuration to disable specific drives. Change-Id: I2019cade5bf5f2878497d30ce738dff07786fa64 |
||
---|---|---|
defaults | ||
doc | ||
handlers | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
other-requirements.txt | ||
README.rst | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini | ||
Vagrantfile |
OpenStack-Ansible Swift
- tags
-
openstack, swift, cloud, ansible
- category
-
*nix
Ansible role to install OpenStack Swift and Swift registry.
- This role will install the following:
-
- swift
- name: Install swift server
hosts: swift_all
user: root
roles:
- { role: "os_swift", tags: [ "os-swift" ] }
vars:
external_lb_vip_address: 172.16.24.1
internal_lb_vip_address: 192.168.0.1