summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster/provision_sec_group.yml
blob: 039357adb03cf42e4662ecf88f10fa70adf69920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# If running this play directly, be sure the variable
# 'openshift_aws_node_group_type' is set correctly for your usage.
# See build_ami.yml for an example.
- hosts: localhost
  connection: local
  gather_facts: no
  tasks:
  - name: create an instance and prepare for ami
    include_role:
      name: openshift_aws
      tasks_from: security_group.yml
    when: openshift_aws_create_security_groups | default(True) | bool