Merge pull request #147 from Mirantis/yml_to_yaml

yml to yaml
This commit is contained in:
CGenie 2015-09-15 13:56:35 +02:00
commit 971b61af79
77 changed files with 21 additions and 21 deletions

View File

@ -47,8 +47,8 @@ def deploy():
db.clear()
signals.Connections.clear()
node1 = vr.create('nodes', 'templates/nodes.yml', {})[0]
seed = vr.create('nodes', 'templates/seed_node.yml', {})[0]
node1 = vr.create('nodes', 'templates/nodes.yaml', {})[0]
seed = vr.create('nodes', 'templates/seed_node.yaml', {})[0]
ssh_key = vr.create('ssh_key1', 'resources/ssh_key', {
'keys_dir': '/vagrant/.ssh',

View File

@ -54,7 +54,7 @@ def setup_resources():
if PROFILE:
pr.enable()
node1, node2 = vr.create('nodes', 'templates/nodes.yml', {})
node1, node2 = vr.create('nodes', 'templates/nodes.yaml', {})
# MARIADB
mariadb_service1 = vr.create('mariadb_service1', 'resources/mariadb_service', {

View File

@ -14,7 +14,7 @@ signals.Connections.clear()
from solar import template
nodes = template.nodes_from('templates/riak_nodes.yml')
nodes = template.nodes_from('templates/riak_nodes.yaml')
riak_services = nodes.on_each(
'resources/riak_node',

View File

@ -27,7 +27,7 @@ db = get_db()
def setup_riak():
db.clear()
nodes = vr.create('nodes', 'templates/riak_nodes.yml', {})
nodes = vr.create('nodes', 'templates/riak_nodes.yaml', {})
node1, node2, node3 = nodes
riak_services = []

View File

@ -2,8 +2,8 @@ id: mariadb_db
handler: ansible
version: 1.0.0
actions:
run: run.yml
remove: remove.yml
run: run.yaml
remove: remove.yaml
input:
db_name:
schema: str!

View File

@ -2,8 +2,8 @@ id: mariadb_user
handler: ansible
version: 1.0.0
actions:
run: run.yml
remove: remove.yml
run: run.yaml
remove: remove.yaml
input:
user_password:
schema: str!

View File

@ -2,7 +2,7 @@ id: riak_join_single
handler: ansible
version: 1.0.0
actions:
join: actions/join.yml
join: actions/join.yaml
input:
join_to:
schema: str!

View File

@ -2,9 +2,9 @@ id: riak_node
handler: ansible
version: 1.0.0
actions:
commit: actions/commit.yml
run: actions/run.yml
join: actions/join.yml
commit: actions/commit.yaml
run: actions/run.yaml
join: actions/join.yaml
input:
ip:
schema: str!

View File

@ -5,7 +5,7 @@
sudo: yes
tasks:
- script: /vagrant/bootstrap/playbooks/files/ubuntu-ansible.sh
#- include: celery.yml tags=['master'] celery_dir=/var/run/celery
- include: /vagrant/bootstrap/playbooks/build-main.yml
- include: /vagrant/bootstrap/playbooks/custom-configs.yml master_ip={{ master_ip }}
- include: /vagrant/bootstrap/playbooks/celery.yml tags=slave
#- include: celery.yaml tags=['master'] celery_dir=/var/run/celery
- include: /vagrant/bootstrap/playbooks/build-main.yaml
- include: /vagrant/bootstrap/playbooks/custom-configs.yaml master_ip={{ master_ip }}
- include: /vagrant/bootstrap/playbooks/celery.yaml tags=slave

View File

@ -19,7 +19,7 @@ resources:
ssh_key: '{{ssh_key}}'
- id: keystone_base
from: templates/keystone_base.yml
from: templates/keystone_base.yaml
values:
login_user: root
login_password: 'mariadb_service::root_password'
@ -33,7 +33,7 @@ resources:
ssh_key: '{{ssh_key}}'
- id: keystone_api_1
from: templates/keystone_api.yml
from: templates/keystone_api.yaml
values:
idx: 1
db_password: 'keystone_db_user::user_password'
@ -49,7 +49,7 @@ resources:
ssh_key: '{{ssh_key}}'
- id: openstack_base
from: templates/openstack_base.yml
from: templates/openstack_base.yaml
values:
ip: '{{ip}}'
ssh_user: '{{ssh_user}}'

View File

@ -2,7 +2,7 @@ id: glance_{{idx}}
resources:
- id: glance_base_{{ idx }}
from: templates/glance_db.yml
from: templates/glance_db.yaml
values:
idx: '{{ idx }}'