summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster/provision_ssh_keypair.yml
blob: d86ff9f9b7d13fccf7ea39ae973171bd6c9b72e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- hosts: localhost
  connection: local
  gather_facts: no
  tasks:
  - name: create an instance and prepare for ami
    import_role:
      name: openshift_aws
      tasks_from: ssh_keys.yml
    vars:
      openshift_aws_node_group_type: compute
    when: openshift_aws_users | default([]) | length  > 0