summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws_ssh_keys/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_aws_ssh_keys/tasks/main.yml')
-rw-r--r--roles/openshift_aws_ssh_keys/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_aws_ssh_keys/tasks/main.yml b/roles/openshift_aws_ssh_keys/tasks/main.yml
new file mode 100644
index 000000000..232cf20ed
--- /dev/null
+++ b/roles/openshift_aws_ssh_keys/tasks/main.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: "{{ r_openshift_aws_ssh_keys_region }}"
+ with_items: "{{ r_openshift_aws_ssh_keys_users }}"
+ no_log: True