-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from migibert/support_v3
Support v3
- Loading branch information
Showing
12 changed files
with
1,481 additions
and
484 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
- name: Install orientdb as a systemd service | ||
template: | ||
src: orientdb.service.j2 | ||
dest: /usr/lib/systemd/system/orientdb.service | ||
dest: /etc/systemd/system/orientdb.service | ||
owner: root | ||
group: root | ||
mode: 400 | ||
register: orientdb_service_unit | ||
|
||
- name: systemctl daemon-reload | ||
command: systemctl daemon-reload | ||
when: orientdb_service_unit|changed | ||
|
||
- name: Launch orientdb service | ||
service: | ||
- name: Start service | ||
systemd : | ||
name: orientdb | ||
state: restarted | ||
enabled: yes | ||
daemon_reload: yes | ||
when: orientdb_service_unit is changed or orientdb_force_install == True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"enabled": {% if orientdb_autoback %}true{% else %}false{% endif %}, | ||
"mode": "FULL_BACKUP", | ||
"exportOptions": "", | ||
"delay": "{{ orientdb_autoback_delay|default('4h') }}", | ||
"firstTime": "{{ orientdb_autoback_start | default('23:00:00') }}", | ||
"targetDirectory": "backup", | ||
"targetFileName": "${DBNAME}-${DATE:yyyyMMddHHmmss}.zip", | ||
"compressionLevel": 9, | ||
"bufferSize": 1048576, | ||
"dbInclude": {{ orientdb_autoback_db_include | to_json }}, | ||
"dbExclude": {{ orientdb_autoback_db_exclude | to_json }} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"autoDeploy": {{orientdb_distributed_db_config.autoDeploy | to_json }}, | ||
"hotAlignment": {{orientdb_distributed_db_config.hotAlignment | to_json }}, | ||
"executionMode": "{{orientdb_distributed_db_config.executionMode}}", | ||
"readQuorum": {{orientdb_distributed_db_config.readQuorum}}, | ||
"writeQuorum": {{orientdb_distributed_db_config.writeQuorum}}, | ||
"failureAvailableNodesLessQuorum": {{orientdb_distributed_db_config.failureAvailableNodesLessQuorum | to_json}}, | ||
"readYourWrites": {{orientdb_distributed_db_config.readYourWrites | to_json}}, | ||
"newNodeStrategy": {{orientdb_distributed_db_config.newNodeStrategy | to_json}} | ||
"dataCenters" : {{ orientdb_distributed_db_config.dataCenters | to_json }} | ||
"servers": {{orientdb_distributed_db_config.servers | to_json}}, | ||
"clusters": {{orientdb_distributed_db_config.clusters | to_json}} | ||
} |
Oops, something went wrong.