JP Mens on Nostr: Put this in your #ansible wrapper: echo -n "$@" | grep -q -- "-v" && export ...
Put this in your #ansible wrapper:
echo -n "$@" | grep -q -- "-v" && export ANSIBLE_STDOUT_CALLBACK=yaml
You're welcome. :)
Published at
2024-02-19 13:48:57Event JSON
{
"id": "a9b0d3b49b9491dd739e0f430b6bd6c38d9157dc5d8feba57c68ba83ad30ac19",
"pubkey": "4421e6f8f57df36e663f1a4568344196e61ea62eb94203c9c02d83bcb3eb9c66",
"created_at": 1708350537,
"kind": 1,
"tags": [
[
"t",
"ansible"
],
[
"proxy",
"https://mastodon.social/users/jpmens/statuses/111958460800106036",
"activitypub"
]
],
"content": "Put this in your #ansible wrapper:\n\necho -n \"$@\" | grep -q -- \"-v\" \u0026\u0026 export ANSIBLE_STDOUT_CALLBACK=yaml\n\nYou're welcome. :)\n\nhttps://files.mastodon.social/media_attachments/files/111/958/458/462/806/697/original/2b4ceac6b067f305.png",
"sig": "fbc22b4b2583aac5f9d4abc5531c626261196ed056325d8fa37092cb3858e00eb0cc2649b1e45c2ee51e0935acceaa5b9a47aa131514f19e4fcccd714041cada"
}