summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/kube_nfs_volumes/tasks/main.yml2
-rw-r--r--roles/kube_nfs_volumes/tasks/nfs.yml2
-rw-r--r--roles/openshift_master/tasks/main.yml4
-rw-r--r--roles/openshift_node/tasks/main.yml4
4 files changed, 6 insertions, 6 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
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index b718ab6d1..23f8b4649 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -52,7 +52,7 @@
when: openshift.master.embedded_dns
- name: Install OpenShift Master package
- yum: pkg=openshift-master state=installed
+ yum: pkg=openshift-master state=present
register: install_result
- name: Reload systemd units
@@ -91,7 +91,7 @@
- restart openshift-master
- name: Install httpd-tools if needed
- yum: pkg=httpd-tools state=installed
+ yum: pkg=httpd-tools state=present
when: item.kind == 'HTPasswdPasswordIdentityProvider'
with_items: openshift.master.identity_providers
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 338ef055b..c5202650f 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -22,11 +22,11 @@
debug_level: "{{ openshift_node_debug_level | default(openshift.common.debug_level) }}"
- name: Install OpenShift Node package
- yum: pkg=openshift-node state=installed
+ yum: pkg=openshift-node state=present
register: node_install_result
- name: Install openshift-sdn-ovs
- yum: pkg=openshift-sdn-ovs state=installed
+ yum: pkg=openshift-sdn-ovs state=present
register: sdn_install_result
when: openshift.common.use_openshift_sdn