Skip to content

Commit

Permalink
loop_control added + build_logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Nov 17, 2016
1 parent dab62b1 commit 31c8702
Show file tree
Hide file tree
Showing 11 changed files with 3,420 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ansible/roles/common_defaults/tasks/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@
command: cp -r /etc/skel/.config {{ item.stat.path }} creates={{ item.stat.path }}/.config
when: item.stat.exists
with_items: "{{ stat_skel_copy_users.results }}"
loop_control:
label: "{{ item.item }}"
tags:
- mc
- skel

- name: Change owner for {{ item.stat.path }}/.config
- name: Change owner for skel_copy_users/.config
file:
path: "{{ item.stat.path }}/.config"
recurse: yes
Expand All @@ -71,17 +73,21 @@
group: "{{ item.stat.path | basename }}"
when: item.stat.exists
with_items: "{{ stat_skel_copy_users.results }}"
loop_control:
label: "{{ item.item }}"
tags:
- mc
- skel

- name: Change rights for {{ item.stat.path }}/.config
- name: Change rights for skel_copy_users/.config
file:
path: "{{ item.stat.path }}/.config"
state: directory
mode: 0700
when: item.stat.exists
with_items: "{{ stat_skel_copy_users.results }}"
loop_control:
label: "{{ item.item }}"
tags:
- mc
- skel
Expand Down
347 changes: 347 additions & 0 deletions build_logs/my-centos-7-x86_64-packer.log

Large diffs are not rendered by default.

648 changes: 648 additions & 0 deletions build_logs/my-ubuntu-14.04-server-amd64-packer.log

Large diffs are not rendered by default.

684 changes: 684 additions & 0 deletions build_logs/my-ubuntu-16.04-server-amd64-packer.log

Large diffs are not rendered by default.

449 changes: 449 additions & 0 deletions build_logs/ubuntu-14.04-server-amd64-packer.log

Large diffs are not rendered by default.

458 changes: 458 additions & 0 deletions build_logs/ubuntu-16.04-server-amd64-packer.log

Large diffs are not rendered by default.

185 changes: 185 additions & 0 deletions build_logs/ubuntu-16.10-desktop-amd64-packer.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
ubuntu-16.10-desktop-amd64 output will be in this color.

