<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>38935</bug_id>
          
          <creation_ts>2020-09-14 16:57:53 +0300</creation_ts>
          <short_desc>Не работает модуль parted</short_desc>
          <delta_ts>2020-09-15 15:23:46 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>ansible</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>192470</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2020-09-14 16:57:53 +0300</bug_when>
    <thetext>Запуск плейбука с использованием модуля parted завершается ошибкой:

fatal: [localhost]: FAILED! =&gt; {
    &quot;changed&quot;: false,
    &quot;invocation&quot;: {
        &quot;module_args&quot;: {
            &quot;align&quot;: &quot;optimal&quot;,
            &quot;device&quot;: &quot;/dev/sdb&quot;,
            &quot;flags&quot;: null,
            &quot;label&quot;: &quot;msdos&quot;,
            &quot;name&quot;: null,
            &quot;number&quot;: 1,
            &quot;part_end&quot;: &quot;100%&quot;,
            &quot;part_start&quot;: &quot;0%&quot;,
            &quot;part_type&quot;: &quot;primary&quot;,
            &quot;state&quot;: &quot;present&quot;,
            &quot;unit&quot;: &quot;KiB&quot;
        }
    },
    &quot;msg&quot;: &quot;Failed to get parted version.&quot;,
    &quot;out&quot;: &quot;parted (GNU parted) 3.2.46-e4ae\nCopyright (C) 2014 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;.\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 &lt;http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS&gt;.\n&quot;,
    &quot;rc&quot;: 0
}

Таск:

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

Версия пакета: ansible-2.9.10-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>