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
Ivan Tyagov
slapos.package
Commits
bf390435
Commit
bf390435
authored
Nov 04, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Replace var_prompt by roles+pause
This allow us reuse the messages more easily
parent
ba14c59b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
76 deletions
+12
-76
playbook/gnet-server.yml
playbook/gnet-server.yml
+2
-10
playbook/gnet-upgrader.yml
playbook/gnet-upgrader.yml
+0
-4
playbook/imt-server.yml
playbook/imt-server.yml
+2
-11
playbook/slapos-test-node.yml
playbook/slapos-test-node.yml
+2
-12
playbook/slapos.yml
playbook/slapos.yml
+2
-13
playbook/vifib-shuttle.yml
playbook/vifib-shuttle.yml
+2
-11
playbook/vifib-upgrade.yml
playbook/vifib-upgrade.yml
+0
-4
playbook/vifib.yml
playbook/vifib.yml
+2
-11
No files found.
playbook/gnet-server.yml
View file @
bf390435
...
@@ -11,17 +11,9 @@
...
@@ -11,17 +11,9 @@
private
:
no
private
:
no
default
:
"
notoken"
default
:
"
notoken"
-
name
:
"
computer_name"
prompt
:
"
What
is
this
computer
name?
(ignore
if
you
already
have
a
configured
re6st
and
slapos):"
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"
roles
:
roles
:
-
prompt_computername
-
prompt_slapostoken
-
{
role
:
re6stnet
,
package_state
:
present
}
-
{
role
:
re6stnet
,
package_state
:
present
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
...
...
playbook/gnet-upgrader.yml
View file @
bf390435
...
@@ -2,10 +2,6 @@
...
@@ -2,10 +2,6 @@
hosts
:
127.0.0.1
hosts
:
127.0.0.1
connection
:
local
connection
:
local
vars
:
-
computer_name
:
noname
-
slapostoken
:
notoken
vars_files
:
vars_files
:
-
settings/gnet.yml
-
settings/gnet.yml
...
...
playbook/imt-server.yml
View file @
bf390435
...
@@ -5,18 +5,9 @@
...
@@ -5,18 +5,9 @@
vars_files
:
vars_files
:
-
settings/imt.yml
-
settings/imt.yml
vars_prompt
:
-
name
:
"
computer_name"
prompt
:
"
What
is
this
computer
name?
(ignore
if
you
already
have
a
configured
re6st
and
slapos):"
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"
roles
:
roles
:
-
prompt_computername
-
prompt_slapostoken
-
{
role
:
imt-slapos
,
mount_directory
:
/virt
}
-
{
role
:
imt-slapos
,
mount_directory
:
/virt
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
...
...
playbook/slapos-test-node.yml
View file @
bf390435
...
@@ -8,19 +8,9 @@
...
@@ -8,19 +8,9 @@
vars
:
vars
:
interface_name
:
eth0
interface_name
:
eth0
vars_prompt
:
-
name
:
"
computer_name"
prompt
:
"
What
is
this
computer
name?
(ignore
if
you
already
have
a
configured
re6st
and
slapos):"
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"
roles
:
roles
:
-
prompt_computername
-
prompt_slapostoken
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
-
vifib-team-ssh-key
-
vifib-team-ssh-key
playbook/slapos.yml
View file @
bf390435
...
@@ -5,19 +5,8 @@
...
@@ -5,19 +5,8 @@
vars_files
:
vars_files
:
-
settings/vifib.yml
-
settings/vifib.yml
vars_prompt
:
-
name
:
"
computer_name"
prompt
:
"
What
is
this
computer
name?
(ignore
if
you
already
have
a
configured
re6st
and
slapos):"
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"
roles
:
roles
:
-
prompt_computername
-
prompt_slapostoken
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
playbook/vifib-shuttle.yml
View file @
bf390435
...
@@ -9,18 +9,9 @@
...
@@ -9,18 +9,9 @@
-
settings/vifib.yml
-
settings/vifib.yml
-
settings/upgrader.yml
-
settings/upgrader.yml
vars_prompt
:
-
name
:
"
computer_name"
prompt
:
"
What
is
this
computer
name?
(ignore
if
you
already
have
a
configured
re6st
and
slapos):"
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"
roles
:
roles
:
-
prompt_computername
-
prompt_slapostoken
-
{
role
:
re6stnet
,
package_state
:
present
}
-
{
role
:
re6stnet
,
package_state
:
present
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
...
...
playbook/vifib-upgrade.yml
View file @
bf390435
...
@@ -2,10 +2,6 @@
...
@@ -2,10 +2,6 @@
hosts
:
127.0.0.1
hosts
:
127.0.0.1
connection
:
local
connection
:
local
vars
:
-
computer_name
:
noname
-
slapostoken
:
notoken
vars_files
:
vars_files
:
-
settings/vifib.yml
-
settings/vifib.yml
...
...
playbook/vifib.yml
View file @
bf390435
...
@@ -9,18 +9,9 @@
...
@@ -9,18 +9,9 @@
-
settings/vifib.yml
-
settings/vifib.yml
-
settings/upgrader.yml
-
settings/upgrader.yml
vars_prompt
:
-
name
:
"
computer_name"
prompt
:
"
What
is
this
computer
name?
(ignore
if
you
already
have
a
configured
re6st
and
slapos):"
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"
roles
:
roles
:
-
prompt_computername
-
prompt_slapostoken
-
{
role
:
re6stnet
,
package_state
:
present
}
-
{
role
:
re6stnet
,
package_state
:
present
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
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