summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift/tasks/ssh.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-12-06 10:14:00 +0100
committerSuren A. Chilingaryan <csa@suren.me>2019-12-06 10:14:00 +0100
commitbdcf77c2a664de34014a21913a3d3a0474f9bbba (patch)
tree2a4e682fdc0cc4bbc1bdc81d3e171e27fe389049 /roles/ands_openshift/tasks/ssh.yml
parent68a90c3b962af76a4b1390e097a2f3d848ca6643 (diff)
downloadands-bdcf77c2a664de34014a21913a3d3a0474f9bbba.tar.gz
ands-bdcf77c2a664de34014a21913a3d3a0474f9bbba.tar.bz2
ands-bdcf77c2a664de34014a21913a3d3a0474f9bbba.tar.xz
ands-bdcf77c2a664de34014a21913a3d3a0474f9bbba.zip
Compatibility fixes with ansible 2.8
Diffstat (limited to 'roles/ands_openshift/tasks/ssh.yml')
-rw-r--r--roles/ands_openshift/tasks/ssh.yml6
1 files changed, 4 insertions, 2 deletions
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