tripleo-common/workbooks/swift_ring_rebalance.yaml
Martin André 1c01c9b460 Remove extra ssh args passed to ansible
These are already set in the default ansible configuration file that is
generated with write_default_ansible_cfg() prior to running ansible,
and are thus redundant.

Change-Id: Ie756280c8b58354bef43cf92df1efb960ae4801d
2018-03-20 11:48:03 +01:00

30 lines
776 B
YAML

---
version: '2.0'
name: tripleo.swift_ring.v1
description: Rebalance and distribute Swift rings using Ansible
workflows:
rebalance:
tags:
- tripleo-common-managed
tasks:
get_private_key:
action: tripleo.validations.get_privkey
on-success: deploy_rings
deploy_rings:
action: tripleo.ansible-playbook
publish:
output: <% task().result %>
input:
ssh_private_key: <% task(get_private_key).result %>
verbosity: 1
remote_user: heat-admin
become: true
become_user: root
playbook: /usr/share/tripleo-common/playbooks/swift_ring_rebalance.yaml
inventory: /usr/bin/tripleo-ansible-inventory
use_openstack_credentials: true