--- # 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 security groups include_role: name: openshift_aws tasks_from: security_group.yml when: openshift_aws_create_security_groups | default(True) | bool