copr: use aws_cloud task for keygen and dist-git in aws
This commit is contained in:
parent
7059ef2cf2
commit
c35ba674fa
2 changed files with 9 additions and 1 deletions
|
@ -11,6 +11,10 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||||
|
when: datacenter != 'aws'
|
||||||
|
|
||||||
|
- import_tasks: "{{ tasks_path }}/aws_cloud.yml"
|
||||||
|
when: datacenter == 'aws'
|
||||||
|
|
||||||
- name: cloud basic setup
|
- name: cloud basic setup
|
||||||
hosts: copr_dist_git_dev:copr_dist_git_stg:copr_dist_git:copr_dist_git_dev_aws:copr_dist_git_aws
|
hosts: copr_dist_git_dev:copr_dist_git_stg:copr_dist_git:copr_dist_git_dev_aws:copr_dist_git_aws
|
||||||
|
|
|
@ -10,7 +10,11 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||||
when: not devel
|
when: datacenter != 'aws'
|
||||||
|
- import_tasks: "{{ tasks_path }}/aws_cloud.yml"
|
||||||
|
when: datacenter == 'aws'
|
||||||
|
|
||||||
|
|
||||||
- name: gather facts
|
- name: gather facts
|
||||||
setup:
|
setup:
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue