Hey Ansible gurus, need your help here...
Just googled around and was not able to find a satisfactory answer to the following:
- I have a file and want to insert in the beginning of each line the # character
- No matter if it has 10 lines or 1000 lines
- The final goal would be to no matter which file I said so, will add # to the beginning of line
Maybe Ansible is not the proper tool to do it... I searched throughout Ansible docs and community webpages and was not able to find an example...
Am I doing something wrong? Again, is not the tool to it?
What would be your experience with such situation? Did you managed to simple use shell module and do it?
Please share your findings with me