summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/tasks/ssh_keys.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_aws/tasks/ssh_keys.yml')
-rw-r--r--roles/openshift_aws/tasks/ssh_keys.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_aws/tasks/ssh_keys.yml b/roles/openshift_aws/tasks/ssh_keys.yml
new file mode 100644
index 000000000..f439ce74e
--- /dev/null
+++ b/roles/openshift_aws/tasks/ssh_keys.yml
@@ -0,0 +1,8 @@
+---
+- name: Add the public keys for the users
+ ec2_key:
+ name: "{{ item.key_name }}"
+ key_material: "{{ item.pub_key }}"
+ region: "{{ openshift_aws_region }}"
+ with_items: "{{ openshift_aws_users }}"
+ no_log: True