Team,
stdout line as shown below.
"stdout": "var1:value1, var2:value2, var3:value3"
I Would like to extract value3 from stdout , does it works with regexp or
any other way to do this? pls suggest ..
--
You received this message because you are subscribed to the Google Groups
"Ansible Developm
Team,
stdout line as shown below.
"stdout": "var1:value1, var2:value2, var3:value3"
I Would like to extract value3 from stdout , does it works with regexp or
any other way to do this? pls suggest ..
--
You received this message because you are subscribed to the Google Groups
"Ansible Developm
Team,
During ansible play one of the debug variable as shown below
ok: [hostname] => {
"variable name": [
"value"
]
}
/tmp/"{{value}}" ==> /tmp/\"[u'value']\"
I want to use only value instead of u, \, [] now and expecting output as
/tmp/value ; please suggest...
--
Hi Team,
Do we have any limit of line text in lineinfile module (text contains .,",-
and space characters ) and also alternate way to combine the text , please
suggest !!
--
You received this message because you are subscribed to the Google Groups
"Ansible Development" group.
To unsubscribe
Hi Team,
Do we have any limit of line text in lineinfile module (text contains .,",-
and space characters ) and also alternate way to combine the text , please
suggest !!
--
You received this message because you are subscribed to the Google Groups
"Ansible Development" group.
To unsubscribe
I'm able to do with import_playbook module ..
On Thursday, 18 February 2021 at 11:52:16 UTC+5:30 Heman Malve wrote:
> Team,
>
> Requirement is ,
> 1)define main yaml file with - hosts: localhost (its just execution in
> localhost) and should contain ~10 yaml file
Team,
Requirement is ,
1)define main yaml file with - hosts: localhost (its just execution in
localhost) and should contain ~10 yaml files which will perform individual
activities based upon hosts {remote servers} entry
I have tried using tasks, name & other modules but not succeeded.
main.y
e of the file" but connecting to a bunch of
> servers, changing a few files and restarting their services is the bread &
> butter of ansible and definitely doable without needing to use python at
> all.
>
> On Thu, Jan 21, 2021 at 9:33 AM Heman Malve wrote:
>
>>
Hi Team,
One of the file contains list of servers(centralized server) and related
to Dev environment .
Requirement is that connect each and every server remotely , execute stop
command(s )of respective services and do manipulation of 2 or 3 conf files(
add & remove lines) , start the services
sion :/users/java/jdkx.x.x_xxx
Would like to extract string jdkx.x.x_xxx from above line (2)
tried couple of ways to extract string using regex_search/regex_findall but
not succeeded. Could you please suggest here? Thanks .
Regards
Heman Malve
--
You received this message because you are subscribe
10 matches
Mail list logo