fe1519e666
The AIO bootstrap should not need to use anything from the special cloud repositories. It should just simply use the base OS and only things available in the base OS. Having to add the extra repositories in the AIO bootstrap would mean that deployers would need to add them themselves for production, and this is not what our docs tell them. The openstack-hosts playbook will set these up correctly when the time is right. By removing this we test the promise that deployers don't need these pre-setup, and we also reduce var definition duplication for the RDO and OBS repositories. Change-Id: I2bcf1cb9f9526d61ce0ae9fb092c6b5b3baa3bbb
31 lines
930 B
YAML
31 lines
930 B
YAML
---
|
|
# Copyright 2015, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
- name: Remove known problem packages
|
|
package:
|
|
name: "{{ packages_remove }}"
|
|
state: absent
|
|
tags:
|
|
- remove-packages
|
|
|
|
- name: Install packages
|
|
package:
|
|
name: "{{ packages_install }}"
|
|
state: present
|
|
update_cache: "{{ (ansible_pkg_mgr in ['apt', 'zypper']) | ternary('yes', omit) }}"
|
|
tags:
|
|
- install-packages
|
|
|