Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,27 @@
mode: 0775
tags: install

- name: Pxe menu
copy:
src: "/root/omnia/control_plane/roles/provision_cobbler/files/menu.yml"
dest: "/etc/cobbler/boot_loader_conf/pxedefault.template"
mode: 0775
tags: install

- name: Assign default grub option
replace:
path: "/var/lib/cobbler/grub_config/grub/grub.cfg"
regexp: "^set default=\'local\'"
replace: "set default=\'1\'"
tags: install

- name: Assign default grub timeout
replace:
path: "/var/lib/cobbler/grub_config/grub/grub.cfg"
regexp: '^set timeout=80'
replace: 'set timeout=10'
tags: install

- name: Syncing of cobbler
command: cobbler sync
changed_when: false
Expand Down Expand Up @@ -144,4 +165,4 @@
cron:
name: Create inventory
minute: "*/5"
job: "{{ ansible_playbook_path.stdout.split(' ')[1] }} /root/inventory_creation.yml"
job: "{{ ansible_playbook_path.stdout.split(' ')[1] }} /root/inventory_creation.yml"