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
e298b024
Commit
e298b024
authored
Jun 24, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include helper script to install ansible only
parent
77ba2e39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
playbook/install-script.yml
playbook/install-script.yml
+3
-0
playbook/roles/install-script/templates/ansible-only.j2
playbook/roles/install-script/templates/ansible-only.j2
+13
-0
No files found.
playbook/install-script.yml
View file @
e298b024
...
@@ -23,6 +23,9 @@
...
@@ -23,6 +23,9 @@
-
name
:
generate scripts
-
name
:
generate scripts
template
:
src=roles/install-script/templates/dev.j2 dest={{ base_path }}/install/devbook mode=0666
template
:
src=roles/install-script/templates/dev.j2 dest={{ base_path }}/install/devbook mode=0666
-
name
:
generate ansible-only
template
:
src=roles/install-script/templates/ansible-only.j2 dest={{ base_path }}/install/ansible mode=0666
-
name
:
generate index.html
-
name
:
generate index.html
copy
:
src=roles/install-script/files/index.html dest={{ base_path }}/install/index.html mode=0666
copy
:
src=roles/install-script/files/index.html dest={{ base_path }}/install/index.html mode=0666
...
...
playbook/roles/install-script/templates/ansible-only.j2
0 → 100644
View file @
e298b024
#!/bin/bash
#### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5
={{
base_setup.stat.md5
}}
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
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