Help with filesystem module and apt_key

17 views
Skip to first unread message

Shyam Yenna

unread,
Jan 8, 2017, 2:08:07 PM1/8/17
to Ansible Project
I am trying to format attached volume of an instances it is throwing an error below.

    "changed": false,
    "failed": true,
    "invocation": {
        "module_args": {
            "dev": "/dev/xvdf",
            "force": false,
            "fstype": "ext4",
            "opts": "-t",
            "resizefs": false
        },
        "module_name": "filesystem"
    },
    "msg": "Device /dev/xvdf not found."
}

when type lsblk command instance displays volume.

Similary when i am trying to use apt_key module it is not changing anything on new instances simple changed flag is false.

Thanks in advance

sam
Reply all
Reply to author
Forward
0 new messages