Trying to generate a report that shows the mount.device, mount.mount and mount.size_total information. Playbook runs without errors as long as I do not include anything that contains an underscore. For instance, if i remove the size_total – works. Add in size_total or inode_total or block_size it makes with the following error.
failed | msg: The task includes an option with an undefined variable. The error was: ‘dict object’ has no attribute ‘size_total’
Ran the playbook without the size_total – playbook works. Ran playbook with size_total – playbook fails. Ran the playbook with block_used – fails.
What I expect with size_total added:
localhost,/dev/mapper/sda1,/boot,533377024
What i get
failed | msg: The task includes an option with an undefined variable. The error was: ‘dict object’ has no attribute ‘size_total’
picklefeet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.