From faf84678f79556d47132d0e09d599dabb3bd2b17 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 31 Jul 2021 19:49:14 -0500 Subject: [PATCH] Split plays into three parts that execute (and fail) in parallel --- .gitlab-ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ad7911..586b7dd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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