Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified to use geo rep module from collection #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
169 changes: 0 additions & 169 deletions georep_module/library/geo_rep.py

This file was deleted.

2 changes: 2 additions & 0 deletions roles/ctdb/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
# tasks file for ctdb
- name: Setup ctdb for GlusterFS
collections:
- gluster.gluster
import_tasks: setup_ctdb.yml
when: gluster_features_ctdb_publicaddr is defined
tags:
Expand Down
6 changes: 6 additions & 0 deletions roles/geo_replication/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

# Run only on masternode
- name: Setup shared storage and generate keys
collections:
- gluster.gluster
import_tasks: georep_session_create.yml
when: >
gluster_features_georep_mastervol is defined and
Expand All @@ -41,6 +43,8 @@

# Run only on masternode
- name: Stop geo_rep session
collections:
- gluster.gluster
import_tasks: georep_session_stop.yml
when: >
gluster_features_georep_mastervol is defined and
Expand All @@ -51,6 +55,8 @@

# Run only on masternode
- name: Delete geo_rep session
collections:
- gluster.gluster
import_tasks: georep_session_delete.yml
when: >
gluster_features_georep_session_delete is defined and
Expand Down
4 changes: 4 additions & 0 deletions roles/gluster_hci/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

# Create GlusterFS volumes on the nodes
- name: Create GlusterFS volumes
collections:
- gluster.gluster
import_tasks: hci_volumes.yml
tags:
- hcivolcreate
Expand All @@ -30,6 +32,8 @@

# Setup ssl on nodes if specified
- name: Enable SSL on hosts
collections:
- gluster.gluster
import_tasks: ssl-setup.yml
when: gluster_features_enable_ssl|default(false)
tags:
Expand Down