Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SpiderOak
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
SpiderOak
Commits
64b43b56
Commit
64b43b56
authored
8 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Optimize SpiderOak
parent
8d4bab79
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tasks/main.yml
+1
-1
1 addition, 1 deletion
tasks/main.yml
tasks/register.yml
+1
-0
1 addition, 0 deletions
tasks/register.yml
tasks/spideroak.yml
+10
-1
10 additions, 1 deletion
tasks/spideroak.yml
with
12 additions
and
2 deletions
tasks/main.yml
+
1
−
1
View file @
64b43b56
...
...
@@ -9,4 +9,4 @@
-
include
:
spideroak.yml
when
:
'
"spideroak"
not
in
excluded_roles'
when
:
'
"spideroak"
not
in
excluded_roles
and
spideroak_username
is
defined
and
spideroak_username
!=
""
'
This diff is collapsed.
Click to expand it.
tasks/register.yml
+
1
−
0
View file @
64b43b56
...
...
@@ -28,6 +28,7 @@
# $ SpiderOakONE --headless
# Info:
# $ SpiderOakONE --selection
# $ SpiderOakONE --space
# $ SpiderOakONE --userinfo
# $ SpiderOakONE --fulllist
This diff is collapsed.
Click to expand it.
tasks/spideroak.yml
+
10
−
1
View file @
64b43b56
...
...
@@ -5,6 +5,7 @@
shell
:
ls /usr/bin/SpiderOakONE
register
:
spideroak_available
failed_when
:
false
changed_when
:
false
-
name
:
"
Apt
Key"
apt_key
:
...
...
@@ -30,16 +31,24 @@
service
:
name='spideroak'
state='stopped'
pattern='SpiderOakONE'
-
name
:
"
Wait"
shell
:
sleep
5
-
name
:
"
Add
Directories
to
SpiderOak"
shell
:
SpiderOakONE --include-dir={{ item }}
with_items
:
'
{{
spideroak_include
}}'
with_items
:
'
{{
spideroak_include
|default([])
}}'
-
name
:
"
Add
Drupal
Files
Directory
to
SpiderOak"
shell
:
SpiderOakONE --include-dir={{ jailroot }}/{{ item.jail.name }}/var/www/files
with_items
:
'
{{
drupal_settings|default([])
}}'
when
:
item.jail is defined
-
name
:
"
Add
MySQL
Backups
to
SpiderOak"
shell
:
SpiderOakONE --include-dir=/var/backups/mysql
when
:
groups['dbserver-mysql'] is defined and inventory_hostname in groups['dbserver-mysql']
-
name
:
"
Start
SpiderOak"
service
:
name='spideroak'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment