|
@@ -1,4 +1,4 @@
|
|
-# Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
|
|
|
|
|
|
+# Copyright 2022 Dell Inc. or its subsidiaries. All Rights Reserved.
|
|
#
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# you may not use this file except in compliance with the License.
|
|
@@ -12,23 +12,20 @@
|
|
# See the License for the specific language governing permissions and
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
# limitations under the License.
|
|
---
|
|
---
|
|
-- name: Install packages
|
|
|
|
|
|
+- name: Install packages - leap
|
|
zypper:
|
|
zypper:
|
|
name: "{{ common_packages_leap }}"
|
|
name: "{{ common_packages_leap }}"
|
|
state: present
|
|
state: present
|
|
- tags: install
|
|
|
|
when: ( os_supported_leap in mgmt_os ) and ( ansible_distribution_version >= os_supported_leap_version )
|
|
when: ( os_supported_leap in mgmt_os ) and ( ansible_distribution_version >= os_supported_leap_version )
|
|
|
|
|
|
-- name: Install packages
|
|
|
|
|
|
+- name: Install packages - rocky
|
|
package:
|
|
package:
|
|
name: "{{ common_packages }}"
|
|
name: "{{ common_packages }}"
|
|
state: present
|
|
state: present
|
|
- tags: install
|
|
|
|
when:
|
|
when:
|
|
- ( mgmt_os == os_supported_centos ) and ( ansible_distribution_version >= os_supported_centos_version ) or
|
|
- ( mgmt_os == os_supported_centos ) and ( ansible_distribution_version >= os_supported_centos_version ) or
|
|
( mgmt_os == os_supported_rocky ) and ( ansible_distribution_version >= os_supported_rocky_version )
|
|
( mgmt_os == os_supported_rocky ) and ( ansible_distribution_version >= os_supported_rocky_version )
|
|
|
|
|
|
- name: Install netaddr
|
|
- name: Install netaddr
|
|
command: pip3 install netaddr
|
|
command: pip3 install netaddr
|
|
- tags: install
|
|
|
|
- changed_when: false
|
|
|
|
|
|
+ changed_when: false
|