I have created a shell script that runs all steps sequentially, and when one fails, it will stop processing. It is called deploy-with-ansible.sh. You can run it like this in the HA configuration directory of your project:
../deploy-with-ansible.shtls_private_key.privkey: Refreshing state... (ID: 874768c0573f85ee35688f91b96793940376786c)aws_key_pair.keypair: Refreshing state... (ID: ec2key)aws_vpc.gitlabha: Refreshing state... (ID: vpc-0d623120e0d5401f9)aws_subnet.pub-web-az-b: Refreshing state... (ID: subnet-03908026eb72659e1)aws_subnet.priv-db-az-a: Refreshing state... (ID: subnet-0e65b8cb35e8ef116)aws_security_group.bastionhostSG: Refreshing state... (ID: sg-0c9043cd8f71becab)aws_internet_gateway.inetgw: ...