Skip to content

Commit

Permalink
Do not generate ssh config when no bastions are deployed (#4662)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkupferer authored Apr 20, 2022
1 parent 2fc6cf5 commit 466f615
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible/cloud_providers/ec2_infrastructure_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
name: infra-ec2-create-inventory

- name: Run Common SSH Config Generator Role
when:
- groups.bastions is defined
- groups.bastions | length > 0
include_role:
name: infra-common-ssh-config-generate

Expand Down

0 comments on commit 466f615

Please sign in to comment.