If there is a complete chroot environment under /mnt/pxe, you could configure a new ansible user to always log into a chrooted environment, using a sshd_config file and these two lines:
Match User new_ansible_user
ChrootDirectory /mnt/pxe
Then use ansible normally under that special user.
But that seems overkill, it would be easier to script the
password change locally with mkpassword and some text
manipulation.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e1b08699-09ab-4ae8-b8dc-7ebe3aef0bdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.