Drop OVN package installation from ovn_config
OVN packages are isntalled as a part of common package installation as they're appended during neutron_package_list population. So there should be no need in having another set of tasks that install these packages. Change-Id: I119dd30b6e11e9ba373367a1b65d56d723ef0b45
This commit is contained in:
parent
d58bdb151a
commit
d0c37ede9f
@ -14,32 +14,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Install ovn-northd packages
|
||||
package:
|
||||
name: "{{ neutron_ovn_northd_distro_packages }}"
|
||||
state: "{{ neutron_package_state }}"
|
||||
update_cache: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary('yes', omit) }}"
|
||||
cache_valid_time: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary(cache_timeout, omit) }}"
|
||||
register: install_packages
|
||||
until: install_packages is success
|
||||
retries: 5
|
||||
delay: 2
|
||||
when:
|
||||
- neutron_services['neutron-ovn-northd']['group'] in group_names
|
||||
|
||||
- name: Install ovn-controller packages
|
||||
package:
|
||||
name: "{{ neutron_ovn_controller_distro_packages }}"
|
||||
state: "{{ neutron_package_state }}"
|
||||
update_cache: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary('yes', omit) }}"
|
||||
cache_valid_time: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary(cache_timeout, omit) }}"
|
||||
register: install_packages
|
||||
until: install_packages is success
|
||||
retries: 5
|
||||
delay: 2
|
||||
when:
|
||||
- neutron_services['neutron-ovn-controller']['group'] in group_names
|
||||
|
||||
- name: Configure ovn-controller
|
||||
template:
|
||||
src: ovn-controller-opts.j2
|
||||
|
Loading…
x
Reference in New Issue
Block a user