Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Deprecate containerized_undercloud var, add use_heat instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjeanner committed Oct 1, 2018
1 parent 99b1087 commit 1f4cee0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,13 @@ undercloud_config:
- file (string)
- content (string)
*containerized_undercloud*
*containerized_undercloud* **DEPRECATED**
Boolean
*use_heat*
Whether to add `--use-heat` to undercloud install command (Boolean).
Defaults "no"

*ci_tools*
Install CI tools (Boolean)

Expand Down
8 changes: 4 additions & 4 deletions roles/undercloud/tasks/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
become: yes
become_user: stack
block:
- name: deploy containerized undercloud
when: containerized_undercloud|bool
- name: "deploy undercloud (explicit --use-heat)"
when: use_heat|bool
command: openstack undercloud install --use-heat
args:
creates: /home/stack/stackrc
chdir: /home/stack

- name: deploy baremetal undercloud
when: not containerized_undercloud|bool
- name: deploy undercloud
when: not use_heat|bool
command: openstack undercloud install
args:
creates: /home/stack/stackrc
Expand Down
3 changes: 1 addition & 2 deletions roles/undercloud/vars/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ overcloud_images:
content: ironic-python-agent.kernel
- file: overcloud-full.tar
content: overcloud-full.qcow2

containerized_undercloud: yes
use_heat: no
ci_tools: yes
deploy_undercloud: yes
deploy_overcloud: no
Expand Down

0 comments on commit 1f4cee0

Please sign in to comment.