copr: install python when birthday, regardless of gathering facts

This commit is contained in:
Jakub Kadlcik 2023-08-20 15:44:55 +02:00
parent 29669a1698
commit 038a0591c9
2 changed files with 3 additions and 7 deletions

View file

@ -14,12 +14,6 @@
# - import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
# when: datacenter != 'aws'
# TODO Remove this in favor of aws_cloud.yml
- name: install python3 and dnf stuff
raw: sudo dnf -y install python3-dnf python3-libselinux python3
when:
- birthday is defined
- import_tasks: "{{ tasks_path }}/aws_cloud.yml"
when: datacenter == 'aws'

View file

@ -70,7 +70,9 @@
raw: sudo dnf -y install python3-dnf python3-libselinux python3
when:
- birthday is defined
- facts is failed
# For copr-pulp-instance it doesn't fail even though python3 package
# is not installed
# - facts is failed
# - name: Include SSH config
# import_role: name=basessh