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
Boxiang Sun
slapos.package
Commits
4bc42b89
Commit
4bc42b89
authored
Dec 15, 2021
by
Levin Zimmermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Improve shared facts between playbooks (apply DRY)
parent
1c600de6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
playbook/wendelin-olimex-base.yml
playbook/wendelin-olimex-base.yml
+9
-0
playbook/wendelin-olimex-iot-gateway.yml
playbook/wendelin-olimex-iot-gateway.yml
+0
-5
playbook/wendelin-olimex-sensor.yml
playbook/wendelin-olimex-sensor.yml
+0
-4
No files found.
playbook/wendelin-olimex-base.yml
View file @
4bc42b89
...
...
@@ -16,6 +16,15 @@
-
set_fact
:
computer_id
:
"
{{
prompt.user_input
}}"
-
name
:
Set Fluentd Software Release Name
block
:
-
pause
:
prompt
:
"
What
is
the
name
of
your
Fluentd
Software
Relase?
[Fluentd-Software-Release]"
register
:
prompt
-
set_fact
:
fluentd_software_name
:
"
{{
prompt.user_input
|
default('Fluentd-Software-Release',
true)
}}"
tasks
:
-
name
:
Check if client configuration exists already
stat
:
path=/root/.slapos/slapos-client.cfg
...
...
playbook/wendelin-olimex-iot-gateway.yml
View file @
4bc42b89
...
...
@@ -22,11 +22,6 @@
-
name
:
"
user_password"
prompt
:
"
What
is
the
password
for
the
user
of
your
Wendelin
instance?"
private
:
yes
-
name
:
"
fluentd_software_name"
prompt
:
"
What
is
the
name
of
your
Fluentd
Software
relase?"
private
:
no
default
:
"
Fluentd
software
release"
vars
:
fluentd_config
:
|
...
...
playbook/wendelin-olimex-sensor.yml
View file @
4bc42b89
...
...
@@ -15,10 +15,6 @@
prompt
:
"
What
is
your
tag
name?
\n
Your
tag
name
must
consist
of
2
part
separated
by
.(dot).
First
part
is
the
name
of
the
sensor
and
must
be
the
same
as
the
reference
of
the
Data
Supply.
The
second
part
is
the
type
of
data
(Data
Product)."
private
:
no
default
:
"
sensor_1.sample-environment-raw-data"
-
name
:
"
fluentd_software_name"
prompt
:
"
What
is
the
name
of
your
Fluentd
Software
relase?"
private
:
no
default
:
"
Fluentd
software
release"
vars
:
fluentd_config
:
|
...
...
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