==> ubuntu-16.10-desktop-amd64: Downloading or copying ISO
ubuntu-16.10-desktop-amd64: Downloading or copying: http://archive.ubuntu.com/ubuntu/dists/yakkety/main/installer-amd64/current/images/netboot/mini.iso
==> ubuntu-16.10-desktop-amd64: Creating hard drive...
==> ubuntu-16.10-desktop-amd64: Starting HTTP server on port 8252
==> ubuntu-16.10-desktop-amd64: Found port for communicator (SSH, WinRM, etc): 4021.
==> ubuntu-16.10-desktop-amd64: Looking for available port between 5900 and 6000
==> ubuntu-16.10-desktop-amd64: Found available VNC port: 5945
==> ubuntu-16.10-desktop-amd64: Starting VM, booting from CD-ROM
==> ubuntu-16.10-desktop-amd64: Overriding defaults Qemu arguments with QemuArgs...
==> ubuntu-16.10-desktop-amd64: Waiting 2s for boot...
==> ubuntu-16.10-desktop-amd64: Connecting to VM via VNC
==> ubuntu-16.10-desktop-amd64: Typing the boot command over VNC...
==> ubuntu-16.10-desktop-amd64: Waiting for SSH to become available...
==> ubuntu-16.10-desktop-amd64: Connected to SSH!
==> ubuntu-16.10-desktop-amd64: Provisioning with shell script: scripts/ubuntu/update.sh
ubuntu-16.10-desktop-amd64: [sudo] password for vagrant: + export DEBIAN_FRONTEND=noninteractive
ubuntu-16.10-desktop-amd64: + DEBIAN_FRONTEND=noninteractive
ubuntu-16.10-desktop-amd64: + apt-get update
ubuntu-16.10-desktop-amd64: Get:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease [92.2 kB]
ubuntu-16.10-desktop-amd64: Hit:2 http://archive.ubuntu.com/ubuntu yakkety InRelease
ubuntu-16.10-desktop-amd64: Get:3 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [94.5 kB]
ubuntu-16.10-desktop-amd64: Hit:4 http://archive.ubuntu.com/ubuntu yakkety-backports InRelease
ubuntu-16.10-desktop-amd64: Get:5 http://archive.ubuntu.com/ubuntu yakkety/main amd64 DEP-11 Metadata [654 kB]
ubuntu-16.10-desktop-amd64: Get:6 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 DEP-11 Metadata [181 B]
ubuntu-16.10-desktop-amd64: Get:7 http://archive.ubuntu.com/ubuntu yakkety/main DEP-11 64x64 Icons [368 kB]
ubuntu-16.10-desktop-amd64: Get:8 http://security.ubuntu.com/ubuntu yakkety-security/restricted amd64 DEP-11 Metadata [186 B]
ubuntu-16.10-desktop-amd64: Get:9 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64 DEP-11 Metadata [200 B]
ubuntu-16.10-desktop-amd64: Get:10 http://security.ubuntu.com/ubuntu yakkety-security/multiverse amd64 DEP-11 Metadata [187 B]
ubuntu-16.10-desktop-amd64: Get:11 http://archive.ubuntu.com/ubuntu yakkety/restricted amd64 DEP-11 Metadata [187 B]
ubuntu-16.10-desktop-amd64: Get:12 http://archive.ubuntu.com/ubuntu yakkety/universe amd64 DEP-11 Metadata [2,669 kB]
ubuntu-16.10-desktop-amd64: Get:13 http://archive.ubuntu.com/ubuntu yakkety/universe DEP-11 64x64 Icons [7,194 kB]
ubuntu-16.10-desktop-amd64: Get:14 http://archive.ubuntu.com/ubuntu yakkety/multiverse amd64 DEP-11 Metadata [47.6 kB]
ubuntu-16.10-desktop-amd64: Get:15 http://archive.ubuntu.com/ubuntu yakkety/multiverse DEP-11 64x64 Icons [246 kB]
ubuntu-16.10-desktop-amd64: Get:16 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11 Metadata [35.4 kB]
ubuntu-16.10-desktop-amd64: Get:17 http://archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64 Icons [23.7 kB]
ubuntu-16.10-desktop-amd64: Get:18 http://archive.ubuntu.com/ubuntu yakkety-updates/restricted amd64 DEP-11 Metadata [185 B]
ubuntu-16.10-desktop-amd64: Get:19 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 DEP-11 Metadata [54.3 kB]
ubuntu-16.10-desktop-amd64: Get:20 http://archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11 64x64 Icons [41.6 kB]
ubuntu-16.10-desktop-amd64: Get:21 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse amd64 DEP-11 Metadata [185 B]
ubuntu-16.10-desktop-amd64: Get:22 http://archive.ubuntu.com/ubuntu yakkety-backports/main amd64 DEP-11 Metadata [182 B]
ubuntu-16.10-desktop-amd64: Get:23 http://archive.ubuntu.com/ubuntu yakkety-backports/restricted amd64 DEP-11 Metadata [187 B]
ubuntu-16.10-desktop-amd64: Get:24 http://archive.ubuntu.com/ubuntu yakkety-backports/universe amd64 DEP-11 Metadata [186 B]
ubuntu-16.10-desktop-amd64: Get:25 http://archive.ubuntu.com/ubuntu yakkety-backports/multiverse amd64 DEP-11 Metadata [187 B]
ubuntu-16.10-desktop-amd64: Fetched 11.5 MB in 2s (4,500 kB/s)
ubuntu-16.10-desktop-amd64: Reading package lists...
ubuntu-16.10-desktop-amd64: + apt-get -y upgrade
ubuntu-16.10-desktop-amd64: Reading package lists...
ubuntu-16.10-desktop-amd64: Building dependency tree...
ubuntu-16.10-desktop-amd64: Reading state information...
ubuntu-16.10-desktop-amd64: Calculating upgrade...
ubuntu-16.10-desktop-amd64: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
==> ubuntu-16.10-desktop-amd64: Provisioning with shell script: scripts/linux-common/vagrant.sh
ubuntu-16.10-desktop-amd64: [sudo] password for vagrant: + date
ubuntu-16.10-desktop-amd64: + SSH_USER=vagrant
ubuntu-16.10-desktop-amd64: ==> Giving vagrant sudo powers
ubuntu-16.10-desktop-amd64: + SSH_USER_HOME=/home/vagrant
ubuntu-16.10-desktop-amd64: ==> Installing vagrant key
ubuntu-16.10-desktop-amd64: + VAGRANT_INSECURE_KEY='ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key'
ubuntu-16.10-desktop-amd64: + echo '==> Giving vagrant sudo powers'
ubuntu-16.10-desktop-amd64: + echo 'vagrant ALL=(ALL) NOPASSWD: ALL'
ubuntu-16.10-desktop-amd64: + echo '==> Installing vagrant key'
ubuntu-16.10-desktop-amd64: + mkdir /home/vagrant/.ssh
ubuntu-16.10-desktop-amd64: + chmod 700 /home/vagrant/.ssh
ubuntu-16.10-desktop-amd64: + cd /home/vagrant/.ssh
ubuntu-16.10-desktop-amd64: + echo 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key'
ubuntu-16.10-desktop-amd64: + chmod 600 /home/vagrant/.ssh/authorized_keys
ubuntu-16.10-desktop-amd64: + chown -R vagrant:vagrant /home/vagrant/.ssh
==> ubuntu-16.10-desktop-amd64: Provisioning with shell script: scripts/linux-common/cleanup.sh
ubuntu-16.10-desktop-amd64: + SSH_USER=vagrant
ubuntu-16.10-desktop-amd64: + echo '==> Cleaning up udev rules'
ubuntu-16.10-desktop-amd64: ==> Cleaning up udev rules
ubuntu-16.10-desktop-amd64: + rm -rf /dev/.udev/ /lib/udev/rules.d/75-persistent-net-generator.rules
ubuntu-16.10-desktop-amd64: + service rsyslog stop
ubuntu-16.10-desktop-amd64: + '[' -f /etc/os-release ']'
ubuntu-16.10-desktop-amd64: + grep -iq debian /etc/os-release
ubuntu-16.10-desktop-amd64: ==> Cleaning up leftover dhcp leases
ubuntu-16.10-desktop-amd64: + export DEBIAN_FRONTEND=noninteractive
ubuntu-16.10-desktop-amd64: + DEBIAN_FRONTEND=noninteractive
ubuntu-16.10-desktop-amd64: + echo 'pre-up sleep 2'
ubuntu-16.10-desktop-amd64: + echo '==> Cleaning up leftover dhcp leases'
ubuntu-16.10-desktop-amd64: + '[' -d /var/lib/dhcp3 ']'
ubuntu-16.10-desktop-amd64: + '[' -d /var/lib/dhcp ']'
ubuntu-16.10-desktop-amd64: + rm /var/lib/dhcp/dhclient.eth0.leases
ubuntu-16.10-desktop-amd64: + apt-get -y autoremove --purge
ubuntu-16.10-desktop-amd64: Reading package lists...
ubuntu-16.10-desktop-amd64: Building dependency tree...
ubuntu-16.10-desktop-amd64: Reading state information...
ubuntu-16.10-desktop-amd64: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu-16.10-desktop-amd64: + apt-get -y clean
ubuntu-16.10-desktop-amd64: + apt-get -y autoclean
ubuntu-16.10-desktop-amd64: Reading package lists...
ubuntu-16.10-desktop-amd64: Building dependency tree...
ubuntu-16.10-desktop-amd64: Reading state information...
ubuntu-16.10-desktop-amd64: + echo '==> Cleaning up tmp'
ubuntu-16.10-desktop-amd64: ==> Cleaning up tmp
ubuntu-16.10-desktop-amd64: + rm -rf /tmp/script_4318.sh /tmp/ssh-Hk2raMyQQe /tmp/systemd-private-82165067b98e4677afd741d2d3f14771-colord.service-1Ef8vj /tmp/systemd-private-82165067b98e4677afd741d2d3f14771-rtkit-daemon.service-Pmggwn /tmp/systemd-private-82165067b98e4677afd741d2d3f14771-systemd-hostnamed.service-bdkx6a /tmp/systemd-private-82165067b98e4677afd741d2d3f14771-systemd-timedated.service-GxdrLP /tmp/systemd-private-82165067b98e4677afd741d2d3f14771-systemd-timesyncd.service-mdDnFt
ubuntu-16.10-desktop-amd64: + unset HISTFILE
ubuntu-16.10-desktop-amd64: + rm -f /root/.bash_history
ubuntu-16.10-desktop-amd64: + rm -f /home/vagrant/.bash_history
ubuntu-16.10-desktop-amd64: + find /var/log -type f
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: ==> Clearing last login information
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo -ne ''
ubuntu-16.10-desktop-amd64: + read f
ubuntu-16.10-desktop-amd64: + echo '==> Clearing last login information'
ubuntu-16.10-desktop-amd64: + dd if=/dev/zero of=/EMPTY_FILE bs=1M
ubuntu-16.10-desktop-amd64: dd exit code 1 is suppressed
ubuntu-16.10-desktop-amd64: dd: error writing '/EMPTY_FILE': No space left on device
ubuntu-16.10-desktop-amd64: 96686+0 records in
ubuntu-16.10-desktop-amd64: 96685+0 records out
ubuntu-16.10-desktop-amd64: 101381570560 bytes (101 GB, 94 GiB) copied, 1371.66 s, 73.9 MB/s
ubuntu-16.10-desktop-amd64: + echo 'dd exit code 1 is suppressed'
ubuntu-16.10-desktop-amd64: + rm -f /EMPTY_FILE
ubuntu-16.10-desktop-amd64: + sync
==> ubuntu-16.10-desktop-amd64: Gracefully halting virtual machine...
==> ubuntu-16.10-desktop-amd64: Converting hard drive...
==> ubuntu-16.10-desktop-amd64: Running post-processor: vagrant
==> ubuntu-16.10-desktop-amd64 (vagrant): Creating Vagrant box for 'libvirt' provider
ubuntu-16.10-desktop-amd64 (vagrant): Copying from artifact: output-ubuntu-16.10-desktop-amd64/packer-ubuntu-16.10-desktop-amd64
ubuntu-16.10-desktop-amd64 (vagrant): Using custom Vagrantfile: Vagrantfile-linux.template
ubuntu-16.10-desktop-amd64 (vagrant): Compressing: Vagrantfile
ubuntu-16.10-desktop-amd64 (vagrant): Compressing: box.img
ubuntu-16.10-desktop-amd64 (vagrant): Compressing: metadata.json
Build 'ubuntu-16.10-desktop-amd64' finished.

==> Builds finished. The artifacts of successful builds are:
--> ubuntu-16.10-desktop-amd64: 'libvirt' provider box: ubuntu-16.10-desktop-amd64-libvirt.box
Loading

0 comments on commit 31c8702

Please sign in to comment.