Provide error log
Le 12/03/2019 à 22:19, Deepak Sharma a écrit :
can someone help me..??
On Wednesday, March 13, 2019 at 12:30:08 AM UTC+5:30, Deepak Sharma
wrote:
this is my host file.
# cat /tmp/node/test.new
[masters]
1234.abc.com <http://1234.abc.com>
[nodes]
453.abc.com <http://453.abc.com>
openshift_node_labels,22,="{'region': 'us_midwest', 'datacenter':
'ctc', 'zone': 'core', 'environment': 'nonprod',
'logging-infra-fluentd': 'true'}"
678abc.com <http://678abc.com>
openshift_node_labels,22,="{'region': 'us_midwest', 'datacenter':
'ctc', 'zone': 'core', 'environment': 'nonprod',
'logging-infra-fluentd': 'true'}"
#
and i want to delete 453.abc.com <http://453.abc.com> whole line
from /tmp/node/test.new
with below syntax but getting error, can some one help me
lineinfile: dest=/tmp/node/test.new
regexp='^{{ansible_hostname}}$'
state=absent
but getting error
--
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 [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/cbd53d0a-f87c-430f-ac5d-265837f08091%40googlegroups.com
<https://groups.google.com/d/msgid/ansible-project/cbd53d0a-f87c-430f-ac5d-265837f08091%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/bf3d5cdf-4eb7-4339-17a9-543fdc9bfef3%40lenhof.eu.org.
For more options, visit https://groups.google.com/d/optout.