diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-08-30 17:47:48 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-09-07 14:41:24 -0400 |
commit | efe86b44bce679db38cca654818dc3837bb05f6a (patch) | |
tree | 3bf6d09a2906aea8784073aece30ec22b82788f2 /roles/openshift_aws_ssh_keys | |
parent | 63ecca817c45242f3db0495d99b947ba0471789e (diff) | |
download | openshift-efe86b44bce679db38cca654818dc3837bb05f6a.tar.gz openshift-efe86b44bce679db38cca654818dc3837bb05f6a.tar.bz2 openshift-efe86b44bce679db38cca654818dc3837bb05f6a.tar.xz openshift-efe86b44bce679db38cca654818dc3837bb05f6a.zip |
Consolidating AWS roles and variables underneath openshift_aws role.
Diffstat (limited to 'roles/openshift_aws_ssh_keys')
-rw-r--r-- | roles/openshift_aws_ssh_keys/README.md | 49 | ||||
-rw-r--r-- | roles/openshift_aws_ssh_keys/tasks/main.yml | 8 |
2 files changed, 0 insertions, 57 deletions
diff --git a/roles/openshift_aws_ssh_keys/README.md b/roles/openshift_aws_ssh_keys/README.md deleted file mode 100644 index 4f8667918..000000000 --- a/roles/openshift_aws_ssh_keys/README.md +++ /dev/null @@ -1,49 +0,0 @@ -openshift_aws_ssh_keys -========= - -Ansible role for sshind SSH keys - -Requirements ------------- - -Ansible Modules: - - -Role Variables --------------- - -- r_openshift_aws_ssh_keys_users: list of dicts of users -- r_openshift_aws_ssh_keys_region: ec2_region to install the keys - -Dependencies ------------- - - -Example Playbook ----------------- -```yaml -users: -- username: user1 - pub_key: <user1 ssh public key> -- username: user2 - pub_key: <user2 ssh public key> - -region: us-east-1 - -- include_role: - name: openshift_aws_ssh_keys - vars: - r_openshift_aws_ssh_keys_users: "{{ users }}" - r_openshift_aws_ssh_keys_region: "{{ region }}" -``` - - -License -------- - -Apache 2.0 - -Author Information ------------------- - -Openshift diff --git a/roles/openshift_aws_ssh_keys/tasks/main.yml b/roles/openshift_aws_ssh_keys/tasks/main.yml deleted file mode 100644 index 232cf20ed..000000000 --- a/roles/openshift_aws_ssh_keys/tasks/main.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- 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 |