Hi,
I am trying to automate "jail" creation under FreeBSD which includes
building the OS from sources which is rather lengthy.
I'm using "polling" while doing it:
- name: build world
shell: executable=/bin/sh chdir=/usr/src SRCCONF={{ build_conf }} make
buildworld > /tmp/build.log 2>&1
# async: 45
poll: 30
- name: install world
shell: executable=/bin/sh chdir=/usr/src SRCCONF={{ install_conf }} make
installworld DESTDIR={{ disk_mount_point }} >> /tmp/build.log 2>&1
poll: 30
- name: make distribution
shell: executable=/bin/sh chdir=/usr/src SRCCONF={{ install_conf }} make
distribution DESTDIR={{ disk_mount_point }} >> /tmp/build.log 2>&1
poll: 30
- name: build kernel
shell: executable=/bin/sh chdir=/usr/src SRCCONF={{ build_conf }} make
buildkernel DESTDIR={{ disk_mount_point }} KERNCONFIG={{ kernel_confi
g }} >> /tmp/build.log 2>&1
poll: 30
- name: install kernel
shell: executable=/bin/sh chdir=/usr/src SRCCONF={{ install_conf }} make
installkernel DESTDIR={{ disk_mount_point }} KERNCONFIG={{ kernel_config }}
>> /tmp/build.log 2>&1
poll: 30
however every time I hit "build kernel" my builder VM crashes. When doing
the same task manually - I have no such issue. (whether using screen or
without it).
Anybody seen something similar in the wild/experienced similar issues?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/89f482dd-44bf-457c-91b9-fde08e1df016%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.