We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trying to set up a system with 2 disks in mdadm raid, playbook gets to place templates in /etc and fails:
place templates in /etc
failed: [ip_address] (item={'src': 'fstab'}) => {"ansible_loop_var": "item", "changed": false, "item": {"src": "fstab"}, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'fs'"} changed: [ip_address => (item={'src': 'crypttab', 'dest': 'crypttab'})
I believe because /dev/sd{a,b}1 has no filesystem (it's a boot partition)
/dev/sd{a,b}1
~# lsblk -f NAME FSTYPE LABEL UUID MOUNTPOINT loop0 squashfs /lib/live/mount/rootfs/img.current.sq sda ├─sda1 └─sda2 linux_raid_ 163-172-251-100:root 5d8518c2-7589-668b-d736-6c8a724d21a5 └─md127 ext4 9a54cc12-4af5-43af-859b-59e23735ffbd /mnt/bootstrap sdb ├─sdb1 └─sdb2 linux_raid_ 163-172-251-100:root 5d8518c2-7589-668b-d736-6c8a724d21a5 └─md127 ext4 9a54cc12-4af5-43af-859b-59e23735ffbd /mnt/bootstrap
The text was updated successfully, but these errors were encountered:
my bad, this was a stray mount: / in the disks (not md) declaration:
mount: /
- device: '/dev/sda' partitions: - num: 1 size: 1M type: ef02 - num: 2 type: 8300 mount: /
Sorry, something went wrong.
No branches or pull requests
trying to set up a system with 2 disks in mdadm raid, playbook gets to
place templates in /etc
and fails:I believe because
/dev/sd{a,b}1
has no filesystem (it's a boot partition)The text was updated successfully, but these errors were encountered: