copr: install python when birthday, regardless of gathering facts
This commit is contained in:
parent
29669a1698
commit
038a0591c9
2 changed files with 3 additions and 7 deletions
|
@ -14,12 +14,6 @@
|
||||||
# - import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
# - import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||||
# when: datacenter != 'aws'
|
# 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"
|
- import_tasks: "{{ tasks_path }}/aws_cloud.yml"
|
||||||
when: datacenter == 'aws'
|
when: datacenter == 'aws'
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,9 @@
|
||||||
raw: sudo dnf -y install python3-dnf python3-libselinux python3
|
raw: sudo dnf -y install python3-dnf python3-libselinux python3
|
||||||
when:
|
when:
|
||||||
- birthday is defined
|
- 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
|
# - name: Include SSH config
|
||||||
# import_role: name=basessh
|
# import_role: name=basessh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue