Merge "Replace host_need_pip with standard override mechanism"
This commit is contained in:
commit
a588c7bab4
@ -53,16 +53,17 @@
|
|||||||
tags:
|
tags:
|
||||||
- lxc-containers-create
|
- lxc-containers-create
|
||||||
|
|
||||||
# TODO(evrardjp): Remove host_need_pip in the future
|
- name: Configure containers default software
|
||||||
# when the process building the repo is done before this step.
|
|
||||||
- name: Configure containers default software, but don't run pip yet
|
|
||||||
hosts: all_lxc_containers
|
hosts: all_lxc_containers
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
user: root
|
user: root
|
||||||
|
pre_tasks:
|
||||||
|
- include: common-tasks/set-upper-constraints.yml
|
||||||
|
- include: common-tasks/set-pip-upstream-url.yml
|
||||||
roles:
|
roles:
|
||||||
- role: "openstack_hosts"
|
- role: "openstack_hosts"
|
||||||
vars:
|
vars_files:
|
||||||
host_need_pip: False
|
- defaults/repo_packages/openstack_services.yml
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
tags:
|
||||||
- lxc-containers-create
|
- lxc-containers-create
|
||||||
|
@ -41,17 +41,18 @@
|
|||||||
tags:
|
tags:
|
||||||
- nspawn-containers-create
|
- nspawn-containers-create
|
||||||
|
|
||||||
# TODO(evrardjp): Remove host_need_pip in the future
|
- name: Configure containers default software
|
||||||
# when the process building the repo is done before this step.
|
|
||||||
- name: Configure containers default software, but don't run pip yet
|
|
||||||
hosts: all_nspawn_containers
|
hosts: all_nspawn_containers
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
user: root
|
user: root
|
||||||
|
pre_tasks:
|
||||||
|
- include: common-tasks/set-upper-constraints.yml
|
||||||
|
- include: common-tasks/set-pip-upstream-url.yml
|
||||||
roles:
|
roles:
|
||||||
- role: "openstack_hosts"
|
- role: "openstack_hosts"
|
||||||
is_container: true
|
is_container: true
|
||||||
vars:
|
vars_files:
|
||||||
host_need_pip: False
|
- defaults/repo_packages/openstack_services.yml
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
tags:
|
||||||
- nspawn-containers-create
|
- nspawn-containers-create
|
||||||
|
Loading…
x
Reference in New Issue
Block a user