From efe86b44bce679db38cca654818dc3837bb05f6a Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Wed, 30 Aug 2017 17:47:48 -0400 Subject: Consolidating AWS roles and variables underneath openshift_aws role. --- roles/openshift_aws_ssh_keys/README.md | 49 ----------------------------- roles/openshift_aws_ssh_keys/tasks/main.yml | 8 ----- 2 files changed, 57 deletions(-) delete mode 100644 roles/openshift_aws_ssh_keys/README.md delete mode 100644 roles/openshift_aws_ssh_keys/tasks/main.yml (limited to 'roles/openshift_aws_ssh_keys') 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: -- username: user2 - pub_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 -- cgit v1.2.3