summaryrefslogtreecommitdiffstats
path: root/roles/nuage_ca/tasks
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2016-11-16 16:30:28 -0500
committerRussell Teague <rteague@redhat.com>2016-11-17 15:10:37 -0500
commit7e0c346c8406eb6142e8d38fdec4e13236f3cdc6 (patch)
tree2bc96a95a6b60cdcc7278966886b14079c71f7eb /roles/nuage_ca/tasks
parentac1b73841a109f6e9f6947434a9e1aca382e61c6 (diff)
downloadopenshift-7e0c346c8406eb6142e8d38fdec4e13236f3cdc6.tar.gz
openshift-7e0c346c8406eb6142e8d38fdec4e13236f3cdc6.tar.bz2
openshift-7e0c346c8406eb6142e8d38fdec4e13236f3cdc6.tar.xz
openshift-7e0c346c8406eb6142e8d38fdec4e13236f3cdc6.zip
Refactor to use Ansible package module
The Ansible package module will call the correct package manager for the underlying OS.
Diffstat (limited to 'roles/nuage_ca/tasks')
-rw-r--r--roles/nuage_ca/tasks/main.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/nuage_ca/tasks/main.yaml b/roles/nuage_ca/tasks/main.yaml
index 9cfa40b8a..8d73e6840 100644
--- a/roles/nuage_ca/tasks/main.yaml
+++ b/roles/nuage_ca/tasks/main.yaml
@@ -1,6 +1,6 @@
---
- name: Install openssl
- action: "{{ ansible_pkg_mgr }} name=openssl state=present"
+ package: name=openssl state=present
when: not openshift.common.is_atomic | bool
- name: Create CA directory
@@ -41,6 +41,6 @@
delegate_to: "{{ nuage_ca_master }}"
- name: Copy SSL config file
- copy: src=openssl.cnf dest="{{ nuage_ca_dir }}/openssl.cnf"
+ copy: src=openssl.cnf dest="{{ nuage_ca_dir }}/openssl.cnf"
run_once: true
delegate_to: "{{ nuage_ca_master }}"