Commit 87f78d57 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Include webrunner standalone draft.

parent bccf52b0
import json
software_url = '{{ software_release_url }}'
# Choose a SlapOS Node
# If you are deploying SlapOS Master with Webrunner, then computer_id is 'slaprunner'
computer_id = 'local_computer'
supply(software_url, computer_id)
parameter_dict = {
'instance-amount': 30,
}
# Choose a title
title = "instance-of-{{ playbook_name }}"
request(software_url,
title,
filter_kw={'computer_guid': computer_id},
partition_parameter_kw=parameter_dict}
)
- name: a play that runs entirely on the ansible host
hosts: 127.0.0.1
connection: local
vars:
software_release_url: https://lab.node.vifib.com/nexedi/slapos/raw/1.0.11/software/slaprunner/software.cfg
startup_playbook_id: webrunner-standalone.yml
playbook_name: webrunner
request_instance_template: request-webrunner.j2
roles:
- standalone-shared
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment