Ansible role to configure network installation server.
-
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
- 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
-
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