Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.playbook
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos.playbook
Commits
d4041859
Commit
d4041859
authored
May 06, 2015
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include re6st client setup for Mines
parent
2327d3cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
0 deletions
+44
-0
build_install_folder
build_install_folder
+1
-0
install/imt/re6st
install/imt/re6st
+23
-0
playbook/imt-re6stnet.yml
playbook/imt-re6stnet.yml
+20
-0
No files found.
build_install_folder
View file @
d4041859
...
...
@@ -22,3 +22,4 @@ render("imt-server-update.yml", "install/imt/slapos-update")
render("imt-server.yml", "install/imt/slapos")
render("imt-vm-bootstrap.yml", "install/imt/vm-bootstrap")
render("imt-vm-cloudera-manager.yml", "install/imt/vm-cloudera-manager")
render("imt-re6stnet.yml", "install/imt/re6st")
install/imt/re6st
0 → 100644
View file @
d4041859
#!/bin/bash
PLAYBOOK_REPOSITORY_URL
=
https://lab.nexedi.cn/rafael/slapos.playbook/repository/archive.tar.gz?ref
=
master
PLAYBOOK_FILE
=
imt-re6stnet.yml
#### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5
=
8a89ce4bf151a94fa005ef6d8f7a861a
wget
--no-check-certificate
https://deploy.nexedi.cn/base-setup
-O
/tmp/base-setup
if
[
"
`
md5sum
/tmp/base-setup |
cut
-f1
-d
\
`
"
!=
"
$BASE_SETUP_SCRIPT_MD5
"
]
;
then
echo
"ERROR: base-setup has wrong md5
`
md5sum
/tmp/base-setup |
cut
-f1
-d
\
`
!=
$BASE_SETUP_SCRIPT_MD5
"
exit
1
fi
source
/tmp/base-setup
download_playbook
$PLAYBOOK_REPOSITORY_URL
echo
"Starting Ansible playbook:"
ansible-playbook
$PLAYBOOK_FILE
-i
hosts
--connection
=
local
\ No newline at end of file
playbook/imt-re6stnet.yml
0 → 100644
View file @
d4041859
-
name
:
a play that runs entirely on the ansible host
hosts
:
127.0.0.1
connection
:
local
vars_files
:
-
settings/imt.yml
vars_prompt
:
-
name
:
"
re6sttoken"
prompt
:
"
If
you
have
re6st
token
if
you
have
(ignore
if
you
already
have
a
configured
re6st
running):"
private
:
no
default
:
"
notoken"
-
name
:
"
computer_name"
prompt
:
"
What
is
this
computer
name?
(ignore
if
you
already
have
a
configured
re6st
running):"
private
:
no
default
:
"
noname"
roles
:
-
re6stnet
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