Perfect. Thanks Matt! I am really horrible at regexp. I totally missed
grouping it. I tested it and it works. Thanks again.
On Thursday, September 21, 2017 at 12:18:20 PM UTC-6, Matt Martz wrote:
>
> You haven't actually created a match group in your regex. I assume you
> want something li
You haven't actually created a match group in your regex. I assume you
want something like ^(group.*) or something. The () create the match group.
On Thu, Sep 21, 2017 at 1:13 PM, John Harmon
wrote:
> I am trying to append to some lines within the nsswitch file to setup
> sssd. I am trying th
I am trying to append to some lines within the nsswitch file to setup
sssd. I am trying this with the loop below, but I have never used backrefs
before. I am unsure if I am doing it correctly. I get an error about an
invalid group reference. I wonder if my regexp is wrong?
Code
- name: Upda