ansible-role-cloud-launcher/tasks
Ricardo Carrillo Cruz 205f4d31de Add support for clustered servers
Certain services are expected to be served by more than one server,
think of git mirrors, zuul workers etc.
While we could define all of them with numbered pattern manually
in the resources.yaml file, this gets unwieldy and boring
if the count is large, repeating on and on the same
server stanzas with just <service_name><$NODE_COUNT>.
This change allows to put a 'node_count' attribute to the server
resource. With it, the role will create as many servers as
'node_count' by numbering the servers as <server_name><$NODE_COUNT>.
e.g.

servers:
  - name: logstash-worker.openstack.org
    image: ubuntu-trusty
    flavor: d1
    node_count: 2

That would make the role to create two server instances named
'logstash-worker01.openstack.org' and 'logstash-worker02.openstack.org'

Change-Id: I220a2786efe56187f60f1eed2f32e661e6d3ed3f
2016-07-20 14:49:03 +02:00
..
create_clouds_resources.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_domain.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_flavor.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_image.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_keypair.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_network.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_per_cloud_profiles_resources.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_per_cloud_resources.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_project.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_router.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_security_group.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_security_group_rule.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_server.yml Add support for clustered servers 2016-07-20 14:49:03 +02:00
create_subnet.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_user.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
create_volume.yml Refactor the per-cloud and per-profile code 2016-07-19 00:12:44 +02:00
generate_keypair.yml Fix creation of servers with on-the-fly keypairs 2016-07-19 17:24:18 +00:00
main.yml Use new loop_control/loop_var constructs from Ansible devel 2016-04-25 02:55:50 +00:00