No Description

Edin Sarajlic 4247cb5d39 README: clarify that files are 'tasks', and what they achieve. 1 year ago
defaults 310aa0fd7e Refactor: do not hardcode cobbler home directory as /home/cobbler ; allow user to override with variable cobbler_home (defaults to /opt/cobbler) 4 years ago
handlers f1d8598a5c Initial commit 5 years ago
tasks 2fed972d15 Remove Debian 8/Jessie provisioning support 1 year ago
templates 2fed972d15 Remove Debian 8/Jessie provisioning support 1 year ago
README 4247cb5d39 README: clarify that files are 'tasks', and what they achieve. 1 year ago

README

An Ansible role to install and configure Cobbler (PXE server) onto a Ubuntu 14.04 machine

Clone this git repo into your Ansible's role directory, e.g.:

git clone ansible-cobbler.git roles/cobbler

In addition, the role comes with some additional tasks:
- tasks/create_cobbler_user.yml
- tasks/setup_pxe_debian_stretch_amd64.yml
- tasks/setup_centos_6_x86_64.yml
- tasks/setup_ubuntu_1404_amd64.yml

These tasks are not referenced in main.yml (you need to reference them
in your Ansible Playbook)

The setup_pxe_debian_stretch_amd64 task will set up a Cobbler profile
(PXE configuration) for installing a minimal Debian Stretch amd64
instance. It requires that variables listed below are defined.

The setup_centos_6_x86_64 task will set up a Cobbler profile (PXE
configuration) for installing a minimal CentOS 6 x86_64 instance. It
requires that variables listed below are defined.

The setup_ubuntu_1404_amd64 task will set up a Cobbler profile (PXE
configuration) for installing a minimal Ubuntu 14.04 amd64
instance. It requires that variables listed below are defined.

For setting up CentOS 6.4:
cobbler_centos_6_x8664_mirror:
e.g. http://mirror.internode.on.net/pub/centos/
cobbler_centos_6_x8664_mirror_proxy:
e.g. http://polipo.lan:8123/
cobbler_centos_6_x8664_user_hashed_password
See http://www.crucial.com.au/blog/2011/06/29/centos-kickstart-files-encrypting-the-root-password/
cobbler_centos_6_x8664_keyboard
e.g. us
cobbler_centos_6_x8664_language
e.g. en_AU
cobbler_centos_6_x8664_timezone
e.g. Australia/Melbourne

For setting up Ubuntu 14.04:
cobbler_ubuntu_mirror
e.g. http://mirror.internode.on.net/pub/ubuntu/ubuntu
cobbler_ubuntu_1404_minimal_preseed_url
e.g. http://cobbler.lan/ubuntu/14.04/minimal.seed
cobbler_ubuntu_1404_di_language
e.g. en
cobbler_ubuntu_1404_di_country
e.g. AU
cobbler_ubuntu_1404_di_locale
e.g. en_AU.UTF-8
cobbler_ubuntu_1404_di_keymap
e.g. us
cobbler_ubuntu_1404_di_hostname
cobbler_ubuntu_1404_di_mirror_hostname
e.g. mirror.internode.on.net
cobbler_ubuntu_1404_di_mirror_directory
e.g. /pub/ubuntu/ubuntu
cobbler_ubuntu_1404_di_mirror_proxy
e.g. http://polipo.lan:8123/
cobbler_ubuntu_1404_di_timezone
e.g. Australia/Melbourne
cobbler_ubuntu_1404_di_partman_disk
e.g. /dev/vda
cobbler_ubuntu_1404_di_user_fullname
cobbler_ubuntu_1404_di_user_username
cobbler_ubuntu_1404_di_user_hashed_password
Password generated with mkpasswd -H MD5

For setting up Ubuntu 16.04:
cobbler_ubuntu_mirror
e.g. http://mirror.internode.on.net/pub/ubuntu/ubuntu
cobbler_ubuntu_1604_minimal_preseed_url
e.g. http://cobbler.lan/ubuntu/16.04/minimal.seed
cobbler_ubuntu_1604_di_language
e.g. en
cobbler_ubuntu_1604_di_country
e.g. AU
cobbler_ubuntu_1604_di_locale
e.g. en_AU.UTF-8
cobbler_ubuntu_1604_di_xdbkeymap
e.g. us
cobbler_ubuntu_1604_di_hostname
cobbler_ubuntu_1604_di_domain
cobbler_ubuntu_1604_di_mirror_hostname
e.g. mirror.internode.on.net
cobbler_ubuntu_1604_di_mirror_directory
e.g. /pub/ubuntu/ubuntu
cobbler_ubuntu_1604_di_mirror_proxy
e.g. http://polipo.lan:8123/
cobbler_ubuntu_1604_di_timezone
e.g. Australia/Melbourne
cobbler_ubuntu_1604_di_partman_disk
e.g. /dev/vda
cobbler_ubuntu_1604_di_partman_filesystem
e.g. ext4
cobbler_ubuntu_1604_di_user_fullname
cobbler_ubuntu_1604_di_user_username
cobbler_ubuntu_1604_di_user_hashed_password
Password generated with mkpasswd -H MD5

For setting up Debian Stretch:
cobbler_debian_mirror
e.g. http://mirror.internode.on.net/pub/debian/
cobbler_debian_stretch_minimal_preseed_url:
e.g. http://cobbler.lan/debian/stretch/minimal.seed
cobbler_debian_stretch_di_language
e.g. en
cobbler_debian_stretch_di_country
e.g. AU
cobbler_debian_stretch_di_locale
e.g. en_AU.UTF-8
cobbler_debian_stretch_di_keymap
e.g. us
cobbler_debian_stretch_di_hostname
cobbler_debian_stretch_di_mirror_hostname
e.g. mirror.internode.on.net
cobbler_debian_stretch_di_mirror_directory
e.g. /pub/debian
cobbler_debian_stretch_di_mirror_proxy
e.g. http://polipo.lan:8123/
cobbler_debian_stretch_di_user_fullname
cobbler_debian_stretch_di_user_username
cobbler_debian_stretch_di_user_hashed_password
Password generated with mkpasswd -H MD5
cobbler_debian_stretch_di_timezone
e.g. Australia/Melbourne
cobbler_debian_stretch_di_partman_disk
e.g. /dev/vda
cobbler_debian_stretch_di_grub_bootdev
e.g. /dev/vda