ansible all -m shell -a "fdisk -l" ansible all -m filesystem -a 'fstype=ext4 dev=/dev/sdc' ansible all -m shell -a "blkid /dev/sdc |awk '{print \$2}'| xargs -I {} echo '{} /var/lib/docker ext4 defaults 0 0' >> /etc/fstab" ansible all -m shell -a "mkdir /var/lib/docker; mount -a " ansible all -m shell -a "df -hT"