Role os_swift for OpenStack-Ansible
Go to file
Jesse Pretorius cf882feb53 Change pip install task state to 'latest'
Currently all pip install tasks only require the package to be
present. This means that when an environment undergoes a minor
upgrade the package is not upgraded to the same version that
was tested with. This ultimately results in a deployed
environment that does not match the tested environment.

While for the services installed into venvs this is not an
issue, it does affect those which do not use venvs and any
packages which are installed outside of a venv or on top
of a venv.

This patch changes the behaviour to ensure that the install
task will always use the latest available package. In
developer_mode this will mean using the version specified
in upper-constraints, and in an integrated build this will
mean the version which is available in the wheel repo's
folder for the tag.

Change-Id: Id04b2f74831e3422b036308c638be5428509e57a
2016-05-04 10:43:41 +01:00
defaults Expose and set a default fallocate_reserve value 2016-04-14 13:56:00 +01:00
doc Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
handlers Fix rsync service restart in os_swift 2016-01-27 16:51:14 +00:00
meta Ensure that pip lock down happens before other dependencies 2016-03-31 17:09:14 +00:00
releasenotes Merge "Remove XFS filesystem from the daily mlocate cron job" 2016-04-26 21:16:10 +00:00
tasks Change pip install task state to 'latest' 2016-05-04 10:43:41 +01:00
templates Remove XFS filesystem from the daily mlocate cron job 2016-04-22 08:11:57 -05:00
tests Add fucntional tests for swift 2016-04-21 20:31:48 +01:00
.gitignore Add reno scaffolding for release notes management 2016-04-09 19:21:20 +01:00
.gitreview Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
CONTRIBUTING.rst Adding Vagrantfile for local developer testing 2016-03-02 15:43:59 -05:00
LICENSE Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:57:01 +01:00
README.rst [DOCS] Cleaned up Swift README 2016-03-03 09:38:05 -05:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:57:01 +01:00
setup.cfg Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
setup.py Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
test-requirements.txt blacklist Ansible 1.9.6 2016-04-16 08:43:13 -05:00
tox.ini Add reno scaffolding for release notes management 2016-04-09 19:21:20 +01:00
Vagrantfile Adding Vagrantfile for local developer testing 2016-03-02 15:43:59 -05:00

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