summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_openshift/tasks')
-rw-r--r--roles/ands_openshift/tasks/heketi_resources.yml6
-rw-r--r--roles/ands_openshift/tasks/projects.yml6
-rw-r--r--roles/ands_openshift/tasks/security.yml6
-rw-r--r--roles/ands_openshift/tasks/ssh.yml6
-rw-r--r--roles/ands_openshift/tasks/storage.yml6
-rw-r--r--roles/ands_openshift/tasks/users.yml6
6 files changed, 24 insertions, 12 deletions
diff --git a/roles/ands_openshift/tasks/heketi_resources.yml b/roles/ands_openshift/tasks/heketi_resources.yml
index 4abb411..0b0d0d3 100644
--- a/roles/ands_openshift/tasks/heketi_resources.yml
+++ b/roles/ands_openshift/tasks/heketi_resources.yml
@@ -38,8 +38,10 @@
- name: Fix GlusterFS volume permissions
include_tasks: heketi_perms.yml
- run_once: true
- delegate_to: "{{ groups.masters[0] }}"
+ args:
+ apply:
+ run_once: true
+ delegate_to: "{{ groups.masters[0] }}"
when: (result | changed)
- name: Copy Heketi Template
diff --git a/roles/ands_openshift/tasks/projects.yml b/roles/ands_openshift/tasks/projects.yml
index 4f13136..e3ed02e 100644
--- a/roles/ands_openshift/tasks/projects.yml
+++ b/roles/ands_openshift/tasks/projects.yml
@@ -1,4 +1,6 @@
---
- include_tasks: projects_resources.yml
- run_once: true
- delegate_to: "{{ groups.masters[0] }}"
+ args:
+ apply:
+ run_once: true
+ delegate_to: "{{ groups.masters[0] }}"
diff --git a/roles/ands_openshift/tasks/security.yml b/roles/ands_openshift/tasks/security.yml
index b1f017b..f4e68f4 100644
--- a/roles/ands_openshift/tasks/security.yml
+++ b/roles/ands_openshift/tasks/security.yml
@@ -1,3 +1,5 @@
- include_tasks: security_resources.yml
- run_once: true
- delegate_to: "{{ groups.masters[0] }}"
+ args:
+ apply:
+ run_once: true
+ delegate_to: "{{ groups.masters[0] }}"
diff --git a/roles/ands_openshift/tasks/ssh.yml b/roles/ands_openshift/tasks/ssh.yml
index e8cb8d1..97f3926 100644
--- a/roles/ands_openshift/tasks/ssh.yml
+++ b/roles/ands_openshift/tasks/ssh.yml
@@ -8,8 +8,10 @@
failed_when: false
- include_tasks: ssh_keygen.yml
- run_once: true
- delegate_to: "{{ groups.masters[0] }}"
+ args:
+ apply:
+ run_once: true
+ delegate_to: "{{ groups.masters[0] }}"
when: (result | changed)
- name: Read SSH public key
diff --git a/roles/ands_openshift/tasks/storage.yml b/roles/ands_openshift/tasks/storage.yml
index 66f0855..0454498 100644
--- a/roles/ands_openshift/tasks/storage.yml
+++ b/roles/ands_openshift/tasks/storage.yml
@@ -1,4 +1,6 @@
---
- include_tasks: storage_resources.yml
- run_once: true
- delegate_to: "{{ groups.masters[0] }}"
+ args:
+ apply:
+ run_once: true
+ delegate_to: "{{ groups.masters[0] }}"
diff --git a/roles/ands_openshift/tasks/users.yml b/roles/ands_openshift/tasks/users.yml
index a692a24..8c0beab 100644
--- a/roles/ands_openshift/tasks/users.yml
+++ b/roles/ands_openshift/tasks/users.yml
@@ -4,5 +4,7 @@
when: "'masters' in group_names"
- include_tasks: users_resources.yml
- run_once: true
- delegate_to: "{{ groups.masters[0] }}"
+ args:
+ apply:
+ run_once: true
+ delegate_to: "{{ groups.masters[0] }}"