Bug 38935

Summary: Не работает модуль parted
Product: Sisyphus Reporter: Alexander Makeenkov <amakeenk>
Component: ansibleAssignee: Andrey Cherepanov <cas>
Status: ASSIGNED --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: cas
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Alexander Makeenkov 2020-09-14 16:57:53 MSK
Запуск плейбука с использованием модуля parted завершается ошибкой:

fatal: [localhost]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "align": "optimal",
            "device": "/dev/sdb",
            "flags": null,
            "label": "msdos",
            "name": null,
            "number": 1,
            "part_end": "100%",
            "part_start": "0%",
            "part_type": "primary",
            "state": "present",
            "unit": "KiB"
        }
    },
    "msg": "Failed to get parted version.",
    "out": "parted (GNU parted) 3.2.46-e4ae\nCopyright (C) 2014 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nWritten by <http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.\n",
    "rc": 0
}

Таск:

- name: Create partition on disk /dev/sdb
  parted:
    device: /dev/sdb
    number: 1
    state: present

Версия пакета: ansible-2.9.10-alt1