Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible_cluster_in_a_box
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Chris Hines
ansible_cluster_in_a_box
Commits
15c29c28
Commit
15c29c28
authored
9 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
fix up gluster on Ubuntu
parent
65313c7b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/gluster_client/tasks/main.yml
+1
-1
1 addition, 1 deletion
roles/gluster_client/tasks/main.yml
roles/gluster_server/tasks/main.yml
+7
-1
7 additions, 1 deletion
roles/gluster_server/tasks/main.yml
with
8 additions
and
2 deletions
roles/gluster_client/tasks/main.yml
+
1
−
1
View file @
15c29c28
...
...
@@ -12,7 +12,7 @@
sudo
:
true
-
name
:
install gluster
apt
:
name=glusterfs state='latest'
apt
:
name=glusterfs
-client
state='latest'
when
:
ansible_os_family == 'Debian'
sudo
:
true
...
...
This diff is collapsed.
Click to expand it.
roles/gluster_server/tasks/main.yml
+
7
−
1
View file @
15c29c28
...
...
@@ -15,13 +15,19 @@
sudo
:
true
-
name
:
install gluster
apt
:
name=glusterfs state='latest'
apt
:
name=glusterfs
-server
state='latest'
when
:
ansible_os_family == 'Debian'
sudo
:
true
-
name
:
start daemon
service
:
name=glusterd enabled=yes state=started
sudo
:
true
when
:
ansible_os_family == 'RedHat'
-
name
:
start daemon
service
:
name=glusterfs-server enabled=yes state=started
sudo
:
true
when
:
ansible_os_family == 'Debian'
-
name
:
make server list
set_fact
:
...
...
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