Skip to content

Commit

Permalink
install when ansible_distribution == 'CentOS'
Browse files Browse the repository at this point in the history
  • Loading branch information
zaxos committed May 16, 2018
1 parent 7f30d95 commit cfa5ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Ansible role to install and configure GlusterFS.

Requirements
------------
* centos/rhel 7
* centos 7
* ansible >= 2.2

Installation
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- name: Install glusterfs
include: install-glusterfs-server.yml
when: ansible_os_family == "RedHat"
when: ansible_distribution == 'CentOS'

- name: Configure firewalld
include: configure-firewalld.yml
Expand Down

0 comments on commit cfa5ec1

Please sign in to comment.