Role os_swift for OpenStack-Ansible
Go to file
Andy McCrae 474d3ba232 Ensure replication_network is not required for swift
* Adjust config location variables for account, container, object
variables, to name them more clearly.
* Adjust config placement order, to happen after init scripts are
created so that the service restart handler will work appropriately.
* Ensure the init scripts for the replicator service are created
appropriately whether a dedicated replication_network is or isn't used.
* Ensure the dedicated replication network configuration is only created
when replication_network is specified and different to storage_network.
* Ensure the appropriate configuration section in the server.conf is
only added when the replication_network is specified and different to
the storage_network.

Change-Id: I4b204a974bb0a217f5222b6aa0fa36aa8c23b999
Closes-Bug: #1427599
2015-03-03 19:19:28 +00:00
defaults Ensure replication_network is not required for swift 2015-03-03 19:19:28 +00:00
files Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
handlers Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
meta Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
tasks Ensure replication_network is not required for swift 2015-03-03 19:19:28 +00:00
templates Ensure replication_network is not required for swift 2015-03-03 19:19:28 +00:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00

OpenStack swift

tags

openstack, swift, cloud, ansible

category

*nix

Role to install 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
    galera_address: "{{ internal_lb_vip_address }}"