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