Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lisa Casino
slapos.package
Commits
87f78d57
Commit
87f78d57
authored
Mar 23, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Include webrunner standalone draft.
parent
bccf52b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
playbook/roles/standalone-shared/templates/request-webrunner.j2
...ok/roles/standalone-shared/templates/request-webrunner.j2
+21
-0
playbook/webrunner-standalone.yml
playbook/webrunner-standalone.yml
+12
-0
No files found.
playbook/roles/standalone-shared/templates/request-webrunner.j2
0 → 100644
View file @
87f78d57
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}
)
playbook/webrunner-standalone.yml
0 → 100644
View file @
87f78d57
-
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment