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:
dest: /home/ansible/test.txt
regexp: 'row'
insertbefore: BOF
line: 'purple'
state: present
register: foundstuff
- debug: var=foundstuff
--
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/8d0f0de4-40df-4d0d-8e1a-1e0c626f21d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.