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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos.package
Commits
08613281
Commit
08613281
authored
Jun 19, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Implement initial vifib-shuttle configuration.
parent
8fd3f97f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
13 deletions
+22
-13
playbook/install-script.yml
playbook/install-script.yml
+1
-0
playbook/roles/rafael_ssh_key/tasks/main.yml
playbook/roles/rafael_ssh_key/tasks/main.yml
+0
-3
playbook/roles/upgrader/tasks/main.yml
playbook/roles/upgrader/tasks/main.yml
+4
-2
playbook/roles/vifib-shuttle/tasks/main.yml
playbook/roles/vifib-shuttle/tasks/main.yml
+2
-5
playbook/roles/vifib-shuttle/tasks/user.yml
playbook/roles/vifib-shuttle/tasks/user.yml
+7
-0
playbook/vifib-shuttle.yml
playbook/vifib-shuttle.yml
+7
-2
playbook/vifib.yml
playbook/vifib.yml
+1
-1
No files found.
playbook/install-script.yml
View file @
08613281
...
...
@@ -36,6 +36,7 @@
-
{
role
:
"
install-script"
,
playbook_yml
:
"
slapos.yml"
,
script_path
:
"
install/slapos"
}
-
{
role
:
"
install-script"
,
playbook_yml
:
"
re6stnet.yml"
,
script_path
:
"
install/re6st"
}
-
{
role
:
"
install-script"
,
playbook_yml
:
"
vifib.yml"
,
script_path
:
"
install/vifib"
}
-
{
role
:
"
install-script"
,
playbook_yml
:
"
vifib-shuttle.yml"
,
script_path
:
"
install/vifib-shuttle"
}
-
{
role
:
"
install-script"
,
playbook_yml
:
"
erp5-standalone.yml"
,
script_path
:
"
install/erp5-standalone"
}
-
{
role
:
"
install-script"
,
playbook_yml
:
"
wendelin-standalone.yml"
,
script_path
:
"
install/wendelin-standalone"
}
-
{
role
:
"
install-script"
,
playbook_yml
:
"
slapos-test-node.yml"
,
script_path
:
"
install/slapos-test-node"
}
...
...
playbook/roles/rafael_ssh_key/tasks/main.yml
View file @
08613281
-
name
:
Add rafael SSH Key
authorized_key
:
user=root key="{{ lookup('file', 'rafael_key') }}"
-
name
:
Add rafael SSH Key on slapos user
authorized_key
:
user=slapos key="{{ lookup('file', 'rafael_key') }}"
playbook/roles/upgrader/tasks/main.yml
View file @
08613281
...
...
@@ -11,13 +11,15 @@
-
shell
:
rm -rf /opt/upgrader/playbook/
-
file
:
path=/opt/upgrader/playbook/ state=directory mode=0755
-
shell
:
mkdir -p /opt/upgrader/playbook
-
name
:
Periodically download the latest playbook
shell
:
slapcache-download --destination=/opt/upgrader/archive.tar.gz
-
name
:
Uncompress
unarchive
:
src=/opt/upgrader/archive.tar.gz dest=/opt/upgrader/playbook/
shell
:
tar -xzvf /opt/upgrader/archive.tar.gz
args
:
chdir
:
/opt/upgrader/playbook/
-
name
:
Save new archive MD5
stat
:
path=/opt/upgrader/archive.tar.gz
...
...
playbook/roles/vifib-shuttle/tasks/main.yml
View file @
08613281
...
...
@@ -6,7 +6,7 @@
shell
:
modprobe coretemp > /dev/null 2>&1
-
name
:
"
Load
f71882fg"
shell
:
modprobe f71882fg > /dev/null 2>&1
shell
:
echo "DISABLED modprobe f71882fg > /dev/null 2>&1"
-
name
:
"
Do
sysctl"
shell
:
sysctl -w net.ipv4.neigh.default.gc_thresh1=512 net.ipv4.neigh.default.gc_thresh2=1024 net.ipv4.neigh.default.gc_thresh3=2048 net.ipv6.neigh.default.gc_thresh1=512 net.ipv6.neigh.default.gc_thresh2=1024 net.ipv6.neigh.default.gc_thresh3=2048
...
...
@@ -14,7 +14,4 @@
-
name
:
echo 1 > /sys/kernel/mm/ksm/run
shell
:
echo 1 > /sys/kernel/mm/ksm/run
-
name
:
"
Install
firmware-realtek"
apt
:
name=firmware-realtek
apt
:
name=firmware-realtek state=latest update_cache=yes cache_valid_time=3600
when
:
ansible_os_family == "Debian"
-
include
:
user.yml
playbook/roles/vifib-shuttle/tasks/user.yml
0 → 100644
View file @
08613281
---
-
name
:
remove other unwanted users
user
:
name={{ item }} state=absent
with_items
:
-
slapos
-
nexedi
playbook/vifib-shuttle.yml
View file @
08613281
...
...
@@ -2,8 +2,12 @@
hosts
:
127.0.0.1
connection
:
local
vars
:
-
upgrader_playbook
:
vifib-upgrade.yml
vars_files
:
-
settings/vifib.yml
-
settings/upgrader.yml
vars_prompt
:
-
name
:
"
computer_name"
...
...
@@ -20,5 +24,6 @@
-
{
role
:
re6stnet-legacy
,
package_state
:
present
}
-
{
role
:
slapos
,
package_state
:
present
}
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
}
-
vifib-server-shuttle
-
rafael_ssh_key
-
vifib-shuttle
-
upgrader
playbook/vifib.yml
View file @
08613281
...
...
@@ -3,7 +3,7 @@
connection
:
local
vars
:
-
upgrader
-
playbook
:
vifib-upgrader.yml
-
upgrader
_
playbook
:
vifib-upgrader.yml
vars_files
:
-
settings/vifib.yml
...
...
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