adds missing state needed to upgrade nfs-ganesha

in tasks for os_family Red Hat we were missing this

fixes: bz1575859
Signed-off-by: Gregory Meno <gmeno@redhat.com>
pull/2574/head
Gregory Meno 2018-05-09 11:17:26 -07:00 committed by Andrew Schoen
parent 259fae931d
commit 26f6a65042
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,7 @@
- name: install nfs cephfs gateway
package:
name: nfs-ganesha-ceph
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
when:
- nfs_file_gw
- ansible_os_family == 'RedHat'
@ -97,6 +98,7 @@
- name: install redhat nfs-ganesha-rgw and ceph-radosgw packages
package:
name: "{{ item }}"
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
with_items:
- nfs-ganesha-rgw
- ceph-radosgw