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