Write Roles Ansible:
- Create user.
- Disable SSH Password log in.
- Grant
sudo
permission for user. - Add Authorized Key for user ssh by
ssh-key
.
Write Roles Ansible:
- Install DHCP Server (Both
Ubuntu
&CentOS
). - Config DNS for domains:
- test1.com - 1.2.3.4
- test2.com - 1.2.3.4