copr-be-dev-aws: another try with birthday

This commit is contained in:
Pavel Raiskup
2020-02-21 11:42:47 +01:00
committed by Pierre-Yves Chibon
parent 4fa38984e3
commit ae21353b07
2 changed files with 5 additions and 2 deletions

View File

@@ -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