项目作者: mario-slowinski

项目描述 :
Ansible role to configure network installation server.
高级语言:
项目地址: git://github.com/mario-slowinski/netinstall.git
创建时间: 2021-06-24T16:23:57Z
项目社区:https://github.com/mario-slowinski/netinstall

开源协议:GNU General Public License v3.0

下载


netinstall

Ansible role to configure network installation server.

Requirements

Role Variables

  • defaults

    • main.yml

      1. netinstall_base: "" # base repo directory
      2. netinstall_password: "" # password used in kickstart
      3. netinstall_ntp: [] # list of NTP servers used in kickstart
      4. netinstall_pxe: {} # PXE server configuration
      5. netinstall_distros: # list of OS distributions for network install
      6. - "{{ centos }}"
      7. - "{{ rhel }}"
      8. - "{{ ol }}"
      9. - "{{ ubuntu }}"
      10. - "{{ opensuse }}"
      11. - "{{ solaris }}"
    • httpd.yml

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

    1. <ansible_os_family>_mount: {} # iso and loopback mount attributes
    2. <ansible_os_family>_httpd: {} # attributes of files presented by httpd
    3. <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

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

    1. - hosts: servers
    2. gather_facts: true # to get ansible_os_family
    3. roles:
    4. - role: netinstall

License

GPL-3.0

Author Information

mario.slowinski@gmail.com