ソースを参照

Update package_installation.yml

Signed-off-by: abhishek-sa1 <abhishek.sa3@dell.com>
abhishek-sa1 3 年 前
コミット
a9c6fe889e

+ 4 - 7
control_plane/roles/control_plane_common/tasks/package_installation.yml

@@ -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");
 #  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
 #  limitations under the License.
 ---
-- name: Install packages
+- name: Install packages - leap
   zypper:
     name: "{{ common_packages_leap }}"
     state: present
-  tags: install
   when: ( os_supported_leap in mgmt_os ) and ( ansible_distribution_version >= os_supported_leap_version )
 
-- name: Install packages
+- name: Install packages - rocky
   package:
     name: "{{ common_packages }}"
     state: present
-  tags: install
   when:
     - ( 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 )
 
 - name: Install netaddr
   command: pip3 install netaddr
-  tags: install
-  changed_when: false
+  changed_when: false