/netinstall

Ansible role to configure network installation server.

GNU General Public License v3.0GPL-3.0

netinstall

Ansible role to configure network installation server.

Requirements

Role Variables

  • defaults

    • main.yml

      netinstall_base: ""           # base repo directory
      netinstall_password: ""       # password used in kickstart
      netinstall_ntp: []            # list of NTP servers used in kickstart
      netinstall_pxe: {}            # PXE server configuration
      netinstall_distros:           # list of OS distributions for network install
        - "{{ centos }}"
        - "{{ rhel }}"
        - "{{ ol }}"
        - "{{ ubuntu }}"
        - "{{ opensuse }}"
        - "{{ solaris }}"
    • httpd.yml

      netinstall_VirtualHosts: {}   # httpd configuration, mainly DocumentRoot
  • vars

    <ansible_os_family>_mount: {} # iso and loopback mount attributes
    <ansible_os_family>_httpd: {} # attributes of files presented by httpd
    <ansible_os_family>_tftpd: {} # attributes of files presented by tftpd

Dependencies

Tags

  • netinstall.image
    • netinstall.image.directory
    • netinstall.image.download
  • netinstall.mount
    • netinstall.mount.repo
    • netinstall.mount.pxe
  • netinstall.pxe
    • netinstall.pxe.directory
    • netinstall.pxe.menu
    • netinstall.pxe.kickstart
  • netinstall.clean

Example Playbook

  • requirements.yml

    - name: netinstall
      src: https://github.com/mario-slowinski/netinstall
  • playbook usage

    - hosts: servers
      gather_facts: true  # to get ansible_os_family
    
      roles:
        - role: netinstall

License

GPL-3.0

Author Information

mario.slowinski@gmail.com