Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
win_lineinfile | Regex
17 views
Skip to first unread message
Tiago Pimpão
unread,
Feb 26, 2018, 10:50:03 AM
2/26/18
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
Hi,
I need to update a property in a file but the value i need to write depend of the
inventory_hostname.
If the hostname is
ABCAPP1.MYDOMAIN.COM
the value i need to write is APP1
If the hostname is
ABCDB1.MYDOMAIN.COM
the value i nedd to write is DB1
How can i do this?
Thanks,
TP
Reply all
Reply to author
Forward
0 new messages