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
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
6e9114d0
Commit
6e9114d0
authored
May 05, 2021
by
Lu Xu
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: add conditional prompt for installing vifib
parent
f6d2ec54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
playbook/settings/vifib.yml
playbook/settings/vifib.yml
+0
-1
playbook/vifib.yml
playbook/vifib.yml
+14
-4
No files found.
playbook/settings/vifib.yml
View file @
6e9114d0
...
...
@@ -3,7 +3,6 @@ re6st_registry_url: http://re6stnet.nexedi.com/
re6st_fingerprint
:
sha256:73e364f2b7ab19335932dfc6514eab518b06a6b5d9b48dea5bcd61cf874becfc
slapos_master_url
:
https://slap.vifib.com/
slapos_web_master_url
:
https://slapos.vifib.com/
interface_name
:
lo
partition_number
:
10
re6st_annon
:
True
re6sttoken
:
noname
playbook/vifib.yml
View file @
6e9114d0
...
...
@@ -16,10 +16,20 @@
private
:
no
default
:
"
noname"
-
name
:
"
slapostoken"
prompt
:
"
If
you
have
slapos
token
if
you
have
(ignore
if
you
already
have
a
configured
slapos):"
private
:
no
default
:
"
notoken"
pre_tasks
:
-
pause
:
prompt
:
"
Input
your
slapos
token
(ignore
if
you
already
have
a
configured
slapos)
[notoken]"
when
:
computer_name != "noname"
register
:
prompt
-
set_fact
:
slapostoken
:
"
{{
prompt.user_input
|
default('notoken',
true)
}}"
-
pause
:
prompt
:
"
Which
interface
will
provide
IPv6?
(ignore
if
you
already
have
a
configured
re6st)
[lo]"
when
:
slapostoken != "notoken"
register
:
prompt
-
set_fact
:
interface_name
:
"
{{
prompt.user_input
|
default('lo',
true)
}}"
roles
:
-
{
role
:
re6stnet-install
,
package_state
:
present
}
...
...
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