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
Lu Xu
slapos.package
Commits
efbd0434
Commit
efbd0434
authored
Aug 06, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Split re6st and slapos setup to simplify the setup a bit for imt.
parent
6b8e9225
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
18 deletions
+24
-18
playbook/imt-re6stnet.yml
playbook/imt-re6stnet.yml
+23
-0
playbook/imt-server.yml
playbook/imt-server.yml
+1
-18
No files found.
playbook/imt-re6stnet.yml
View file @
efbd0434
...
@@ -16,5 +16,28 @@
...
@@ -16,5 +16,28 @@
private
:
no
private
:
no
default
:
"
noname"
default
:
"
noname"
-
name
:
"
interface_name"
prompt
:
"
What
is
the
interface
used
by
re6st:"
private
:
no
default
:
"
noname"
post_tasks
:
-
name
:
Add default
lineinfile
:
dest=/etc/re6stnet/re6stnet.conf line="default"
-
name
:
Max Clients
lineinfile
:
dest=/etc/re6stnet/re6stnet.conf line="max-clients 1"
-
name
:
Client count
lineinfile
:
dest=/etc/re6stnet/re6stnet.conf line="client-count 0"
-
name
:
Include interface
lineinfile
:
dest=/etc/re6stnet/re6stnet.conf line="client-count {{ interface_name }}"
when
:
interface_name != "noname"
-
name
:
restart re6st-node service
service
:
name=re6st-node state=restarted enabled=yes
roles
:
roles
:
-
re6stnet
-
re6stnet
playbook/imt-server.yml
View file @
efbd0434
...
@@ -6,11 +6,6 @@
...
@@ -6,11 +6,6 @@
-
settings/imt.yml
-
settings/imt.yml
vars_prompt
:
vars_prompt
:
-
name
:
"
re6sttoken"
prompt
:
"
If
you
have
re6st
token
if
you
have
(ignore
if
you
already
have
a
configured
re6st):"
private
:
no
default
:
"
notoken"
-
name
:
"
computer_name"
-
name
:
"
computer_name"
prompt
:
"
What
is
this
computer
name?
(ignore
if
you
already
have
a
configured
re6st
and
slapos):"
prompt
:
"
What
is
this
computer
name?
(ignore
if
you
already
have
a
configured
re6st
and
slapos):"
private
:
no
private
:
no
...
@@ -21,18 +16,6 @@
...
@@ -21,18 +16,6 @@
private
:
no
private
:
no
default
:
"
notoken"
default
:
"
notoken"
post_tasks
:
-
name
:
Add default
lineinfile
:
dest=/etc/re6stnet/re6stnet.conf line="default"
-
name
:
Add default
lineinfile
:
dest=/etc/re6stnet/re6stnet.conf line="max-clients 1"
-
name
:
Add default
lineinfile
:
dest=/etc/re6stnet/re6stnet.conf line="client-count 0"
roles
:
roles
:
-
{
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
}
\ No newline at end of file
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