Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
syncontent
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Web Essentials Jira
Web Essentials Jira
Labels
Merge Requests
0
Merge Requests
0
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Visay Keo
syncontent
Commits
4ecc1221
Commit
4ecc1221
authored
Dec 23, 2015
by
Visay Keo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IMP] Set data directory list to sync in variable
parent
e5608dba
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
18 deletions
+19
-18
CHANGELOG
CHANGELOG
+5
-0
ansible/roles/rsync/defaults/main.yml
ansible/roles/rsync/defaults/main.yml
+8
-0
ansible/roles/rsync/tasks/flow.yml
ansible/roles/rsync/tasks/flow.yml
+3
-6
ansible/roles/rsync/tasks/typo3.yml
ansible/roles/rsync/tasks/typo3.yml
+3
-12
No files found.
CHANGELOG
View file @
4ecc1221
CHANGELOG
=========
3.0-dev
-------
- [IMP] Set data directory list to sync in variable
3.0.6
-----
...
...
ansible/roles/rsync/defaults/main.yml
View file @
4ecc1221
---
# defaults file for rsync
data_dir
:
flow
:
-
Data/Persistent/
typo3
:
-
web/fileadmin/
-
web/typo3conf/l10n/
-
web/uploads/
ansible/roles/rsync/tasks/flow.yml
View file @
4ecc1221
...
...
@@ -3,21 +3,18 @@
-
name
:
Make sure local temp directory exists
local_action
:
file path="/tmp/{{ ssh_user }}/{{ item }}" state=directory
with_items
:
-
Data/Persistent/
with_items
:
data_dir.flow
-
name
:
Sync flow persistent data from remote server to local temp
synchronize
:
mode=pull
src="{{ remote_path }}/{{ item }}"
dest="/tmp/{{ ssh_user }}/{{ item }}"
delete=yes
with_items
:
-
Data/Persistent/
with_items
:
data_dir.flow
when
:
not from_cache|bool
-
name
:
Sync flow persistent data from local temp to working directory
local_action
:
synchronize src="/tmp/{{ ssh_user }}/{{ item }}"
dest="{{ local_path }}/{{ item }}"
delete=yes
with_items
:
-
Data/Persistent/
with_items
:
data_dir.flow
ansible/roles/rsync/tasks/typo3.yml
View file @
4ecc1221
...
...
@@ -3,10 +3,7 @@
-
name
:
Make sure local temp directory exists
local_action
:
file path="/tmp/{{ ssh_user }}/{{ item }}" state=directory
with_items
:
-
web/fileadmin/
-
web/typo3conf/l10n/
-
web/uploads/
with_items
:
data_dir.typo3
-
name
:
Sync typo3 data from remote server to local temp
synchronize
:
mode=pull
...
...
@@ -14,10 +11,7 @@
dest="/tmp/{{ ssh_user }}/{{ item }}"
delete=yes
rsync_opts="--exclude=.gitkeep --exclude=_temp_ --exclude=_processed_"
with_items
:
-
web/fileadmin/
-
web/typo3conf/l10n/
-
web/uploads/
with_items
:
data_dir.typo3
when
:
not from_cache|bool
-
name
:
Sync typo3 data from local temp to working directory
...
...
@@ -25,7 +19,4 @@
dest="{{ local_path }}/{{ item }}"
delete=yes
rsync_opts="--exclude=.gitkeep --exclude=_temp_ --exclude=_processed_"
with_items
:
-
web/fileadmin/
-
web/typo3conf/l10n/
-
web/uploads/
with_items
:
data_dir.typo3
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