Remove legacy tags.
ypid opened this issue · 3 comments
ypid commented
This command comes in handy. Just tried it and changes:
- role: ypid.apparmor
- tags: [ 'role::apparmor', 'apparmor' ]
+ tags: [ 'role::apparmor' ]
git ls-files | xargs sed --in-place --regexp-extended "s/(tags: \[ 'role::[^']+?'), .* ]/\1 ]/"
drybjed commented
Thanks, good to know. I'll probably remove legacy tags in the near future when more roles are updated with their dependencies moved to playbooks.