Ah I didnt see the bit at the bottom. Thanks
>
--
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 ansible-project+unsubscr...@googlegroups.com.
To post to
On 02. juni 2017 18:54, Anfield wrote:
Ive read both. Its still not clear to me how to do an anywhere match on a
string
OK, but did you read my entire answer?
The answer to your question is in it.
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google
Found the answer, from the below list, purple replaced brown with the
> playbook further below
crimson
blahstuffcans
buns
buns
grey
purple
orange
grey
grey
%jabba%
jabba1
Below replaced brown with purple for example
---
- hosts: local
tasks:
- name: Line In File
lineinfile:
Ive read both. Its still not clear to me how to do an anywhere match on a
string
>
--
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
On 02. juni 2017 17:55, Anfield wrote:
How do I do an anywhere match for a string and replace with some text?
The below playbook doesnt work. But just looking for example to search for
part of green - reen and replace this with jabba.
How do I do that? Thanks
I suggest reading about regexp
How do I do an anywhere match for a string and replace with some text?
The below playbook doesnt work. But just looking for example to search for
part of green - reen and replace this with jabba.
How do I do that? Thanks
List
red
blahstuffcans
buns
buns
grey
green
brown
red
grey
grey