All of lore.kernel.org
 help / color / mirror / Atom feed
From: cel@kernel.org
To: <kdevops@lists.linux.dev>
Cc: Chuck Lever <chuck.lever@oracle.com>
Subject: [RFC PATCH 07/22] devconfig: Replace the use of the community.general.zypper module
Date: Fri, 12 Apr 2024 13:46:40 -0400	[thread overview]
Message-ID: <20240412174655.722290-8-cel@kernel.org> (raw)
In-Reply-To: <20240412174655.722290-1-cel@kernel.org>

From: Chuck Lever <chuck.lever@oracle.com>

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 .../tasks/install-deps/suse/main.yml          | 31 ++++++++++---------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/playbooks/roles/devconfig/tasks/install-deps/suse/main.yml b/playbooks/roles/devconfig/tasks/install-deps/suse/main.yml
index 5c7233709463..60ddf5b4f128 100644
--- a/playbooks/roles/devconfig/tasks/install-deps/suse/main.yml
+++ b/playbooks/roles/devconfig/tasks/install-deps/suse/main.yml
@@ -231,9 +231,8 @@
 - name: Do full upgrade
   become: yes
   become_method: sudo
-  zypper:
-    state: dist-upgrade
-    name: '*'
+  ansible.builtin.command:
+    cmd: "zypper dist-upgrade '*'"
   when:
     - repos_will_be_added|bool
     - devconfig_try_upgrade|bool
@@ -249,7 +248,7 @@
 - name: Install nvme tools
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - nvme-cli
     state: present
@@ -261,7 +260,7 @@
 - name: Install fio when possible
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - fio
     state: present
@@ -273,7 +272,7 @@
 - name: Install git-core when possible
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - git-core
     state: present
@@ -285,7 +284,7 @@
 - name: Install git when possible
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - git
     state: present
@@ -297,7 +296,7 @@
 - name: Install xfsdump when possible
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - xfsdump
     state: present
@@ -309,7 +308,7 @@
 - name: Install packages on newer distro when possible
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - bison
       - libaio-devel
@@ -324,7 +323,7 @@
 - name: Install packages not available on sle11 or sle10
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - dump
       - flex
@@ -340,7 +339,7 @@
 - name: Install packages we typically care about
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - e2fsprogs
       - xfsprogs
@@ -383,7 +382,7 @@
 - name: Install snmp
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - net-snmp
   when:
@@ -432,7 +431,7 @@
 - name: Install kdump
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - kdump
   when:
@@ -539,9 +538,10 @@
 - name: Install systemd-journal-remote
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - systemd-journal-remote
+    state: present
   when:
     - devconfig_enable_systemd_journal_remote|bool
     - repos_will_be_added|bool
@@ -550,9 +550,10 @@
 - name: Install systemd-timesyncd
   become: yes
   become_method: sudo
-  zypper:
+  ansible.builtin.package:
     name:
       - systemd-timesyncd
+    state: present
   when:
     - devconfig_enable_systemd_timesyncd|bool
     - repos_will_be_added|bool
-- 
2.44.0


  parent reply	other threads:[~2024-04-12 17:47 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12 17:46 [RFC PATCH 00/22] Replace community.general.zypper cel
2024-04-12 17:46 ` [RFC PATCH 01/22] blktests: Replace the use of community.general.zypper cel
2024-04-12 17:46 ` [RFC PATCH 02/22] bootlinux: Replace the use of the community.general.zypper module cel
2024-04-12 17:46 ` [RFC PATCH 03/22] btrfs_progs: " cel
2024-04-12 17:46 ` [RFC PATCH 04/22] build-qemu: " cel
2024-04-12 17:46 ` [RFC PATCH 05/22] create_partition: " cel
2024-04-12 17:46 ` [RFC PATCH 06/22] cxl: " cel
2024-04-12 17:46 ` cel [this message]
2024-04-12 17:46 ` [RFC PATCH 08/22] kotd-rev-kernel: " cel
2024-04-12 17:46 ` [RFC PATCH 09/22] fstests: " cel
2024-04-12 17:46 ` [RFC PATCH 10/22] fstests_prep_localhost: Replace the use of the community.general zypper module cel
2024-04-12 17:46 ` [RFC PATCH 11/22] install-menuconfig-deps: Replace the use of the community.general.zypper module cel
2024-04-12 17:46 ` [RFC PATCH 12/22] install_systemd_journal: " cel
2024-04-12 17:46 ` [RFC PATCH 13/22] install_systemd_timesyncd: " cel
2024-04-12 17:46 ` [RFC PATCH 14/22] install_terraform: " cel
2024-04-12 17:46 ` [RFC PATCH 15/22] install_vagrant: " cel
2024-04-12 17:46 ` [RFC PATCH 16/22] kdc: " cel
2024-04-12 17:46 ` [RFC PATCH 17/22] krb5: " cel
2024-04-12 17:46 ` [RFC PATCH 18/22] ktls: " cel
2024-04-12 17:46 ` [RFC PATCH 19/22] libvirt_user: " cel
2024-04-12 17:46 ` [RFC PATCH 20/22] nfsd: " cel
2024-04-12 17:46 ` [RFC PATCH 21/22] pynfs: " cel
2024-04-12 17:46 ` [RFC PATCH 22/22] selftests: " cel
2024-04-12 18:30 ` [RFC PATCH 00/22] Replace community.general.zypper Luis Chamberlain
2024-04-15 14:39   ` Chuck Lever III
2024-04-15 20:32     ` Goldwyn Rodrigues
2024-04-15 21:11       ` Chuck Lever
2024-04-15 21:35         ` Goldwyn Rodrigues
2024-04-15 21:41           ` Chuck Lever III
2024-04-15 22:38             ` Anthony Iliopoulos
2024-04-17 16:57               ` Chuck Lever III
2024-04-17 18:39                 ` Anthony Iliopoulos
2024-04-17 18:48                   ` Chuck Lever III
2024-04-17 18:48                     ` Chuck Lever III
2024-04-17 19:12                     ` Anthony Iliopoulos
2024-04-17 16:50 ` Chuck Lever III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240412174655.722290-8-cel@kernel.org \
    --to=cel@kernel.org \
    --cc=chuck.lever@oracle.com \
    --cc=kdevops@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.