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
Rafael Monnerat
slapos.package
Commits
d2e35b53
Commit
d2e35b53
authored
Dec 07, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: authenticate re6st registry
parent
4c5ff208
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
playbook/roles/re6stnet/tasks/main.yml
playbook/roles/re6stnet/tasks/main.yml
+3
-3
playbook/settings/vifib.yml
playbook/settings/vifib.yml
+1
-0
No files found.
playbook/roles/re6stnet/tasks/main.yml
View file @
d2e35b53
...
@@ -6,15 +6,15 @@
...
@@ -6,15 +6,15 @@
-
include
:
sysctl.yml
-
include
:
sysctl.yml
-
name
:
Configure Re6st with re6st-conf
-
name
:
Configure Re6st with re6st-conf
shell
:
"
re6st-conf
--registry
{{
re6st_registry_url
}}
--token
{{
re6sttoken
}}
-r
title
{{
computer_name
}}
-d
/etc/re6stnet"
shell
:
"
re6st-conf
--registry
{{
re6st_registry_url
}}
--token
{{
re6sttoken
}}
-r
title
{{
computer_name
}}
--fingerprint
{{
re6st_fingerprint
}}
-d
/etc/re6stnet"
when
:
re6st_annon == False and re6stnet_conf.stat.exists == False and "{{ re6sttoken }}" != "notoken" and "{{ computer_name }}" != "noname"
when
:
re6st_annon == False and re6stnet_conf.stat.exists == False and "{{ re6sttoken }}" != "notoken" and "{{ computer_name }}" != "noname"
-
name
:
Configure Re6st with re6st-conf
-
name
:
Configure Re6st with re6st-conf
shell
:
"
re6st-conf
--registry
{{
re6st_registry_url
}}
--token
{{
re6sttoken
}}
-r
title
{{
re6sttoken
}}
-d
/etc/re6stnet"
shell
:
"
re6st-conf
--registry
{{
re6st_registry_url
}}
--token
{{
re6sttoken
}}
-r
title
{{
re6sttoken
}}
--fingerprint
{{
re6st_fingerprint
}}
-d
/etc/re6stnet"
when
:
re6st_annon == False and re6stnet_conf.stat.exists == False and "{{ re6sttoken }}" != "notoken" and "{{ computer_name }}" == "noname"
when
:
re6st_annon == False and re6stnet_conf.stat.exists == False and "{{ re6sttoken }}" != "notoken" and "{{ computer_name }}" == "noname"
-
name
:
Configure Re6st with re6st-conf
-
name
:
Configure Re6st with re6st-conf
shell
:
"
re6st-conf
--registry
{{
re6st_registry_url
}}
-r
title
{{
computer_name
}}
-d
/etc/re6stnet
--anonymous"
shell
:
"
re6st-conf
--registry
{{
re6st_registry_url
}}
-r
title
{{
computer_name
}}
--fingerprint
{{
re6st_fingerprint
}}
-d
/etc/re6stnet
--anonymous"
when
:
re6st_annon == True and re6stnet_conf.stat.exists == False and "{{ computer_name }}" != "noname"
when
:
re6st_annon == True and re6stnet_conf.stat.exists == False and "{{ computer_name }}" != "noname"
-
name
:
Check if configuration exists already
-
name
:
Check if configuration exists already
...
...
playbook/settings/vifib.yml
View file @
d2e35b53
---
---
re6st_registry_url
:
http://re6stnet.nexedi.com/
re6st_registry_url
:
http://re6stnet.nexedi.com/
re6st_fingerprint
:
sha256:61a8f3ef4bdf12aca0dad5c17e8fadd15966bdd68b1400c91ef8ee53f17c0d65
slapos_master_url
:
https://slap.vifib.com/
slapos_master_url
:
https://slap.vifib.com/
slapos_web_master_url
:
https://slapos.vifib.com/
slapos_web_master_url
:
https://slapos.vifib.com/
interface_name
:
lo
interface_name
:
lo
...
...
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