Renaming it, because in addition to hardening SSH, this will create an admin user on your machine (SSH will be locked down such that it will only work for that user).
Re: easier to use - it should be a general role which can be re-used for all groups in the inventory (the user should supply a group name when they want to use the role). The manual changes that are required before running the role should also be easier to do (separate the ansible user into a variable file or something).
Renaming it, because in addition to hardening SSH, this will create an
admin
user on your machine (SSH will be locked down such that it will only work for that user).Re: easier to use - it should be a general role which can be re-used for all groups in the inventory (the user should supply a group name when they want to use the role). The manual changes that are required before running the role should also be easier to do (separate the ansible user into a variable file or something).
Maybe add some arg parsing to the bash script, like this: https://stackoverflow.com/a/33826763
deploy.sh:
Usage: