Last active
May 18, 2019 22:41
-
-
Save jackprice/79f6838d2626db4e7786a6bf253a5679 to your computer and use it in GitHub Desktop.
Ansible+Kickstart+Push
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install | |
cdrom | |
keyboard --vckeymap=gb --xlayouts='gb' | |
lang en_GB.UTF-8 | |
timezone Europe/London --isUtc | |
network --hostname={{ inventory_hostname }} | |
%packages | |
python | |
python-dnf | |
libselinux-python | |
libsemanage-python | |
%end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: all | |
become: no | |
connection: local | |
tasks: | |
- name: create kickstart file | |
template: | |
src: kickstart.cfg.j2 | |
dest: "{{ playbook_dir }}/build/{{ inventory_hostname }}.cfg" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment