diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-06-10 12:21:34 -0400 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-06-10 12:21:34 -0400 |
commit | 04f49c188537a98c546b3e0620010b45c539f1e2 (patch) | |
tree | f717e70f426062fbf81f3fc22fd38607ee874f08 /roles/kube_nfs_volumes | |
parent | 5176446e148679e7a75119a1bfe9088262365ff9 (diff) | |
download | openshift-04f49c188537a98c546b3e0620010b45c539f1e2.tar.gz openshift-04f49c188537a98c546b3e0620010b45c539f1e2.tar.bz2 openshift-04f49c188537a98c546b3e0620010b45c539f1e2.tar.xz openshift-04f49c188537a98c546b3e0620010b45c539f1e2.zip |
Use the documented state=present for yum module
Diffstat (limited to 'roles/kube_nfs_volumes')
-rw-r--r-- | roles/kube_nfs_volumes/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/kube_nfs_volumes/tasks/nfs.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/kube_nfs_volumes/tasks/main.yml b/roles/kube_nfs_volumes/tasks/main.yml index 23b228d32..f4a506234 100644 --- a/roles/kube_nfs_volumes/tasks/main.yml +++ b/roles/kube_nfs_volumes/tasks/main.yml @@ -1,6 +1,6 @@ --- - name: Install pyparted (RedHat/Fedora) - yum: name=pyparted,python-httplib2 state=installed + yum: name=pyparted,python-httplib2 state=present - name: partition the drives partitionpool: disks={{ disks }} force={{ force }} sizes={{ sizes }} diff --git a/roles/kube_nfs_volumes/tasks/nfs.yml b/roles/kube_nfs_volumes/tasks/nfs.yml index 87cf5f9a4..559fcf17c 100644 --- a/roles/kube_nfs_volumes/tasks/nfs.yml +++ b/roles/kube_nfs_volumes/tasks/nfs.yml @@ -1,6 +1,6 @@ --- - name: Install NFS server on Fedora/Red Hat - yum: name=nfs-utils state=installed + yum: name=nfs-utils state=present - name: Start rpcbind on Fedora/Red Hat service: name=rpcbind state=started enabled=yes |