Skip to content
Snippets Groups Projects
Commit b1fa5aa9 authored by nimrod's avatar nimrod
Browse files

- A little better code snippet, include renamming role name.

parent 87147913
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,9 @@ it:
git clone https://www.shore.co.il/git/ansible-role-example ansible-role-name
cd ansible-role-name
for file in $(git grep -l ansible-role-example); do sed -i 's/ansible-role-example/ansible-role-name/g' $file; done
git add .
git commit -m"- Renamed ansible-role-example to ansible-role-name."
git remote rename origin ansible-role-example
git remote add origin git@example.com/path/to/repo
git push -u origin master
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment