Split plays into three parts that execute (and fail) in parallel

This commit is contained in:
Salt 2021-07-31 19:49:14 -05:00
parent 8606ed923f
commit faf84678f7

View File

@ -34,7 +34,15 @@ Test:
script:
- ansible-playbook --skip-tags no-test -C site.yml --vault-password-file /vaultpw
Play:
Play_Against_Pis:
stage: play
script:
- ansible-playbook site.yml --vault-password-file /vaultpw
- ansible-playbook -l pis site.yml --vault-password-file /vaultpw
Play_Against_Desktops:
stage: play
script:
- ansible-playbook -l desktop site.yml --vault-password-file /vaultpw
Play_Against_Production:
stage: play
script:
- ansible-playbook -l prod site.yml --vault-password-file /vaultpw