Prevent autoremoval of packages on bare metal

When deploying OSA on bare metal (no container tech),
the os keystone role interferes with os horizon as the
package apache2 is automatically uninstalled.

Change-Id: Ifec88251712a99ad7afbb51e386adf15bc4841eb
Closes-Bug: #1830397
This commit is contained in:
Bjoern Teipel 2019-05-24 10:24:36 -05:00
parent 3c0ee62696
commit ae6c1982ec
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@
newuse: "{{ (ansible_pkg_mgr == 'portage') | ternary('yes', omit) }}"
changed_use: "{{ (ansible_pkg_mgr == 'portage') | ternary('yes', omit) }}"
noreplace: "{{ (ansible_pkg_mgr == 'portage') | ternary('yes', omit) }}"
when: "(is_metal is undefined) or
not (is_metal | bool)"
- name: Install distro packages
package: