Subject: [ansible-project] gather_facts:  ansible_hostname only

The following works on the command line, but I can't seem to find the right
syntax to put it into a playbook:
root@ansible:/playbooks # ansible -m setup -a 'filter=ansible_hostname'
ansible-oel6 | SUCCESS => {
    "ansible_facts": {
        "ansible_hostname": "ansible-oel6"
    "changed": false

On Tuesday, January 23, 2018 at 10:42:52 AM UTC-7, John Harmon wrote:

To post to this group, send email to [EMAIL PROTECTED].