Top "Ansible-ad-hoc" questions

How to pass a user / password in ansible command

I want to use Ansible as part of another Python software. in that software I have a hosts list with …

ssh ansible ansible-ad-hoc
Extract last character of string with ansible and regex_replace filter

In a playbook, I try to extract the last character of variable "ansible_hostname". I try to use regex_replace …

regex ansible ansible-ad-hoc
Use Ansible facts in an Ansible ad-hoc command

Is it possible to use what would normally be included in ansible_facts in an Ansible adhoc command? For example, …

ansible ansible-facts ansible-ad-hoc