lvol module - depency problem parted/gparted

I have a task to resize a logical volume on a rhel8 target with the lvol module.

  1. I get prompted ‘Failed to find required executable parted’

  2. trying to install it with dnf module tells me ‘parted does not exist’

  3. trying gparted alternatively gives me a whole bndh of missing dependencies

msg: |-
Depsolve Error occured:
Problem: conflicting requests

  • nothing provides libglibmm-2.4.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86_64
  • nothing provides libsigc-2.0.so.0()(64bit) needed by gparted-1.2.0-1.el8.x86_64
  • nothing provides libgiomm-2.4.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86_64
  • nothing provides libparted.so.2()(64bit) needed by gparted-1.2.0-1.el8.x86_64
  • nothing provides libparted-fs-resize.so.0()(64bit) needed by gparted-1.2.0-1.el8.x86_64
  • nothing provides libparted-fs-resize.so.0(LIBPARTED_FS_RESIZE_0.0.0)(64bit) needed by gparted-1.2.0-1.el8.x86_64
  • nothing provides libatkmm-1.6.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86_64
  • nothing provides libcairomm-1.0.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86_64
  • nothing provides libgdkmm-3.0.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86_64
  • nothing provides libgtkmm-3.0.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86_64
  • nothing provides libpangomm-1.4.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86_64
    rc: 1
    results:

my understanding was that gparted the gui version of parted (but that easily might be worng understanding on my part)

can anybody point out where I am taking a wrong turn here and push me into the right direction?

parted package is available. You probably are doing something wrong
A "dnf update" and "dnf install parted" should work !

Regards,

Alright, that might be the right push. Seems it could be a matter of enabled repos on the target. I guess I'll have to look at the `enablerepo` paramter in order to solve this

thx

> >
> > parted package is available. You probably are doing something wrong
> > A "dnf update" and "dnf install parted" should work !

Alright, that might be the right push. Seems it could be a matter of enabled repos on the target. I guess I'll have to look at the `enablerepo` paramter in order to solve this

seems I can not get it working though

tasks

  - name: install gparted & xfsprogs on target
    dnf:
      name:
        - parted
      enablerepo: rhel-8-for-x86_64-baseos-rpms
      state: present
    become: yes

still does not seem to work "failures: No package parted available." (and "rhel-8-for-x86_64-baseos-rpms" seems to be the repo needed)

Try using properties "update_cache" to "yes" for your dnf module use

Regards,

JYL