Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
"TASK:" only showing "[command]"
14 views
Skip to first unread message
Dana Christo
unread,
Jun 13, 2016, 4:38:13 PM
6/13/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
I'm trying to create a playbook to print "hello world". Here is my playbook:
---
-
hosts
:
all
tasks
:
-
shell
:
echo
"hello world"
When I run
ansible-playbook -i "localhost," -c local hello world.yml
I get the following output:
But shouldn't TASK: [command] ************** be
TASK: [shell echo "hello world"] ********* ?
Brian Coca
unread,
Jun 13, 2016, 4:39:15 PM
6/13/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
No, in >=2.0 the task name by default does not include all the options passed as it could disclose sensitive information.
----------
Brian Coca
Dana Christo
unread,
Jun 14, 2016, 1:11:12 PM
6/14/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Thanks! Is there a way to change that?
Brian Coca
unread,
Jun 14, 2016, 1:20:47 PM
6/14/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
display_args_to_stdout in ansible.cfg
----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages