Created
November 1, 2019 04:38
-
-
Save icarrr/a51090419005fa2505af6a87d512d4eb to your computer and use it in GitHub Desktop.
Search and Replace string using ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
tasks: | |
- name: Search and Replace string | |
shell: for i in /home/sibunglon/*yml; do sed -i 's/search/replace/g' "$i"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment