Im trying parted, lvg, lvol and filesystem modules on Ansible.
I have an error with a debug task:
- name: lvm debug
debug:
msg: "{{ ansible_lvm }}"
The error is:
fatal: [nfs_server]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible_lvm' is undefined\n\nThe error appears to be in ...
I thought ansible_lvm was gathered during facts gathering since I don't have gathering disabled.
My custom ansible.cfg (put in the playbook folder) is as follow:
[defaults]
host_key_checking= False
callbacks_enabled = profile_tasks
pipelining= True
Thank you