From ae21353b071abbb2ab734cebff5ee6c31d34b690 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 21 Feb 2020 11:42:47 +0100 Subject: [PATCH] copr-be-dev-aws: another try with birthday --- inventory/inventory | 2 +- tasks/aws_cloud.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/inventory/inventory b/inventory/inventory index 7507da9535..a610281db5 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -1134,7 +1134,7 @@ copr-fe-dev.aws.fedoraproject.org copr-be-dev.cloud.fedoraproject.org [copr_back_dev_aws] -copr-be-dev.aws.fedoraproject.org +copr-be-dev.aws.fedoraproject.org birthday=true [copr_keygen_dev] copr-keygen-dev.cloud.fedoraproject.org diff --git a/tasks/aws_cloud.yml b/tasks/aws_cloud.yml index d7f583480f..dafb18856e 100644 --- a/tasks/aws_cloud.yml +++ b/tasks/aws_cloud.yml @@ -118,6 +118,7 @@ check_mode: no ignore_errors: True register: facts + when: birthday is defined # # If that failed, then we use the raw module to install things @@ -125,7 +126,9 @@ - name: install python3 and dnf stuff raw: sudo dnf -y install python3-dnf python3-libselinux python3 - when: facts is failed + when: + - birthday is defined + - facts is failed # TODO - somehow guess when keypair is finally deployed and return little bit earlier ## We need to specify user, here we trying with fedora or root