Merge "Replace host_need_pip with standard override mechanism"

This commit is contained in:
Zuul 2018-02-20 12:37:03 +00:00 committed by Gerrit Code Review
commit a588c7bab4
2 changed files with 12 additions and 10 deletions

View File

@ -53,16 +53,17 @@
tags:
- lxc-containers-create
# TODO(evrardjp): Remove host_need_pip in the future
# when the process building the repo is done before this step.
- name: Configure containers default software, but don't run pip yet
- name: Configure containers default software
hosts: all_lxc_containers
gather_facts: true
user: root
pre_tasks:
- include: common-tasks/set-upper-constraints.yml
- include: common-tasks/set-pip-upstream-url.yml
roles:
- role: "openstack_hosts"
vars:
host_need_pip: False
vars_files:
- defaults/repo_packages/openstack_services.yml
environment: "{{ deployment_environment_variables | default({}) }}"
tags:
- lxc-containers-create

View File

@ -41,17 +41,18 @@
tags:
- nspawn-containers-create
# TODO(evrardjp): Remove host_need_pip in the future
# when the process building the repo is done before this step.
- name: Configure containers default software, but don't run pip yet
- name: Configure containers default software
hosts: all_nspawn_containers
gather_facts: true
user: root
pre_tasks:
- include: common-tasks/set-upper-constraints.yml
- include: common-tasks/set-pip-upstream-url.yml
roles:
- role: "openstack_hosts"
is_container: true
vars:
host_need_pip: False
vars_files:
- defaults/repo_packages/openstack_services.yml
environment: "{{ deployment_environment_variables | default({}) }}"
tags:
- nspawn-containers-create