Skip to content

Error in parted task #4

@maykel535

Description

@maykel535

Hi, I love archlinux and ansible. I try install archlinux in VM but I get this error:

fatal: [maykel]: FAILED! => {
    "changed": false,
    "err": "Error: Partition(s) 2 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.\n",
    "invocation": {
        "module_args": {
            "align": "optimal",
            "device": "/dev/sda",
            "flags": [
                "boot",
                "esp"
            ],
            "label": "gpt",
            "name": "boot",
            "number": 1,
            "part_end": "512MB",
            "part_start": "0%",
            "part_type": "primary",
            "state": "present",
            "unit": "KiB"
        }
    },
    "msg": "Error while running parted script: /usr/bin/parted -s -m -a optimal /dev/sda -- unit KiB mklabel gpt mkpart primary 0% 512MB",
    "out": "",
    "rc": 1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions