Ansible roles for a common sensible base configuration for all machines. Should support RHEL/Debian/SuSE/Solaris/HPUX/Ubuntu Linux.
The Base host configuration should perform the following tasks:
- ntp – configure NTP settings based on common configuration
- ssh – configure SSH security, service, key settings
- Package Yum / repo – configure Operating System native package manager to operate against internal HPE resources and/or externally-available resources (like ftp.debian.org).
I am new to creating Ansible Roles. I haven't tried anything yet, looking for guidance.
- name: restart ntp
service:
name: ntp
state: restarted
- name: restart sshd
service:
name: sshd
state: restarted