Install failed on Windows RC15
Log:
[STAGE 0/6: Preparations - 0%]
[STAGE 0/6: Preparations - 0%]
Preventing system from sleeping
Setting ES_SYSTEM_REQUIRED mode to current thread
--> Check System Requirements
Please read https://framagit.org/ideascube/pibox-installer/wikis/System-Requirements for details
--> Ensure user files are present
--> Prepare Image file
--> Flash clean MBR onto SD-card (\\.\PHYSICALDRIVE1)
Call: ['C:\\Users\\STPHAN~1\\AppData\\Local\\Temp\\7zS5DC4.tmp\\etcher-cli\\etcher', '-c', '-y', '-u', '-d', '\\\\.\\PHYSICALDRIVE1', 'C:\\Users\\STPHAN~1\\AppData\\Local\\Temp\\7zS5DC4.tmp\\mbr.img']
[1AFlashing [========================] 100% eta 0s
[1AValidating [========================] 100% eta 0s
mbr.img was successfully written to SDXC Card (D:)
Checksum: ee80517f
[STAGE 1/6: Retrieve Master Image - 0%]
--> Retrieving base image file
calculating sum for C:\Users\Stéphane\Desktop\cache\hotspot-master_2018-10-22.img.zip...MISMATCH.
[ ] 0%
[ ] 1%
[. ] 1%
[. ] 2%
[. ] 3%
[.. ] 3%
[.. ] 4%
[.. ] 5%
[... ] 5%
[... ] 6%
[.... ] 6%
[.... ] 7%
[.... ] 8%
[..... ] 8%
[..... ] 9%
[..... ] 10%
[...... ] 10%
[...... ] 11%
[...... ] 12%
[....... ] 12%
[....... ] 13%
[........ ] 13%
[........ ] 14%
[........ ] 15%
[......... ] 15%
[......... ] 16%
[......... ] 17%
[.......... ] 17%
[.......... ] 18%
[........... ] 18%
[........... ] 19%
[........... ] 20%
[............ ] 20%
[............ ] 21%
[............ ] 22%
[............. ] 22%
[............. ] 23%
[............. ] 24%
[.............. ] 24%
[.............. ] 25%
[............... ] 25%
[............... ] 26%
[............... ] 27%
[................ ] 27%
[................ ] 28%
[................ ] 29%
[................. ] 29%
[................. ] 30%
[................. ] 31%
[.................. ] 31%
[.................. ] 32%
[................... ] 32%
[................... ] 33%
[................... ] 34%
[.................... ] 34%
[.................... ] 35%
[.................... ] 36%
[..................... ] 36%
[..................... ] 37%
[...................... ] 37%
[...................... ] 38%
[...................... ] 39%
[....................... ] 39%
[....................... ] 40%
[....................... ] 41%
[........................ ] 41%
[........................ ] 42%
[........................ ] 43%
[......................... ] 43%
[......................... ] 44%
[.......................... ] 44%
[.......................... ] 45%
[.......................... ] 46%
[........................... ] 46%
[........................... ] 47%
[........................... ] 48%
[............................ ] 48%
[............................ ] 49%
[............................. ] 50%
[............................. ] 51%
[.............................. ] 51%
[.............................. ] 52%
[.............................. ] 53%
[............................... ] 53%
[............................... ] 54%
[............................... ] 55%
[................................ ] 55%
[................................ ] 56%
[................................. ] 56%
[................................. ] 57%
[................................. ] 58%
[.................................. ] 58%
[.................................. ] 59%
[.................................. ] 60%
[................................... ] 60%
[................................... ] 61%
[................................... ] 62%
[.................................... ] 62%
[.................................... ] 63%
[..................................... ] 63%
[..................................... ] 64%
[..................................... ] 65%
[...................................... ] 65%
[...................................... ] 66%
[...................................... ] 67%
[....................................... ] 67%
[....................................... ] 68%
[........................................ ] 68%
[........................................ ] 69%
[........................................ ] 70%
[......................................... ] 70%
[......................................... ] 71%
[......................................... ] 72%
[.......................................... ] 72%
[.......................................... ] 73%
[.......................................... ] 74%
[........................................... ] 74%
[........................................... ] 75%
[............................................ ] 75%
[............................................ ] 76%
[............................................ ] 77%
[............................................. ] 77%
[............................................. ] 78%
[............................................. ] 79%
[.............................................. ] 79%
[.............................................. ] 80%
[.............................................. ] 81%
[............................................... ] 81%
[............................................... ] 82%
[................................................ ] 82%
[................................................ ] 83%
[................................................ ] 84%
[................................................. ] 84%
[................................................. ] 85%
[................................................. ] 86%
[.................................................. ] 86%
[.................................................. ] 87%
[................................................... ] 87%
[................................................... ] 88%
[................................................... ] 89%
[.................................................... ] 89%
[.................................................... ] 90%
[.................................................... ] 91%
[..................................................... ] 91%
[..................................................... ] 92%
[..................................................... ] 93%
[...................................................... ] 93%
[...................................................... ] 94%
[....................................................... ] 94%
[....................................................... ] 95%
[....................................................... ] 96%
[........................................................ ] 96%
[........................................................ ] 97%
[........................................................ ] 98%
[......................................................... ] 98%
[......................................................... ] 99%
[..........................................................] 100%
[STAGE 1/6: Retrieve Master Image - 8%]
--> Extracting base image from ZIP file
Extraction complete: C:\Users\Stéphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img
[STAGE 1/6: Retrieve Master Image - 15%]
--> Testing mount procedure
Looking for C:\WINDOWS\System32\imdisk.exe
ImDisk already present.
. mounting C:\Users\Stéphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img
Looking for C:\WINDOWS\System32\imdisk.exe
ImDisk already present.
Call: ['wmic', 'logicaldisk', 'get', 'caption']
Caption
C:
Call: ['net', 'use']
Les nouvelles connexions seront mmorises.
La liste est vide.
Call: ['C:\\WINDOWS\\System32\\imdisk.exe', '-a', '-f', 'C:\\Users\\Stéphane\\Desktop\\hotspot-2018_11_10-09_12_14.BUILDING.img', '-o', 'rw', '-t', 'file', '-v', '3', '-m', 'D:']
Creating device...
Created device 0: D: ->
C:\Users\Stphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img
Notifying applications...
Done.
. mounted D: on D:\
. writing `10` inside D:\.check-part
. unmounting D:\
Call: ['C:\\WINDOWS\\System32\\imdisk.exe', '-D', '-m', 'D:']
Notifying applications...
Flushing file buffers...
Locking volume...
Dismounting filesystem...
Removing device...
Removing mountpoint...
Done.
. remounting C:\Users\Stéphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img
Looking for C:\WINDOWS\System32\imdisk.exe
ImDisk already present.
Call: ['wmic', 'logicaldisk', 'get', 'caption']
Caption
C:
Call: ['net', 'use']
Les nouvelles connexions seront mmorises.
La liste est vide.
Call: ['C:\\WINDOWS\\System32\\imdisk.exe', '-a', '-f', 'C:\\Users\\Stéphane\\Desktop\\hotspot-2018_11_10-09_12_14.BUILDING.img', '-o', 'rw', '-t', 'file', '-v', '3', '-m', 'D:']
Creating device...
Created device 0: D: ->
C:\Users\Stphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img
Notifying applications...
Done.
. remounted D: on D:\
. read `10` from file (was `10`)
post-test unmounting D:\ and D:
Call: ['C:\\WINDOWS\\System32\\imdisk.exe', '-D', '-m', 'D:']
Notifying applications...
Flushing file buffers...
Locking volume...
Dismounting filesystem...
Removing device...
Removing mountpoint...
Done.
[STAGE 2/6: Download contents - 17%]
--> Starting all content downloads
--> Retrieving package_wikipedia_ab_all_novid.ab-2018-06-18.zim (14.65 MiB)
[ ] 0%
[ ] 1%
[. ] 1%
[. ] 2%
[. ] 3%
[.. ] 3%
[.. ] 4%
[.. ] 5%
[... ] 5%
[... ] 6%
[.... ] 6%
[.... ] 7%
[.... ] 8%
[..... ] 8%
[..... ] 9%
[..... ] 10%
[...... ] 10%
[...... ] 11%
[...... ] 12%
[....... ] 12%
[....... ] 13%
[........ ] 13%
[........ ] 14%
[........ ] 15%
[......... ] 15%
[......... ] 16%
[......... ] 17%
[.......... ] 17%
[.......... ] 18%
[........... ] 18%
[........... ] 19%
[........... ] 20%
[............ ] 20%
[............ ] 21%
[............ ] 22%
[............. ] 22%
[............. ] 23%
[............. ] 24%
[.............. ] 24%
[.............. ] 25%
[............... ] 25%
[............... ] 26%
[............... ] 27%
[................ ] 27%
[................ ] 28%
[................ ] 29%
[................. ] 29%
[................. ] 30%
[................. ] 31%
[.................. ] 31%
[.................. ] 32%
[................... ] 32%
[................... ] 33%
[................... ] 34%
[.................... ] 34%
[.................... ] 35%
[.................... ] 36%
[..................... ] 36%
[..................... ] 37%
[...................... ] 37%
[...................... ] 38%
[...................... ] 39%
[....................... ] 39%
[....................... ] 40%
[....................... ] 41%
[........................ ] 41%
[........................ ] 42%
[........................ ] 43%
[......................... ] 43%
[......................... ] 44%
[.......................... ] 44%
[.......................... ] 45%
[.......................... ] 46%
[........................... ] 46%
[........................... ] 47%
[........................... ] 48%
[............................ ] 48%
[............................ ] 49%
[............................. ] 50%
[............................. ] 51%
[.............................. ] 51%
[.............................. ] 52%
[.............................. ] 53%
[............................... ] 53%
[............................... ] 54%
[............................... ] 55%
[................................ ] 55%
[................................ ] 56%
[................................. ] 56%
[................................. ] 57%
[................................. ] 58%
[.................................. ] 58%
[.................................. ] 59%
[.................................. ] 60%
[................................... ] 60%
[................................... ] 61%
[................................... ] 62%
[.................................... ] 62%
[.................................... ] 63%
[..................................... ] 63%
[..................................... ] 64%
[..................................... ] 65%
[...................................... ] 65%
[...................................... ] 66%
[...................................... ] 67%
[....................................... ] 67%
[....................................... ] 68%
[........................................ ] 68%
[........................................ ] 69%
[........................................ ] 70%
[......................................... ] 70%
[......................................... ] 71%
[......................................... ] 72%
[.......................................... ] 72%
[.......................................... ] 73%
[.......................................... ] 74%
[........................................... ] 74%
[........................................... ] 75%
[............................................ ] 75%
[............................................ ] 76%
[............................................ ] 77%
[............................................. ] 77%
[............................................. ] 78%
[............................................. ] 79%
[.............................................. ] 79%
[.............................................. ] 80%
[.............................................. ] 81%
[............................................... ] 81%
[............................................... ] 82%
[................................................ ] 82%
[................................................ ] 83%
[................................................ ] 84%
[................................................. ] 84%
[................................................. ] 85%
[................................................. ] 86%
[.................................................. ] 86%
[.................................................. ] 87%
[................................................... ] 87%
[................................................... ] 88%
[................................................... ] 89%
[.................................................... ] 89%
[.................................................... ] 90%
[.................................................... ] 91%
[..................................................... ] 91%
[..................................................... ] 92%
[..................................................... ] 93%
[...................................................... ] 93%
[...................................................... ] 94%
[....................................................... ] 94%
[....................................................... ] 95%
[....................................................... ] 96%
[........................................................ ] 96%
[........................................................ ] 97%
[........................................................ ] 98%
[......................................................... ] 98%
[......................................................... ] 99%
[..........................................................] 100%
Saved `package_wikipedia_ab_all_novid.ab-2018-06-18.zim` successfuly: 14.65 MiB
[STAGE 3/6: Image configuration (virtualized) - 33%]
[STAGE 3/6: Image configuration (virtualized) - 33%]
--> Preparing qemu VM
using 2 GiB RAM
Call: ['C:\\Users\\STPHAN~1\\AppData\\Local\\Temp\\7zS5DC4.tmp\\qemu\\qemu-img.exe', 'info', '-f', 'raw', 'C:\\Users\\Stéphane\\Desktop\\hotspot-2018_11_10-09_12_14.BUILDING.img']
image: C:\Users\Stphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img
file format: raw
virtual size: 7.2G (7760000000 bytes)
disk size: 7.2G
--> Resizing image file to 7.23 GiB
Call: ['C:\\Users\\STPHAN~1\\AppData\\Local\\Temp\\7zS5DC4.tmp\\qemu\\qemu-img.exe', 'info', '-f', 'raw', 'C:\\Users\\Stéphane\\Desktop\\hotspot-2018_11_10-09_12_14.BUILDING.img']
image: C:\Users\Stphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img
file format: raw
virtual size: 7.2G (7760000000 bytes)
disk size: 7.2G
Call: ['C:\\Users\\STPHAN~1\\AppData\\Local\\Temp\\7zS5DC4.tmp\\qemu\\qemu-img.exe', 'resize', '-f', 'raw', 'C:\\Users\\Stéphane\\Desktop\\hotspot-2018_11_10-09_12_14.BUILDING.img', '63861073920']
Image resized.
Call: ['C:\\Users\\STPHAN~1\\AppData\\Local\\Temp\\7zS5DC4.tmp\\qemu\\qemu-img.exe', 'info', '-f', 'raw', 'C:\\Users\\Stéphane\\Desktop\\hotspot-2018_11_10-09_12_14.BUILDING.img']
image: C:\Users\Stphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img
file format: raw
virtual size: 59G (63861073920 bytes)
disk size: 59G
--> Starting-up VM
--> Launch qemu
ssh on port 51726
--
C:\Users\STPHAN~1\AppData\Local\Temp\7zS5DC4.tmp\qemu\qemu-system-arm.exe -m 2048M -M vexpress-a15 -kernel C:\Users\STPHAN~1\AppData\Local\Temp\7zS5DC4.tmp\vexpress-boot\zImage -dtb C:\Users\STPHAN~1\AppData\Local\Temp\7zS5DC4.tmp\vexpress-boot\vexpress-v2p-ca15_a7.dtb -append root=/dev/mmcblk0p2 console=ttyAMA0 console=tty -serial stdio -no-acpi -drive format=raw,if=sd,file=C:\Users\Stéphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img -display none -no-reboot -netdev user,id=eth1,hostfwd=tcp::51726-:22 -device virtio-net-device,netdev=eth1 -smp 3 --accel tcg,thread=multi
--
B
ooting Linux on physical CPU 0x0
L
inux version 4.10.0 (reg@hayla.ml) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #1 SMP Wed Sep 19 09:25:10 UTC 2018
CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=10c5387d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
OF: fdt:Machine model: V2P-CA15_CA7
Truncating RAM at 0x80000000-0xffffffff to -0xf0000000
Consider using a HIGHMEM enabled kernel.
Memory policy: Data cache writeall
oc
percpu: Embedded 13 pages/cpu @ef1a8000 s23692 r8192 d21364 u53248
Built 1 zonelists in Zone order, mobilit
y grouping on. Total pages: 455168
Kernel command line: root=/dev/mmcblk0p2 console=ttyAMA0 console=tty
lo
g_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 16384 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 32768 bytes
early log buf free: 14832(90%)
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
Memory: 1807976K/1835008K available (7168K kernel code, 232K rwdata, 1384K ro
data, 1024K init, 204K bss, 27032K reserved, 0K cma-reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc :
0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0x80000000 - 0xf0000000 (1792 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x80800000 (8160 kB)
.init : 0x80a00000 - 0x80b00000 (1024 kB)
.data : 0x80b00000 - 0x80b3a2c0 ( 233 kB)
.bss : 0x80b3c000 - 0x80b6f1c4 ( 205 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=5, Nodes=1
Hierarchical RCU implementation.
Build-time adju
stment of leaf fanout to 32.
RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=5.
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=5
NR_IRQS:16 nr_irqs:16 16
arm_arch_timer: Architected cp15 timer(s) running at 62.50MHz (virt).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1cd42e208c
, max_idle_ns: 881590405314 ns
sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every 4398046511096ns
Switching to timer-based delay loop, resolution 16ns
clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
Fai
led to initialize '/smb@08000000/motherboard/iofpga@3,00000000/timer@120000': -22
Console: colour dummy device 80x30
console [tty0] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=625000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0,
socket 0, mpidr 80000000
Setting up static identity map for 0x80100000 - 0x80100058
ARM CCI driver probed
tc2_pm_init: boot CPU is out of bound!
smp: Bringing up secondary CPUs ...
CPU1: fai
led to boot: -49
CPU2: failed to boot: -49
CPU3: failed to boot: -49
CPU4: failed to boot: -49
smp: Brought up 1 node, 1 CPU
SMP: Total of 1 processors activated (125.00 BogoMIPS).
CP
U: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 2048 (order: 5, 131072 bytes)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at drivers/mfd/vexpress-sysreg.c:189 vexpress_sysreg_probe+0x174/0x1a8
M
odules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.10.0 #1
Hardware name: ARM-Versatile Express
[<8010e5c8>] (unwind_backtrace) from [<8010b028>] (show_stack+0x10/0x14)
[<8010b028>] (show_stack) from [<80378788>]
(dump_stack+0x84/0x98)
[<80378788>] (dump_stack) from [<8011cad4>] (__warn+0xe8/0x100)
[<8011cad4>] (__warn) from [<8011cb9c>] (warn_slowpath_null+0x20/0x28)
[<8011cb9c>] (warn_slowpath_null) from [<8041bce8>] (vexpress_
sysreg_probe+0x174/0x1a8)
[<8041bce8>] (vexpress_sysreg_probe) from [<803ffde4>] (platform_drv_probe+0x4c/0xb0)
[<803ffde4>] (platform_drv_probe) from [<803fe408>] (driver_probe_device+0x1f4/0x2b8)
[<803fe408>] (driver_probe_device) from [<803fe584>] (__driver_attach+0xb8/0xbc)
[<803fe584>] (__driver_attach) from [<803fc918>] (bus_for_each_dev+0x68/0x9c)
[<803fc918>] (bus_for_each_dev) from [<803fda64>] (bus_add_driver+0x1a0/0x218)
[<803fda64>] (bus_add_driver) from [<803fee4
c>] (driver_register+0x78/0xf8)
[<803fee4c>] (driver_register) from [<8010179c>] (do_one_initcall+0x44/0x16c)
[<8010179c>] (do_one_initcall) from [<80a00e48>] (kernel_init_freeable+0x1d8/0x268)
[<80a00e48>] (kernel_init_freeable) from [<806fb8a8>] (kernel_init+0x8/0x114)
[<806fb8a8>] (kernel_init) from [<80107578>] (ret_from_fork+0x14/0x3c)
---[ end trace 379f0db3fb272986 ]---
vexpress-sysr
eg 1c010000.sysreg: DT HBI (249) is not matching hardware (237)!
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
hw-breakp
oint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
Serial: AMBA PL011 UART driver
OF: amba_device_add() failed (-19) for /wdt@2a490000
OF: amba_device_add() failed (-19) for /memory-controller@2b0a0000
OF: amba_device_add() failed (-19) for /memory-controller@7ffd0000
OF: amba_device_add() failed (-19) for /dma@7ff00000
OF: amba_device_add() failed (-19) for /etb@0,20010000
OF: amba_device_add() failed (-19) for /tpiu@0,20030000
OF: amba_device_add() failed (-19) for /funnel@0,20040000
OF: amba_device_add() failed (-19) for /ptm@0,2201c000
OF: amba_device_add() failed (-19) for /ptm@0,2201d000
OF: amba_device_add() failed (-19) for /etm@0,2203c000
OF: amba_device_add() failed (-19) for /etm@0,2203d000
OF: amba_device_add() failed (
-19) for /etm@0,2203e000
1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 48, base_baud = 0) is a PL011 rev1
console [ttyAMA0] enabled
1
c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 49, base_baud = 0) is a PL011 rev1
1
c0b0000.uart: ttyAMA2 at MMIO 0x1c0b0000 (irq = 50, base_baud = 0) is a PL011 rev1
1
c0c0000.uart: ttyAMA3 at MMIO 0x1c0c0000 (irq = 51, base_baud = 0) is a PL011 rev1
O
F: amba_device_add() failed (-19) for /smb@08000000/motherboard/iofpga@3,00000000/wdt@0f0000
S
CSI subsystem initialized
u
sbcore: registered new interface driver usbfs
u
sbcore: registered new interface driver hub
usbcore: registered new device driver usb
A
dvanced Linux Sound Architecture Driver Initialized.
c
locksource: Switched to clocksource arch_sys_counter
N
ET: Registered protocol family 2
T
CP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table ent
ries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
U
DP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
N
ET: Registered protocol family 1
R
PC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module
.
h
w perfevents: enabled with armv7_cortex_a15 PMU driver, 1 counters available
hw perfevents: /pmu_a7:
failed to probe PMU!
hw perfevents: /pmu_a7: failed to register PMU devices!
f
ailed to build OPP table
w
orkingset: timestamp_bits=30 max_order=19 bucket_order=0
s
quashfs: version 4.0 (2009/01/31) Phillip Lougher
j
ffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
f
use init (API version 7.26)
9
p: Installing v9fs 9p2000 file system support
e
xFAT: Version 1.2.9
i
o scheduler noop registered (default)
c
lcd-pl11x 1c1f0000.clcd: PL111 designer 41 rev2 at 0x1c1f0000
c
lcd-pl11x 1c1f0000.clcd: /smb@08000000/motherboard/iofpga@3,00000000/clcd@1f0000 hardware, 640x480@59 display
C
onsole: switching to colour frame buffer device 80x30
8
000000.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
I
ntel/Sharp Extended Query Table at 0x0031
U
sing buffer write method
8
000000.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
I
ntel/Sharp Extended Query Table at 0x0031
U
sing buffer write method
C
oncatenating MTD devices:
(
0): "8000000.flash"
(
1): "8000000.flash"
i
nto device "8000000.flash"
l
ibphy: Fixed MDIO Bus: probed
s
msc911x 1a000000.ethernet (unnamed net_device) (uninitialized): Device not READY in 100ms aborting
i
sp1760 1b000000.usb: bus width: 32, oc: digital
i
sp1760 1b000000.usb: NXP ISP1760 USB Host Controller
i
sp1760 1b000000.usb: new USB bus registered, assigned bus number 1
i
sp1760 1b000000.usb: Scratch test failed.
i
sp1760 1b000000.usb: can't setup: -19
i
sp1760 1b000000.usb: USB bus 1 deregistered
u
sbcore: registered new interface driver usb-storage
m
ousedev: PS/2 mouse device common for all mice
r
tc-pl031 1c170000.rtc: rtc core: registered pl031 as rtc0
m
mci-pl18x 1c050000.mmci: Got CD GPIO
m
mci-pl18x 1c050000.mmci: Got WP GPIO
m
mci-pl18x 1c050000.mmci: mmc0: PL181 manf 41 rev0 at 0x1c050000 irq 44,45 (pio)
m
mc0: new SDXC card at address 4567
i
nput: AT Raw Set 2 keyboard as /devices/platform/smb@08000000/smb@08000000:motherboard/smb@08000000:motherboard:iofpga@3,00000000/1c060000.kmi/serio0/input/input0
l
edtrig-cpu: registered to indicate activity on CPUs
u
sbcore: registered new interface driver usbhid
u
sbhid: USB HID core driver
m
mcblk0: mmc0:4567 QEMU! 59.5 GiB
mmcblk0: p1 p2 p3
a
aci-pl041 1c040000.aaci: ARM AC'97 Interface PL041 rev0 at 0x1c040000, irq 43
a
aci-pl041 1c040000.aaci: FIFO 512 entries
o
profile: using timer interrupt.
N
etfilter messages via NETLINK v0.30.
n
fnl_acct: registering with nfnetlink.
n
f_conntrack version 0.5.0 (16384 buckets, 65536 max)
c
tnetlink v0.93: registering with nfnetlink.
n
f_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
n
f_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
x
t_time: kernel timezone is -0000
i
p_set: protocol 6
I
PVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
I
PVS: Connection hash table configured (size=4096, memory=32Kbytes)
I
PVS: Creating netns size=1296 id=0
I
PVS: ipvs loaded.
I
PVS: [rr] scheduler registered.
I
PVS: [wrr] scheduler registered.
I
PVS: [lc] scheduler registered.
I
PVS: [wlc] scheduler registered.
I
PVS: [fo] scheduler registered.
I
PVS: [ovf] scheduler registered.
I
PVS: [lblc] scheduler registered.
I
PVS: [lblcr] scheduler registered.
I
PVS: [dh] scheduler registered.
I
PVS: [sh] scheduler registered.
I
PVS: [sed] scheduler registered.
I
PVS: [nq] scheduler registered.
I
PVS: ftp: loaded support on port[0] = 21
I
PVS: [sip] pe registered.
i
p_tables: (C) 2000-2006 Netfilter Core Team
i
pt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
a
rp_tables: arp_tables: (C) 2002 David S. Miller
N
ET: Registered protocol family 10
S
egment Routing with IPv6
i
p6_tables: (C) 2000-2006 Netfilter Core Team
s
it: IPv6, IPv4 and MPLS over IPv4 tunneling driver
N
ET: Registered protocol family 17
9
pnet: Installing 9P2000 support
R
egistering SWP/SWPB emulation handler
r
tc-pl031 1c170000.rtc: setting system clock to 2018-11-10 08:20:51 UTC (1541838051)
A
LSA device list:
#0: ARM AC'97 Interface PL041 rev0 at 0x1c040000, irq 43
i
nput: ImExPS/2 Generic Explorer Mouse as /devices/platform/smb@08000000/smb@08000000:motherboard/smb@08000000:motherboard:iofpga@3,00000000/1c070000.kmi/serio1/input/input2
E
XT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
r
andom: fast init done
E
XT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
V
FS: Mounted root (ext4 filesystem) readonly on device 179:2.
F
reeing unused kernel memory: 1024K
r
andom: crng init done
s
ystemd[1]: Failed to insert module 'autofs4': No such file or directory
s
ystemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
s
ystemd[1]: Detected architecture arm.
s
ystemd[1]: Set hostname to <default.hotspot>.
s
ystemd[1]: Started Forward Password Requests to Wall Directory Watch.
s
ystemd[1]: Listening on udev Kernel Socket.
s
ystemd[1]: Listening on fsck to fsckd communication Socket.
s
ystemd[1]: Created slice System Slice.
s
ystemd[1]: Mounting Debug File System...
s
ystemd[1]: Created slice system-systemd\x2dfsck.slice.
s
ystemd[1]: Created slice system-getty.slice.
s
ystemd[1]: dev-hugepages.mount: Couldn't determine result for ConditionVirtualization=!private-users, assuming failed: No such file or directory
s
ystemd[1]: Mounting RPC Pipe File System...
s
ystemd[1]: Created slice system-serial\x2dgetty.slice.
s
ystemd[1]: Started Restore / save the current clock.
[
[0;32m OK [0m] Found device /dev/ttyAMA0.
[
[0;32m OK [0m] Started Show Plymouth Boot Screen.
[
[0;32m OK [0m] Reached target Paths.
[
[0;32m OK [0m] Reached target Encrypted Volumes.
[
[0;32m OK [0m] Started Forward Password Requests to Plymouth Directory Watch.
[
[0;32m OK [0m] Found device /dev/mmcblk0p1.
[
[0;32m OK [0m] Found device /dev/mmcblk0p3.
Mounting /data...
Starting File System Check on /dev/mmcblk0p1...
[
[0;32m OK [0m] Mounted /data.
[
[0;32m OK [0m] Reached target Local File Systems.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Set console font and keymap...
Starting Raise network interfaces...
Starting Preprocess NFS configuration...
Starting Create Volatile Files and Directories...
[
[0;32m OK [0m] Started File System Check on /dev/mmcblk0p1.
[
[0;32m OK [0m] Started Tell Plymouth To Write Out Runtime Data.
[
[0;32m OK [0m] Started Preprocess NFS configuration.
[
[0;32m OK [0m] Started Set console font and keymap.
[
[0;32m OK [0m] Reached target NFS client services.
[
[0;32m OK [0m] Reached target Remote File Systems (Pre).
[
[0;32m OK [0m] Reached target Remote File Systems.
[
[0;32m OK [0m] Started Raise network interfaces.
[
[0;32m OK [0m] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[
[0;32m OK [0m] Started Update UTMP about System Boot/Shutdown.
[
[0;32m OK [0m] Started Network Time Synchronization.
[
[0;32m OK [0m] Reached target System Time Synchronized.
[
[0;32m OK [0m] Reached target System Initialization.
[
[0;32m OK [0m] Listening on D-Bus System Message Bus Socket.
[
[0;32m OK [0m] Listening on triggerhappy.socket.
[
[0;32m OK [0m] Started Daily apt download activities.
[
[0;32m OK [0m] Started Daily apt upgrade and clean activities.
[
[0;32m OK [0m] Started Daily Cleanup of Temporary Directories.
[
[0;32m OK [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[
[0;32m OK [0m] Reached target Sockets.
[
[0;32m OK [0m] Reached target Basic System.
[
[0;32m OK [0m] Started Regular background program processing daemon.
Starting Avahi mDNS/DNS-SD Stack...
Starting Boot-only system-wide cleanup script...
[
[0;32m OK [0m] Started Kiwix server.
Starting LSB: Switch to ondemand cp…r (unless shift key is pressed)...
Starting LSB: Autogenerate and use a swap file...
Starting System Logging Service...
Starting triggerhappy global hotkey daemon...
Starting Modem Manager...
Starting Login Service...
[
[0;32m OK [0m] Started Clean PHP session files every 30 mins.
[
[0;32m OK [0m] Started D-Bus System Message Bus.
Starting Network Manager...
[
[0;32m OK [0m] Started Run ideascube clean leftover-files weekly and on boot.
[[0;32m OK [0m] Reached target Timers.
Starting Restore /etc/resolv.conf i…fore the ppp link was shut down...
Starting Disable WiFi if country not set...
Starting dhcpcd on all interfaces...
Starting Save/Restore Sound Card State...
[
[0;32m OK [0m] Started triggerhappy global hotkey daemon.
[
[0;32m OK [0m] Started System Logging Service.
[
[0;32m OK [0m] Started Boot-only system-wide cleanup script.
[
[0;32m OK [0m] Started Save/Restore Sound Card State.
[
[0;1;31mFAILED[0m] Failed to start dhcpcd on all interfaces.
S
ee 'systemctl status dhcpcd.service' for details.
[
[0;32m OK [0m] Started Restore /etc/resolv.conf if…before the ppp link was shut down.
[
[0;32m OK [0m] Started Disable WiFi if country not set.
[
[0;32m OK [0m] Started Avahi mDNS/DNS-SD Stack.
[
[0;32m OK [0m] Started Login Service.
Starting Clean php session files...
Starting Authorization Manager...
[
[0;32m OK [0m] Started LSB: Switch to ondemand cpu…nor (unless shift key is pressed).
[
[0;32m OK [0m] Started LSB: Autogenerate and use a swap file.
[
[0;32m OK [0m] Started Authorization Manager.
[
[0;31m*[0;1;31m*[0m[0;31m*[0m] (1 of 3) A start job is running for…odem Manager (1min 15s / 2min 20s)
[K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 3) A start job is running for…odem Manager (1min 16s / 2min 20s)
[K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] (1 of 3) A start job is running for…odem Manager (1min 16s / 2min 20s)
[K[[0;31m*[0;1;31m*[0m[0;31m* [0m] (2 of 3) A start job is running for Network Manager (15s / 1min 27s)
[K[[0;32m OK [0m] Started Modem Manager.
[
[0;32m OK [0m] Started Network Manager.
[
[0;32m OK [0m] Reached target Network.
Starting Permit User Sessions...
Starting A high performance web server and a reverse proxy server...
Starting OpenBSD Secure Shell server...
[
[0;32m OK [0m] Started Launch hostapd.
Starting Network Manager Wait Online...
[
[0;32m OK [0m] Started Permit User Sessions.
Starting Hold until boot process finishes up...
Starting Terminate Plymouth Boot Screen...
R
a
spb
ian
GN
U/L
in
ux
9
d
efault.hotspot
ttyAMA0
d
efault login:
Successfuly connected to Qemu over SSH
--> Copy ansiblecube
sudo /bin/rm -rf /var/lib/ansible/local
copy local dir C:\Users\STPHAN~1\AppData\Local\Temp\7zS5DC4.tmp\ansiblecube to tmp dir /tmp/B9B6FE2F66BC4C85430674712D11A66
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./group_vars
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./tests
copy local file ansible.cfg to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./ansible.cfg
copy local file clean_apt.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./clean_apt.yml
copy local file disable_service.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./disable_service.yml
copy local file enable_service.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./enable_service.yml
copy local file enable_vhost.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./enable_vhost.yml
copy local file handlers.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./handlers.yml
copy local file hosts to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./hosts
copy local file main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./main.yml
copy local file mark_role.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./mark_role.yml
copy local file partition_boundaries.py to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./partition_boundaries.py
copy local file README.md to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./README.md
copy local file group_vars\all to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./group_vars/all
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/aflatoun_content
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/aflatoun_setup
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/backup
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/clock
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/dnsmasq
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/edupi_content
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/edupi_setup
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/hostapd
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/iptables
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kalite_content
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kalite_setup
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kiwix
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/network-manager
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/packages
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/resize
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/restore
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/services
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/uwsgi
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/variables
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_content
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/aflatoun_content/tasks
copy local file roles\aflatoun_content\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/aflatoun_content/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/aflatoun_setup/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/aflatoun_setup/templates
copy local file roles\aflatoun_setup\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/aflatoun_setup/tasks/main.yml
copy local file roles\aflatoun_setup\templates\aflatoun.service.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/aflatoun_setup/templates/aflatoun.service.j2
copy local file roles\aflatoun_setup\templates\aflatoun.vhost.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/aflatoun_setup/templates/aflatoun.vhost.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/backup/tasks
copy local file roles\backup\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/backup/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/files
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/templates
copy local file roles\captive_portal\files\captive.ini to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/files/captive.ini
copy local file roles\captive_portal\files\clean-up-dnsmasq.sh to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/files/clean-up-dnsmasq.sh
copy local file roles\captive_portal\files\clean-up.service to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/files/clean-up.service
copy local file roles\captive_portal\files\clean_iptables.sh to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/files/clean_iptables.sh
copy local file roles\captive_portal\files\connectivity-check to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/files/connectivity-check
copy local file roles\captive_portal\files\nginx-captiveportal to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/files/nginx-captiveportal
copy local file roles\captive_portal\files\pibox-mode-switcher to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/files/pibox-mode-switcher
copy local file roles\captive_portal\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/tasks/main.yml
copy local file roles\captive_portal\templates\cap.py.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/captive_portal/templates/cap.py.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/clock/files
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/clock/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/clock/templates
copy local file roles\clock\files\clock.py to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/clock/files/clock.py
copy local file roles\clock\files\uwsgi.ini to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/clock/files/uwsgi.ini
copy local file roles\clock\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/clock/tasks/main.yml
copy local file roles\clock\templates\nginx.conf.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/clock/templates/nginx.conf.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/dnsmasq/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/dnsmasq/templates
copy local file roles\dnsmasq\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/dnsmasq/tasks/main.yml
copy local file roles\dnsmasq\templates\dnsmasq-spoof.conf.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/dnsmasq/templates/dnsmasq-spoof.conf.j2
copy local file roles\dnsmasq\templates\dnsmasq.conf.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/dnsmasq/templates/dnsmasq.conf.j2
copy local file roles\dnsmasq\templates\interfaces.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/dnsmasq/templates/interfaces.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/edupi_content/tasks
copy local file roles\edupi_content\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/edupi_content/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/edupi_setup/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/edupi_setup/templates
copy local file roles\edupi_setup\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/edupi_setup/tasks/main.yml
copy local file roles\edupi_setup\templates\edupi.service.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/edupi_setup/templates/edupi.service.j2
copy local file roles\edupi_setup\templates\edupi.vhost.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/edupi_setup/templates/edupi.vhost.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/hostapd/files
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/hostapd/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/hostapd/templates
copy local file roles\hostapd\files\hostapd to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/hostapd/files/hostapd
copy local file roles\hostapd\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/hostapd/tasks/main.yml
copy local file roles\hostapd\templates\hostapd.conf.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/hostapd/templates/hostapd.conf.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/files
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/meta
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/templates
copy local file roles\ideascube\files\ideascube_leftover_files.service to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/files/ideascube_leftover_files.service
copy local file roles\ideascube\files\ideascube_leftover_files.timer to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/files/ideascube_leftover_files.timer
copy local file roles\ideascube\files\logoKIWIX-ideascube.png to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/files/logoKIWIX-ideascube.png
copy local file roles\ideascube\files\remove_staticfiles_json.service to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/files/remove_staticfiles_json.service
copy local file roles\ideascube\files\remove_staticfiles_json.sh to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/files/remove_staticfiles_json.sh
copy local file roles\ideascube\files\uwsgi-cache.ini to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/files/uwsgi-cache.ini
copy local file roles\ideascube\meta\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/meta/main.yml
copy local file roles\ideascube\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/tasks/main.yml
copy local file roles\ideascube\templates\ideascube.list.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/templates/ideascube.list.j2
copy local file roles\ideascube\templates\pibox.py.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/ideascube/templates/pibox.py.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/iptables/files
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/iptables/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/iptables/templates
copy local file roles\iptables\files\iptables to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/iptables/files/iptables
copy local file roles\iptables\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/iptables/tasks/main.yml
copy local file roles\iptables\templates\iptables.rules.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/iptables/templates/iptables.rules.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kalite_content/tasks
copy local file roles\kalite_content\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kalite_content/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kalite_setup/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kalite_setup/templates
copy local file roles\kalite_setup\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kalite_setup/tasks/main.yml
copy local file roles\kalite_setup\templates\kalite.service.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kalite_setup/templates/kalite.service.j2
copy local file roles\kalite_setup\templates\kalite.vhost.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kalite_setup/templates/kalite.vhost.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kiwix/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kiwix/templates
copy local file roles\kiwix\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kiwix/tasks/main.yml
copy local file roles\kiwix\templates\kiwix-server.service.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kiwix/templates/kiwix-server.service.j2
copy local file roles\kiwix\templates\nginx.vhost.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/kiwix/templates/nginx.vhost.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/network-manager/tasks
copy local file roles\network-manager\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/network-manager/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/files
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/templates
copy local file roles\nginx\files\nginx.conf to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/files/nginx.conf
copy local file roles\nginx\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/tasks/main.yml
copy local file roles\nginx\templates\404.html.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/templates/404.html.j2
copy local file roles\nginx\templates\502.html.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/templates/502.html.j2
copy local file roles\nginx\templates\placeholder.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/templates/placeholder.j2
copy local file roles\nginx\templates\version.html.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/templates/version.html.j2
copy local file roles\nginx\templates\version.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/templates/version.j2
copy local file roles\nginx\templates\welcome.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/nginx/templates/welcome.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/packages/tasks
copy local file roles\packages\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/packages/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/resize/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/resize/templates
copy local file roles\resize\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/resize/tasks/main.yml
copy local file roles\resize\templates\fstab.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/resize/templates/fstab.j2
copy local file roles\resize\templates\mount-boot-partition.service to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/resize/templates/mount-boot-partition.service
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/restore/tasks
copy local file roles\restore\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/restore/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/services/tasks
copy local file roles\services\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/services/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/files
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/templates
copy local file roles\system\files\bashrc to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/files/bashrc
copy local file roles\system\files\rc.local to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/files/rc.local
copy local file roles\system\files\sources_jessie.list to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/files/sources_jessie.list
copy local file roles\system\files\sources_stretch.list to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/files/sources_stretch.list
copy local file roles\system\files\vimrc.local to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/files/vimrc.local
copy local file roles\system\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/tasks/main.yml
copy local file roles\system\templates\hosts.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/templates/hosts.j2
copy local file roles\system\templates\visudo.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/system/templates/visudo.j2
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/uwsgi/tasks
copy local file roles\uwsgi\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/uwsgi/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/variables/tasks
copy local file roles\variables\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/variables/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_content/tasks
copy local file roles\wikifundi_content\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_content/tasks/main.yml
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/tasks
make remote dir /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/templates
copy local file roles\wikifundi_setup\files\90-wikifundi.ini to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/90-wikifundi.ini
copy local file roles\wikifundi_setup\files\add_mw_extension.py to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/add_mw_extension.py
copy local file roles\wikifundi_setup\files\A_WikiAfrica_project.png to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/A_WikiAfrica_project.png
copy local file roles\wikifundi_setup\files\cc-by-sa.png to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/cc-by-sa.png
copy local file roles\wikifundi_setup\files\composer.json to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/composer.json
copy local file roles\wikifundi_setup\files\empty.php to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/empty.php
copy local file roles\wikifundi_setup\files\favicon.ico to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/favicon.ico
copy local file roles\wikifundi_setup\files\LocalSettings.php to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/LocalSettings.php
copy local file roles\wikifundi_setup\files\logo-sq.png to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/logo-sq.png
copy local file roles\wikifundi_setup\files\logo.png to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/logo.png
copy local file roles\wikifundi_setup\files\php.conf to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/files/php.conf
copy local file roles\wikifundi_setup\tasks\main.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/tasks/main.yml
copy local file roles\wikifundi_setup\tasks\mediawiki.yml to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/tasks/mediawiki.yml
copy local file roles\wikifundi_setup\templates\config.yaml.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/templates/config.yaml.j2
copy local file roles\wikifundi_setup\templates\parsoid.service.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/templates/parsoid.service.j2
copy local file roles\wikifundi_setup\templates\wikifundi.vhost.j2 to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./roles/wikifundi_setup/templates/wikifundi.vhost.j2
copy local file tests\conftest.py to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./tests/conftest.py
copy local file tests\requirements-dev.txt to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./tests/requirements-dev.txt
copy local file tests\test_ansible.py to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./tests/test_ansible.py
copy local file tests\test_syntax.py to tmp file /tmp/B9B6FE2F66BC4C85430674712D11A66/./tests/test_syntax.py
sudo mv -T /tmp/B9B6FE2F66BC4C85430674712D11A66 /var/lib/ansible/local
--> Run ansiblecube
copy local file C:\Users\STPHAN~1\AppData\Local\Temp\tmpwyk3u0vd.yml to tmp file /tmp/7E857CF28E5C75A1D7EFD974C837A23
sudo mv -T /tmp/7E857CF28E5C75A1D7EFD974C837A23 /home/pi/catalog_Kiwix.yml
[WinError 32] Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus: 'C:\\Users\\STPHAN~1\\AppData\\Local\\Temp\\tmpwyk3u0vd.yml'
copy local file C:\Users\STPHAN~1\AppData\Local\Temp\tmp1kq20mt0 to tmp file /tmp/E27481600B524FDBAC99D11C535E98A
sudo mv -T /tmp/E27481600B524FDBAC99D11C535E98A /var/lib/ansible/local/extra_vars.json
ansiblecube extra_vars
{
"custom_branding_path": "/tmp",
"wikifundi_languages": [],
"timezone": "Europe/Berlin",
"has_custom_branding": false,
"project_name": "Kiwix",
"edupi": false,
"packages": [
"wikipedia_ab_all_novid.ab"
],
"kernel_version": "4.14.34",
"admin_account": "****",
"edupi_has_resources": false,
"language_name": "English",
"language": "en",
"aflatoun_languages": [],
"installer_version": "2.0-rc15",
"mirror": "http://download.kiwix.org",
"catalogs": [
{
"description": "Kiwix ZIM Content",
"url": "http://download.kiwix.org/library/ideascube.yml",
"name": "Kiwix",
"local_url": "file:///home/pi/catalog_Kiwix.yml"
}
],
"root_partition_size": 7000000000,
"admin_password": "****",
"kalite_languages": [],
"disk_size": 63861073920
}
sh -c 'cd /var/lib/ansible/local && tasks=$(/usr/local/bin/ansible-playbook --list-tasks --inventory hosts --tags resize,rename,reconfigure --extra-vars="@/var/lib/ansible/local/extra_vars.json" main.yml | paste -sd "^" -) && echo "### TASKS ### $tasks"'
### TASKS ### ^playbook: main.yml^^ play #1 (localhost): localhost TAGS: []^ tasks:^ Set the LED steady before upgrading !!! TAGS: [always]^ debug TAGS: [always]^ variables : DEBUG list {{ data_path }} content TAGS: [always]^ variables : set python3.4 for jessie TAGS: [always]^ variables : set python3.5 for stretch TAGS: [always]^ variables : Set project_name and project_name_safe facts TAGS: [always]^ variables : Set hostname and hostpot_name TAGS: [always]^ variables : Update names and fqdns for all projects TAGS: [always]^ variables : Ensure hostname is in /etc/hosts TAGS: [always]^ variables : Set hostname using to {{ fqdn }} TAGS: [always]^ variables : Create config.fact file TAGS: [master, reconfigure]^ variables : reload local facts TAGS: [master, reconfigure]^ debug TAGS: [always]^ system : Drop hosts file on device TAGS: [master, rename]^ system : Remove the existing localtime file TAGS: [master, reconfigure, setup]^ system : Set a new localtime file corresponding to the timezone TAGS: [master, reconfigure, setup]^ system : Set timezone variables TAGS: [master, reconfigure, setup]^ resize : Unmount {{ data_path }} partition TAGS: [master, resize]^ resize : make sure data partition is removed from fstab TAGS: [master, resize]^ resize : remove {{ data_path }} if it exists TAGS: [resize]^ resize : Copy partition table analysis script TAGS: [master, resize]^ resize : display disk table TAGS: [master, resize]^ resize : Analyze disk partition table TAGS: [master, resize]^ resize : Delete partition table analysis script TAGS: [master, resize]^ resize : get number of partitions TAGS: [master, resize]^ resize : delete data partition if it exists TAGS: [master, resize]^ resize : informing kernel about partition deletion TAGS: [master, resize]^ resize : recreating root partition TAGS: [master, resize]^ resize : informing kernel about root partition's new boundaries TAGS: [master, resize]^ resize : resize filesystem on root partition TAGS: [master, resize]^ resize : Recreating third partition TAGS: [master, resize]^ resize : informing kernel about new data partition TAGS: [master, resize]^ resize : Formatting third partition (exfat) TAGS: [master, resize]^ resize : display disk table TAGS: [master, resize]^ resize : display disk table TAGS: [master, resize]^ resize : display exfat table TAGS: [master, resize]^ resize : check exfat TAGS: [master, resize]^ resize : create {{ data_path }} placeholder TAGS: [master, resize]^ resize : installing a new fstab with longer device timeouts and {{ data_path }} mout point TAGS: [master, resize]^ resize : Mounting third partition to {{ data_path }} TAGS: [master, resize]^ resize : Create test directory TAGS: [always]^ nginx : install 502.html TAGS: [master, rename]^ nginx : install 404.html TAGS: [master, rename]^ nginx : install version.html TAGS: [master, rename]^ nginx : install welcome redirect TAGS: [master, rename]^ nginx : install version vhost TAGS: [master, rename]^ dnsmasq : Copy dnsmasq.conf file TAGS: [master, rename]^ hostapd : Copy hostapd.conf file TAGS: [master, rename]^ ideascube : Create ideascube handlers directories TAGS: [reconfigure]^ ideascube : change ownership of ideascube handlers directories TAGS: [reconfigure]^ ideascube : move ideascube handlers directories TAGS: [reconfigure]^ ideascube : Symlink ideascube handlers in idascube folder TAGS: [reconfigure]^ debug TAGS: [reconfigure]^ ideascube : Ensure the branding directory exists TAGS: [reconfigure]^ stat TAGS: [reconfigure]^ copy TAGS: [reconfigure]^ ideascube : Create ideascube configuration file TAGS: [master, reconfigure, setup]^ ideascube : Edit pibox.py to change ALLOWED_HOSTS TAGS: [rename]^ ideascube : Edit pibox.py to change DOMAIN TAGS: [rename]^ ideascube : Edit pibox.py to change cards URLs TAGS: [rename]^ ideascube : Check if ideascube super user is installed TAGS: [reconfigure]^ ideascube : Install Ideascube super user TAGS: [reconfigure]^ ideascube : Set Ideascube name TAGS: [master, rename]^ ideascube : Ensure a kiwix library file is built TAGS: [master, move-content, reconfigure, resize, setup]^ ideascube : remove wrong server name in ideascube vhost TAGS: [master, rename]^ ideascube : Fix nginx vhost for ideascube TAGS: [master, rename]^ ideascube : Fix nginx vhost for ideascube (static files) TAGS: [master, rename]^ kiwix : Remove nginx configuration otherwise, if hostname var change it won't be overrided TAGS: [master, rename]^ kiwix : Copy nginx vhost TAGS: [master, rename]^ kiwix : Nginx enable Virtual host TAGS: [master, rename]^ clock : create password file for clock TAGS: [reconfigure, setup]^ clock : Add nginx specific configuration file TAGS: [master, rename]^ captive_portal : Copy captive portal script to /var/www/captiveportal TAGS: [master, rename]^ captive_portal : Create Certificate Signing Request TAGS: [master, rename]^ captive_portal : Sign the certificate TAGS: [master, rename]^ wikifundi_setup : set parsoid config TAGS: [rename, setup]^ wikifundi_setup : create wikifundi data folder TAGS: [reconfigure, setup]^ wikifundi_setup : Copy nginx vhosts TAGS: [reconfigure, rename]^ aflatoun_setup : Create working directory TAGS: [reconfigure, setup]^ aflatoun_setup : Initialize aflatoun and Create an admin user TAGS: [reconfigure, setup]^ aflatoun_setup : Initialize Aflatoun without creating an admin user TAGS: [reconfigure, setup]^ aflatoun_setup : Copy nginx vhost TAGS: [rename, setup]^ edupi_setup : Create directories TAGS: [reconfigure, setup]^ edupi_setup : Replace allowed hosts TAGS: [rename, setup]^ edupi_setup : Replace EduPi DATA_ROOT TAGS: [reconfigure, setup]^ edupi_setup : collectstatic edupi TAGS: [reconfigure]^ edupi_setup : Manage migrate TAGS: [reconfigure]^ edupi_setup : Check if EduPi super user is installed TAGS: [reconfigure]^ edupi_setup : Install EduPi super user TAGS: [reconfigure]^ edupi_setup : Copy nginx vhost TAGS: [rename, setup]^ kalite_setup : Ensure kalite folder exists on data part TAGS: [reconfigure, setup]^ kalite_setup : Create a user admin for kalite TAGS: [reconfigure, setup]^ kalite_setup : Run kalite manage setup without admin user TAGS: [reconfigure, setup]^ kalite_setup : Copy nginx vhost TAGS: [rename, setup]^ packages : Add CSS for package icon TAGS: [move-content, rename]^ stat TAGS: [move-content, rename]^ wikifundi_content : add parsoid config to LocalSettings.custom TAGS: [move-content, rename]^ wikifundi_content : Add wikifundi CSS hack TAGS: [move-content, rename]^ backup : create tar of {{ data_path }} TAGS: [reconfigure]^ Heartbeat mode on KoomBook LED, update is over !!! TAGS: [always]
sudo sh -c 'cd /var/lib/ansible/local && /usr/local/bin/ansible-playbook -vvv --inventory hosts --tags resize,rename,reconfigure --extra-vars="@/var/lib/ansible/local/extra_vars.json" main.yml'
ansible-playbook 2.6.6
config file = /var/lib/ansible/local/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
executable location = /usr/local/bin/ansible-playbook
python version = 2.7.13 (default, Sep 26 2018, 18:42:22) [GCC 6.3.0 20170516]
Using /var/lib/ansible/local/ansible.cfg as config file
Parsed /var/lib/ansible/local/hosts inventory source with ini plugin
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/roles/wikifundi_setup/tasks/mediawiki.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/handlers.yml
PLAYBOOK: main.yml *************************************************************
1 plays in main.yml
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
--> Gathering Facts
task path: /var/lib/ansible/local/main.yml:2
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541838852.81-257277168803315 `" && echo ansible-tmp-1541838852.81-257277168803315="` echo /root/.ansible/tmp/ansible-tmp-1541838852.81-257277168803315 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/setup.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp1WPxh6 TO /root/.ansible/tmp/ansible-tmp-1541838852.81-257277168803315/setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541838852.81-257277168803315/ /root/.ansible/tmp/ansible-tmp-1541838852.81-257277168803315/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541838852.81-257277168803315/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541838852.81-257277168803315/ > /dev/null 2>&1 && sleep 0'
ok: [localhost]
TASK [Set the LED steady before upgrading !!!] *********************************
--> Set the LED steady before upgrading !!!
[STAGE 3/6: Image configuration (virtualized) - 33%]
task path: /var/lib/ansible/local/main.yml:8
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: ran handlers
TASK [variables : debug] *******************************************************
--> variables : debug
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:2
ok: [localhost] => {
"msg": "Start playbook 2018-11-10 - 08:34:42"
}
TASK [variables : DEBUG list /data content] ************************************
--> variables : DEBUG list /data content
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:5
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541838899.63-54705436174815 `" && echo ansible-tmp-1541838899.63-54705436174815="` echo /root/.ansible/tmp/ansible-tmp-1541838899.63-54705436174815 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpMJcv3p TO /root/.ansible/tmp/ansible-tmp-1541838899.63-54705436174815/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541838899.63-54705436174815/ /root/.ansible/tmp/ansible-tmp-1541838899.63-54705436174815/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541838899.63-54705436174815/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541838899.63-54705436174815/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ls",
"-lh",
"/data"
],
"delta": "0:00:00.305868",
"end": "2018-11-10 08:35:13.257800",
"invocation": {
"module_args": {
"_raw_params": "ls -lh /data",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 08:35:12.951932",
"stderr": "",
"stderr_lines": [],
"stdout": "total 160K\ndrwxrwxr-x 8 ideascube www-data 32K Oct 22 18:56 aflatoun\ndrwxrwxr-x 6 ideascube www-data 32K Oct 22 19:28 edupi\ndrwxrwxr-x 9 ideascube www-data 32K Oct 22 20:05 kalite\ndrwxrwxr-x 2 ideascube www-data 32K Oct 22 14:33 test\ndrwxrwxr-x 2 ideascube www-data 32K Oct 22 18:27 wikifundi",
"stdout_lines": [
"total 160K",
"drwxrwxr-x 8 ideascube www-data 32K Oct 22 18:56 aflatoun",
"drwxrwxr-x 6 ideascube www-data 32K Oct 22 19:28 edupi",
"drwxrwxr-x 9 ideascube www-data 32K Oct 22 20:05 kalite",
"drwxrwxr-x 2 ideascube www-data 32K Oct 22 14:33 test",
"drwxrwxr-x 2 ideascube www-data 32K Oct 22 18:27 wikifundi"
]
}
TASK [variables : set python3.4 for jessie] ************************************
--> variables : set python3.4 for jessie
[STAGE 3/6: Image configuration (virtualized) - 34%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:19
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [variables : set python3.5 for stretch] ***********************************
--> variables : set python3.5 for stretch
[STAGE 3/6: Image configuration (virtualized) - 34%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:24
ok: [localhost] => {
"ansible_facts": {
"python3_version": "3.5"
},
"changed": false
}
TASK [variables : Set project_name and project_name_safe facts] ****************
--> variables : Set project_name and project_name_safe facts
[STAGE 3/6: Image configuration (virtualized) - 34%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:34
ok: [localhost] => {
"ansible_facts": {
"project_name": "Kiwix",
"project_name_safe": "kiwix"
},
"changed": false
}
TASK [variables : Set hostname and hostpot_name] *******************************
--> variables : Set hostname and hostpot_name
[STAGE 3/6: Image configuration (virtualized) - 34%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:39
ok: [localhost] => {
"ansible_facts": {
"cert_domain": "ideascube.hotspot",
"fqdn": "kiwix.hotspot",
"hostname": "kiwix",
"hotspot_name": "Kiwix"
},
"changed": false
}
TASK [variables : Update names and fqdns for all projects] *********************
--> variables : Update names and fqdns for all projects
[STAGE 3/6: Image configuration (virtualized) - 34%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:46
ok: [localhost] => {
"ansible_facts": {
"aflatoun_fqdn": "aflatoun.kiwix.hotspot",
"aflatoun_server_name": "aflatoun.kiwix",
"edupi_fqdn": "edupi.kiwix.hotspot",
"edupi_server_name": "edupi.kiwix",
"kalite_fqdn": "khanacademy.kiwix.hotspot",
"kalite_server_name": "khanacademy.kiwix",
"kiwix_fqdn": "kiwix.kiwix.hotspot",
"kiwix_server_name": "kiwix.kiwix",
"sites_fqdn": "sites.kiwix.hotspot",
"sites_server_name": "sites.kiwix",
"time_fqdn": "time.kiwix.hotspot",
"time_server_name": "time.kiwix",
"version_fqdn": "version.kiwix.hotspot",
"welcome_fqdn": "goto.kiwix.hotspot",
"wikifundi_fqdn": "wikifundi.kiwix.hotspot",
"wikifundi_server_name": "wikifundi.kiwix"
},
"changed": false
}
TASK [variables : Ensure hostname is in /etc/hosts] ****************************
--> variables : Ensure hostname is in /etc/hosts
[STAGE 3/6: Image configuration (virtualized) - 35%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:65
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541838932.45-176828908276861 `" && echo ansible-tmp-1541838932.45-176828908276861="` echo /root/.ansible/tmp/ansible-tmp-1541838932.45-176828908276861 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpFqokzy TO /root/.ansible/tmp/ansible-tmp-1541838932.45-176828908276861/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541838932.45-176828908276861/ /root/.ansible/tmp/ansible-tmp-1541838932.45-176828908276861/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541838932.45-176828908276861/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541838932.45-176828908276861/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"backup": "",
"changed": true,
"diff": [
{
"after": "",
"after_header": "/etc/hosts (content)",
"before": "",
"before_header": "/etc/hosts (content)"
},
{
"after_header": "/etc/hosts (file attributes)",
"before_header": "/etc/hosts (file attributes)"
}
],
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/etc/hosts",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": null,
"insertafter": null,
"insertbefore": null,
"line": "127.0.0.1 kiwix kiwix.hotspot",
"mode": null,
"owner": null,
"path": "/etc/hosts",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "present",
"unsafe_writes": null,
"validate": null
}
},
"msg": "line added"
}
TASK [variables : Set hostname using to kiwix.hotspot] *************************
--> variables : Set hostname using to kiwix.hotspot
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:71
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541838947.89-92950503051258 `" && echo ansible-tmp-1541838947.89-92950503051258="` echo /root/.ansible/tmp/ansible-tmp-1541838947.89-92950503051258 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/hostname.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp8BPAsU TO /root/.ansible/tmp/ansible-tmp-1541838947.89-92950503051258/hostname.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541838947.89-92950503051258/ /root/.ansible/tmp/ansible-tmp-1541838947.89-92950503051258/hostname.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541838947.89-92950503051258/hostname.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541838947.89-92950503051258/ > /dev/null 2>&1 && sleep 0'
NOTIFIED HANDLER restart systemd-logind for localhost
changed: [localhost] => {
"ansible_facts": {
"ansible_domain": "localdomain",
"ansible_fqdn": "localhost.localdomain",
"ansible_hostname": "kiwix",
"ansible_nodename": "kiwix.hotspot"
},
"changed": true,
"diff": {
"after": "hostname = kiwix.hotspot\n",
"before": "hostname = default.hotspot\n"
},
"invocation": {
"module_args": {
"name": "kiwix.hotspot"
}
},
"name": "kiwix.hotspot"
}
TASK [variables : Create config.fact file] *************************************
--> variables : Create config.fact file
[STAGE 3/6: Image configuration (virtualized) - 35%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:78
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541838982.75-144453767735465 `" && echo ansible-tmp-1541838982.75-144453767735465="` echo /root/.ansible/tmp/ansible-tmp-1541838982.75-144453767735465 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpy3ZTQ3 TO /root/.ansible/tmp/ansible-tmp-1541838982.75-144453767735465/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541838982.75-144453767735465/ /root/.ansible/tmp/ansible-tmp-1541838982.75-144453767735465/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541838982.75-144453767735465/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541838982.75-144453767735465/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"dest": "/etc/ansible/facts.d/config.fact",
"diff": {
"after": {
"path": "/etc/ansible/facts.d/config.fact"
},
"before": {
"path": "/etc/ansible/facts.d/config.fact"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "/etc/ansible/facts.d/config.fact",
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/etc/ansible/facts.d/config.fact",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/var/lib/ansible/local/extra_vars.json",
"state": "link",
"unsafe_writes": null
}
},
"mode": "0777",
"owner": "root",
"size": 38,
"src": "/var/lib/ansible/local/extra_vars.json",
"state": "link",
"uid": 0
}
TASK [variables : reload local facts] ******************************************
--> variables : reload local facts
[STAGE 3/6: Image configuration (virtualized) - 35%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:85
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541838998.0-31831277697453 `" && echo ansible-tmp-1541838998.0-31831277697453="` echo /root/.ansible/tmp/ansible-tmp-1541838998.0-31831277697453 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/setup.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp03vaGv TO /root/.ansible/tmp/ansible-tmp-1541838998.0-31831277697453/setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541838998.0-31831277697453/ /root/.ansible/tmp/ansible-tmp-1541838998.0-31831277697453/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541838998.0-31831277697453/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541838998.0-31831277697453/ > /dev/null 2>&1 && sleep 0'
ok: [localhost]
TASK [variables : debug] *******************************************************
--> variables : debug
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:91
ok: [localhost] => {
"msg": "My name is kiwix -- kiwix.hotspot"
}
TASK [system : Drop hosts file on device] **************************************
--> system : Drop hosts file on device
[STAGE 3/6: Image configuration (virtualized) - 36%]
task path: /var/lib/ansible/local/roles/system/tasks/main.yml:181
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642 `" && echo ansible-tmp-1541839019.5-144837050938642="` echo /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpaCCFRw TO /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/ /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp_x5l8L/hosts.j2 TO /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/ /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpM55d30 TO /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/ /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "d3a4c34653737b42639645aa9f6d16334876f840",
"dest": "/etc/hosts",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "hosts.j2",
"attributes": null,
"backup": false,
"checksum": "d3a4c34653737b42639645aa9f6d16334876f840",
"content": null,
"delimiter": null,
"dest": "/etc/hosts",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "d2e61f7ff8ac8dde245a6b3aab59da7e",
"mode": "0644",
"owner": "root",
"size": 440,
"src": "/root/.ansible/tmp/ansible-tmp-1541839019.5-144837050938642/source",
"state": "file",
"uid": 0
}
TASK [system : Remove the existing localtime file] *****************************
--> system : Remove the existing localtime file
[STAGE 3/6: Image configuration (virtualized) - 36%]
task path: /var/lib/ansible/local/roles/system/tasks/main.yml:278
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839049.73-118407589334833 `" && echo ansible-tmp-1541839049.73-118407589334833="` echo /root/.ansible/tmp/ansible-tmp-1541839049.73-118407589334833 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpR0KuqO TO /root/.ansible/tmp/ansible-tmp-1541839049.73-118407589334833/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839049.73-118407589334833/ /root/.ansible/tmp/ansible-tmp-1541839049.73-118407589334833/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839049.73-118407589334833/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839049.73-118407589334833/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"diff": {
"after": {
"path": "/etc/localtime",
"state": "absent"
},
"before": {
"path": "/etc/localtime",
"state": "link"
}
},
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/etc/localtime",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null
}
},
"path": "/etc/localtime",
"state": "absent"
}
TASK [system : Set a new localtime file corresponding to the timezone] *********
--> system : Set a new localtime file corresponding to the timezone
[STAGE 3/6: Image configuration (virtualized) - 36%]
task path: /var/lib/ansible/local/roles/system/tasks/main.yml:284
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839058.61-41601719262004 `" && echo ansible-tmp-1541839058.61-41601719262004="` echo /root/.ansible/tmp/ansible-tmp-1541839058.61-41601719262004 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpL4239v TO /root/.ansible/tmp/ansible-tmp-1541839058.61-41601719262004/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839058.61-41601719262004/ /root/.ansible/tmp/ansible-tmp-1541839058.61-41601719262004/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839058.61-41601719262004/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839058.61-41601719262004/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"dest": "/etc/localtime",
"diff": {
"after": {
"path": "/etc/localtime",
"state": "link"
},
"before": {
"path": "/etc/localtime",
"state": "absent"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "/etc/localtime",
"directory_mode": null,
"follow": true,
"force": true,
"group": null,
"mode": null,
"owner": null,
"path": "/etc/localtime",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/usr/share/zoneinfo/Europe/Berlin",
"state": "link",
"unsafe_writes": null
}
},
"mode": "0777",
"owner": "root",
"size": 33,
"src": "/usr/share/zoneinfo/Europe/Berlin",
"state": "link",
"uid": 0
}
TASK [system : Set timezone variables] *****************************************
--> system : Set timezone variables
[STAGE 3/6: Image configuration (virtualized) - 36%]
task path: /var/lib/ansible/local/roles/system/tasks/main.yml:292
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935 `" && echo ansible-tmp-1541839067.88-46482288831935="` echo /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpdBt9Fb TO /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/ /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp6r6r3v TO /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/ /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp5mzWMO TO /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/ /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/ > /dev/null 2>&1 && sleep 0'
NOTIFIED HANDLER update timezone for localhost
changed: [localhost] => {
"backup_file": "/etc/timezone.3243.2018-11-10@09:37:57~",
"changed": true,
"checksum": "d34f419876c03cf85365d9102477a4f5791451ae",
"dest": "/etc/timezone",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "tmp6r6r3v",
"attributes": null,
"backup": true,
"checksum": "d34f419876c03cf85365d9102477a4f5791451ae",
"content": null,
"delimiter": null,
"dest": "/etc/timezone",
"directory_mode": null,
"follow": false,
"force": true,
"group": "root",
"local_follow": null,
"mode": 420,
"owner": "root",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "f047a3577fcd6af23b47814293e293c0",
"mode": "0644",
"owner": "root",
"size": 13,
"src": "/root/.ansible/tmp/ansible-tmp-1541839067.88-46482288831935/source",
"state": "file",
"uid": 0
}
TASK [resize : Unmount /data partition] ****************************************
--> resize : Unmount /data partition
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:8
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839082.43-38334884753574 `" && echo ansible-tmp-1541839082.43-38334884753574="` echo /root/.ansible/tmp/ansible-tmp-1541839082.43-38334884753574 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpCTHrf0 TO /root/.ansible/tmp/ansible-tmp-1541839082.43-38334884753574/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839082.43-38334884753574/ /root/.ansible/tmp/ansible-tmp-1541839082.43-38334884753574/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839082.43-38334884753574/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839082.43-38334884753574/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"umount",
"/data"
],
"delta": "0:00:00.318704",
"end": "2018-11-10 09:38:07.578013",
"invocation": {
"module_args": {
"_raw_params": "umount /data",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:38:07.259309",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
TASK [resize : make sure data partition is removed from fstab] *****************
--> resize : make sure data partition is removed from fstab
[STAGE 3/6: Image configuration (virtualized) - 36%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:14
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839092.1-266217030298858 `" && echo ansible-tmp-1541839092.1-266217030298858="` echo /root/.ansible/tmp/ansible-tmp-1541839092.1-266217030298858 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpgVkwtE TO /root/.ansible/tmp/ansible-tmp-1541839092.1-266217030298858/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839092.1-266217030298858/ /root/.ansible/tmp/ansible-tmp-1541839092.1-266217030298858/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839092.1-266217030298858/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839092.1-266217030298858/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"backup": "",
"changed": true,
"diff": [
{
"after": "",
"after_header": "/etc/fstab (content)",
"before": "",
"before_header": "/etc/fstab (content)"
},
{
"after_header": "/etc/fstab (file attributes)",
"before_header": "/etc/fstab (file attributes)"
}
],
"found": 1,
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/etc/fstab",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": null,
"insertafter": null,
"insertbefore": null,
"line": null,
"mode": null,
"owner": null,
"path": "/etc/fstab",
"regexp": "exfat",
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null,
"validate": null
}
},
"msg": "1 line(s) removed"
}
TASK [resize : remove /data if it exists] **************************************
--> resize : remove /data if it exists
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:21
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839100.61-38623712665537 `" && echo ansible-tmp-1541839100.61-38623712665537="` echo /root/.ansible/tmp/ansible-tmp-1541839100.61-38623712665537 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp0i2VNH TO /root/.ansible/tmp/ansible-tmp-1541839100.61-38623712665537/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839100.61-38623712665537/ /root/.ansible/tmp/ansible-tmp-1541839100.61-38623712665537/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839100.61-38623712665537/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839100.61-38623712665537/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"diff": {
"after": {
"path": "/data",
"state": "absent"
},
"before": {
"path": "/data",
"state": "directory"
}
},
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "/data",
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/data",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null
}
},
"path": "/data",
"state": "absent"
}
TASK [resize : Copy partition table analysis script] ***************************
--> resize : Copy partition table analysis script
[STAGE 3/6: Image configuration (virtualized) - 37%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:27
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817 `" && echo ansible-tmp-1541839109.12-279989510967817="` echo /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp0FbIIo TO /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/ /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/stat.py && sleep 0'
<localhost> PUT /var/lib/ansible/local/partition_boundaries.py TO /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/ /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmplqkq0q TO /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/ /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "f2f6ad67fd47eb498c130a3f92670f1d1ac4f291",
"dest": "/tmp/partition_boundaries.py",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "partition_boundaries.py",
"attributes": null,
"backup": false,
"checksum": "f2f6ad67fd47eb498c130a3f92670f1d1ac4f291",
"content": null,
"delimiter": null,
"dest": "/tmp/partition_boundaries.py",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "60a772a8b3cf53fccfb92c8342686655",
"mode": "0644",
"owner": "root",
"size": 3806,
"src": "/root/.ansible/tmp/ansible-tmp-1541839109.12-279989510967817/source",
"state": "file",
"uid": 0
}
TASK [resize : display disk table] *********************************************
--> resize : display disk table
[STAGE 3/6: Image configuration (virtualized) - 37%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:33
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839122.38-193252469206643 `" && echo ansible-tmp-1541839122.38-193252469206643="` echo /root/.ansible/tmp/ansible-tmp-1541839122.38-193252469206643 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpxXHyhW TO /root/.ansible/tmp/ansible-tmp-1541839122.38-193252469206643/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839122.38-193252469206643/ /root/.ansible/tmp/ansible-tmp-1541839122.38-193252469206643/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839122.38-193252469206643/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839122.38-193252469206643/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"fdisk",
"-l",
"/dev/mmcblk0"
],
"delta": "0:00:00.415301",
"end": "2018-11-10 09:38:47.536733",
"invocation": {
"module_args": {
"_raw_params": "fdisk -l /dev/mmcblk0",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:38:47.121432",
"stderr": "",
"stderr_lines": [],
"stdout": "Disk /dev/mmcblk0: 59.5 GiB, 63860899840 bytes, 124728320 sectors\nUnits: sectors of 1 * 512 = 512 bytes\nSector size (logical/physical): 512 bytes / 512 bytes\nI/O size (minimum/optimal): 512 bytes / 512 bytes\nDisklabel type: dos\nDisk identifier: 0xc7cb7e34\n\nDevice Boot Start End Sectors Size Id Type\n/dev/mmcblk0p1 8192 96453 88262 43.1M c W95 FAT32 (LBA)\n/dev/mmcblk0p2 98304 13671936 13573633 6.5G 83 Linux\n/dev/mmcblk0p3 13671937 15148120 1476184 720.8M 7 HPFS/NTFS/exFAT",
"stdout_lines": [
"Disk /dev/mmcblk0: 59.5 GiB, 63860899840 bytes, 124728320 sectors",
"Units: sectors of 1 * 512 = 512 bytes",
"Sector size (logical/physical): 512 bytes / 512 bytes",
"I/O size (minimum/optimal): 512 bytes / 512 bytes",
"Disklabel type: dos",
"Disk identifier: 0xc7cb7e34",
"",
"Device Boot Start End Sectors Size Id Type",
"/dev/mmcblk0p1 8192 96453 88262 43.1M c W95 FAT32 (LBA)",
"/dev/mmcblk0p2 98304 13671936 13573633 6.5G 83 Linux",
"/dev/mmcblk0p3 13671937 15148120 1476184 720.8M 7 HPFS/NTFS/exFAT"
]
}
TASK [resize : Analyze disk partition table] ***********************************
--> resize : Analyze disk partition table
[STAGE 3/6: Image configuration (virtualized) - 37%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:37
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839132.76-163070655738879 `" && echo ansible-tmp-1541839132.76-163070655738879="` echo /root/.ansible/tmp/ansible-tmp-1541839132.76-163070655738879 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp4VD5ef TO /root/.ansible/tmp/ansible-tmp-1541839132.76-163070655738879/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839132.76-163070655738879/ /root/.ansible/tmp/ansible-tmp-1541839132.76-163070655738879/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839132.76-163070655738879/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839132.76-163070655738879/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "fdisk -l /dev/mmcblk0 | python /tmp/partition_boundaries.py 7000000000 63861073920",
"delta": "0:00:00.795107",
"end": "2018-11-10 09:38:59.293105",
"invocation": {
"module_args": {
"_raw_params": "fdisk -l /dev/mmcblk0 | python /tmp/partition_boundaries.py 7000000000 63861073920",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:38:58.497998",
"stderr": "",
"stderr_lines": [],
"stdout": "98304 13671936 13671937 124720530",
"stdout_lines": [
"98304 13671936 13671937 124720530"
]
}
TASK [resize : Delete partition table analysis script] *************************
--> resize : Delete partition table analysis script
[STAGE 3/6: Image configuration (virtualized) - 37%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:43
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839145.73-243741072091208 `" && echo ansible-tmp-1541839145.73-243741072091208="` echo /root/.ansible/tmp/ansible-tmp-1541839145.73-243741072091208 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmphevRDf TO /root/.ansible/tmp/ansible-tmp-1541839145.73-243741072091208/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839145.73-243741072091208/ /root/.ansible/tmp/ansible-tmp-1541839145.73-243741072091208/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839145.73-243741072091208/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839145.73-243741072091208/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"diff": {
"after": {
"path": "/tmp/partition_boundaries.py",
"state": "absent"
},
"before": {
"path": "/tmp/partition_boundaries.py",
"state": "file"
}
},
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/tmp/partition_boundaries.py",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null
}
},
"path": "/tmp/partition_boundaries.py",
"state": "absent"
}
TASK [resize : get number of partitions] ***************************************
--> resize : get number of partitions
[STAGE 3/6: Image configuration (virtualized) - 37%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:49
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839158.1-17377115134851 `" && echo ansible-tmp-1541839158.1-17377115134851="` echo /root/.ansible/tmp/ansible-tmp-1541839158.1-17377115134851 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpZn1lB6 TO /root/.ansible/tmp/ansible-tmp-1541839158.1-17377115134851/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839158.1-17377115134851/ /root/.ansible/tmp/ansible-tmp-1541839158.1-17377115134851/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839158.1-17377115134851/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839158.1-17377115134851/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "ls -l /dev/mmcblk0p* |wc -l",
"delta": "0:00:00.406190",
"end": "2018-11-10 09:39:23.563945",
"invocation": {
"module_args": {
"_raw_params": "ls -l /dev/mmcblk0p* |wc -l",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:39:23.157755",
"stderr": "",
"stderr_lines": [],
"stdout": "3",
"stdout_lines": [
"3"
]
}
TASK [resize : delete data partition if it exists] *****************************
--> resize : delete data partition if it exists
[STAGE 3/6: Image configuration (virtualized) - 38%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:54
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839167.89-159062969035315 `" && echo ansible-tmp-1541839167.89-159062969035315="` echo /root/.ansible/tmp/ansible-tmp-1541839167.89-159062969035315 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpnWOd9W TO /root/.ansible/tmp/ansible-tmp-1541839167.89-159062969035315/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839167.89-159062969035315/ /root/.ansible/tmp/ansible-tmp-1541839167.89-159062969035315/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839167.89-159062969035315/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839167.89-159062969035315/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "/bin/echo -e \"d\\n3\\nw\" | fdisk /dev/mmcblk0",
"delta": "0:00:00.592715",
"end": "2018-11-10 09:39:33.252485",
"invocation": {
"module_args": {
"_raw_params": "/bin/echo -e \"d\\n3\\nw\" | fdisk /dev/mmcblk0",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2018-11-10 09:39:32.659770",
"stderr": "Re-reading the partition table failed.: Device or resource busy",
"stderr_lines": [
"Re-reading the partition table failed.: Device or resource busy"
],
"stdout": "\nWelcome to fdisk (util-linux 2.29.2).\nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n\n\nCommand (m for help): Partition number (1-3, default 3): \nPartition 3 has been deleted.\n\nCommand (m for help): The partition table has been altered.\nCalling ioctl() to re-read partition table.\n\nThe kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).",
"stdout_lines": [
"",
"Welcome to fdisk (util-linux 2.29.2).",
"Changes will remain in memory only, until you decide to write them.",
"Be careful before using the write command.",
"",
"",
"Command (m for help): Partition number (1-3, default 3): ",
"Partition 3 has been deleted.",
"",
"Command (m for help): The partition table has been altered.",
"Calling ioctl() to re-read partition table.",
"",
"The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8)."
]
}
...ignoring
TASK [resize : informing kernel about partition deletion] **********************
--> resize : informing kernel about partition deletion
[STAGE 3/6: Image configuration (virtualized) - 38%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:61
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839176.86-71363891492458 `" && echo ansible-tmp-1541839176.86-71363891492458="` echo /root/.ansible/tmp/ansible-tmp-1541839176.86-71363891492458 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpfOe9Hs TO /root/.ansible/tmp/ansible-tmp-1541839176.86-71363891492458/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839176.86-71363891492458/ /root/.ansible/tmp/ansible-tmp-1541839176.86-71363891492458/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839176.86-71363891492458/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839176.86-71363891492458/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"partprobe",
"-s"
],
"delta": "0:00:03.680506",
"end": "2018-11-10 09:39:45.572090",
"invocation": {
"module_args": {
"_raw_params": "partprobe -s",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:39:41.891584",
"stderr": "",
"stderr_lines": [],
"stdout": "/dev/mtdblock0: msdos partitions\n/dev/mtdblock1: msdos partitions\n/dev/mmcblk0: msdos partitions 1 2",
"stdout_lines": [
"/dev/mtdblock0: msdos partitions",
"/dev/mtdblock1: msdos partitions",
"/dev/mmcblk0: msdos partitions 1 2"
]
}
TASK [resize : recreating root partition] **************************************
--> resize : recreating root partition
[STAGE 3/6: Image configuration (virtualized) - 38%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:67
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839189.9-22239228944123 `" && echo ansible-tmp-1541839189.9-22239228944123="` echo /root/.ansible/tmp/ansible-tmp-1541839189.9-22239228944123 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp4aKnJR TO /root/.ansible/tmp/ansible-tmp-1541839189.9-22239228944123/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839189.9-22239228944123/ /root/.ansible/tmp/ansible-tmp-1541839189.9-22239228944123/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839189.9-22239228944123/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839189.9-22239228944123/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "/bin/echo -e \"d\\n2\\nn\\np\\n2\\n98304\\n13671936\\nt\\n2\\n83\\nw\" | fdisk /dev/mmcblk0",
"delta": "0:00:00.659460",
"end": "2018-11-10 09:39:55.268193",
"invocation": {
"module_args": {
"_raw_params": "/bin/echo -e \"d\\n2\\nn\\np\\n2\\n98304\\n13671936\\nt\\n2\\n83\\nw\" | fdisk /dev/mmcblk0",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2018-11-10 09:39:54.608733",
"stderr": "Partition #2 contains a ext4 signature.\nRe-reading the partition table failed.: Device or resource busy",
"stderr_lines": [
"Partition #2 contains a ext4 signature.",
"Re-reading the partition table failed.: Device or resource busy"
],
"stdout": "\nWelcome to fdisk (util-linux 2.29.2).\nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n\n\nCommand (m for help): Partition number (1,2, default 2): \nPartition 2 has been deleted.\n\nCommand (m for help): Partition type\n p primary (1 primary, 0 extended, 3 free)\n e extended (container for logical partitions)\nSelect (default p): Partition number (2-4, default 2): First sector (2048-124728319, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (98304-124728319, default 124728319): \nCreated a new partition 2 of type 'Linux' and of size 6.5 GiB.\n\nCommand (m for help): Partition number (1,2, default 2): Partition type (type L to list all types): \nChanged type of partition 'Linux' to 'Linux'.\n\nCommand (m for help): The partition table has been altered.\nCalling ioctl() to re-read partition table.\n\nThe kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).",
"stdout_lines": [
"",
"Welcome to fdisk (util-linux 2.29.2).",
"Changes will remain in memory only, until you decide to write them.",
"Be careful before using the write command.",
"",
"",
"Command (m for help): Partition number (1,2, default 2): ",
"Partition 2 has been deleted.",
"",
"Command (m for help): Partition type",
" p primary (1 primary, 0 extended, 3 free)",
" e extended (container for logical partitions)",
"Select (default p): Partition number (2-4, default 2): First sector (2048-124728319, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (98304-124728319, default 124728319): ",
"Created a new partition 2 of type 'Linux' and of size 6.5 GiB.",
"",
"Command (m for help): Partition number (1,2, default 2): Partition type (type L to list all types): ",
"Changed type of partition 'Linux' to 'Linux'.",
"",
"Command (m for help): The partition table has been altered.",
"Calling ioctl() to re-read partition table.",
"",
"The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8)."
]
}
...ignoring
TASK [resize : informing kernel about root partition's new boundaries] *********
--> resize : informing kernel about root partition's new boundaries
[STAGE 3/6: Image configuration (virtualized) - 38%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:73
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839199.39-267924676494114 `" && echo ansible-tmp-1541839199.39-267924676494114="` echo /root/.ansible/tmp/ansible-tmp-1541839199.39-267924676494114 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp_aAUwV TO /root/.ansible/tmp/ansible-tmp-1541839199.39-267924676494114/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839199.39-267924676494114/ /root/.ansible/tmp/ansible-tmp-1541839199.39-267924676494114/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839199.39-267924676494114/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839199.39-267924676494114/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"partprobe",
"-s"
],
"delta": "0:00:04.628692",
"end": "2018-11-10 09:40:10.119293",
"invocation": {
"module_args": {
"_raw_params": "partprobe -s",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:40:05.490601",
"stderr": "",
"stderr_lines": [],
"stdout": "/dev/mtdblock0: msdos partitions\n/dev/mtdblock1: msdos partitions\n/dev/mmcblk0: msdos partitions 1 2",
"stdout_lines": [
"/dev/mtdblock0: msdos partitions",
"/dev/mtdblock1: msdos partitions",
"/dev/mmcblk0: msdos partitions 1 2"
]
}
TASK [resize : resize filesystem on root partition] ****************************
--> resize : resize filesystem on root partition
[STAGE 3/6: Image configuration (virtualized) - 38%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:78
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839215.5-136356265579239 `" && echo ansible-tmp-1541839215.5-136356265579239="` echo /root/.ansible/tmp/ansible-tmp-1541839215.5-136356265579239 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp8cAFl3 TO /root/.ansible/tmp/ansible-tmp-1541839215.5-136356265579239/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839215.5-136356265579239/ /root/.ansible/tmp/ansible-tmp-1541839215.5-136356265579239/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839215.5-136356265579239/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839215.5-136356265579239/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"resize2fs",
"/dev/mmcblk0p2"
],
"delta": "0:00:00.951600",
"end": "2018-11-10 09:40:21.213835",
"invocation": {
"module_args": {
"_raw_params": "resize2fs /dev/mmcblk0p2",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:40:20.262235",
"stderr": "resize2fs 1.43.4 (31-Jan-2017)\nThe filesystem is already 1696704 (4k) blocks long. Nothing to do!",
"stderr_lines": [
"resize2fs 1.43.4 (31-Jan-2017)",
"The filesystem is already 1696704 (4k) blocks long. Nothing to do!"
],
"stdout": "",
"stdout_lines": []
}
TASK [resize : Recreating third partition] *************************************
--> resize : Recreating third partition
[STAGE 3/6: Image configuration (virtualized) - 38%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:84
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839225.13-121172830977091 `" && echo ansible-tmp-1541839225.13-121172830977091="` echo /root/.ansible/tmp/ansible-tmp-1541839225.13-121172830977091 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpG7UOd3 TO /root/.ansible/tmp/ansible-tmp-1541839225.13-121172830977091/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839225.13-121172830977091/ /root/.ansible/tmp/ansible-tmp-1541839225.13-121172830977091/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839225.13-121172830977091/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839225.13-121172830977091/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "/bin/echo -e \"n\\np\\n3\\n13671937\\n124720530\\nt\\n3\\n7\\nw\" | fdisk /dev/mmcblk0",
"delta": "0:00:00.967442",
"end": "2018-11-10 09:40:31.317363",
"invocation": {
"module_args": {
"_raw_params": "/bin/echo -e \"n\\np\\n3\\n13671937\\n124720530\\nt\\n3\\n7\\nw\" | fdisk /dev/mmcblk0",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2018-11-10 09:40:30.349921",
"stderr": "Partition #3 contains a exfat signature.\nRe-reading the partition table failed.: Device or resource busy",
"stderr_lines": [
"Partition #3 contains a exfat signature.",
"Re-reading the partition table failed.: Device or resource busy"
],
"stdout": "\nWelcome to fdisk (util-linux 2.29.2).\nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n\n\nCommand (m for help): Partition type\n p primary (2 primary, 0 extended, 2 free)\n e extended (container for logical partitions)\nSelect (default p): Partition number (3,4, default 3): First sector (2048-124728319, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (13671937-124728319, default 124728319): \nCreated a new partition 3 of type 'Linux' and of size 53 GiB.\n\nCommand (m for help): Partition number (1-3, default 3): Partition type (type L to list all types): \nChanged type of partition 'Linux' to 'HPFS/NTFS/exFAT'.\n\nCommand (m for help): The partition table has been altered.\nCalling ioctl() to re-read partition table.\n\nThe kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).",
"stdout_lines": [
"",
"Welcome to fdisk (util-linux 2.29.2).",
"Changes will remain in memory only, until you decide to write them.",
"Be careful before using the write command.",
"",
"",
"Command (m for help): Partition type",
" p primary (2 primary, 0 extended, 2 free)",
" e extended (container for logical partitions)",
"Select (default p): Partition number (3,4, default 3): First sector (2048-124728319, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (13671937-124728319, default 124728319): ",
"Created a new partition 3 of type 'Linux' and of size 53 GiB.",
"",
"Command (m for help): Partition number (1-3, default 3): Partition type (type L to list all types): ",
"Changed type of partition 'Linux' to 'HPFS/NTFS/exFAT'.",
"",
"Command (m for help): The partition table has been altered.",
"Calling ioctl() to re-read partition table.",
"",
"The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8)."
]
}
...ignoring
TASK [resize : informing kernel about new data partition] **********************
--> resize : informing kernel about new data partition
[STAGE 3/6: Image configuration (virtualized) - 38%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:90
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839235.31-206543749720236 `" && echo ansible-tmp-1541839235.31-206543749720236="` echo /root/.ansible/tmp/ansible-tmp-1541839235.31-206543749720236 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpSS3tbv TO /root/.ansible/tmp/ansible-tmp-1541839235.31-206543749720236/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839235.31-206543749720236/ /root/.ansible/tmp/ansible-tmp-1541839235.31-206543749720236/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839235.31-206543749720236/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839235.31-206543749720236/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"partprobe",
"-s"
],
"delta": "0:00:02.920647",
"end": "2018-11-10 09:40:43.320853",
"invocation": {
"module_args": {
"_raw_params": "partprobe -s",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:40:40.400206",
"stderr": "",
"stderr_lines": [],
"stdout": "/dev/mtdblock0: msdos partitions\n/dev/mtdblock1: msdos partitions\n/dev/mmcblk0: msdos partitions 1 2 3",
"stdout_lines": [
"/dev/mtdblock0: msdos partitions",
"/dev/mtdblock1: msdos partitions",
"/dev/mmcblk0: msdos partitions 1 2 3"
]
}
TASK [resize : Formatting third partition (exfat)] *****************************
--> resize : Formatting third partition (exfat)
[STAGE 3/6: Image configuration (virtualized) - 39%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:95
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839251.1-208199186533758 `" && echo ansible-tmp-1541839251.1-208199186533758="` echo /root/.ansible/tmp/ansible-tmp-1541839251.1-208199186533758 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpYtE2kr TO /root/.ansible/tmp/ansible-tmp-1541839251.1-208199186533758/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839251.1-208199186533758/ /root/.ansible/tmp/ansible-tmp-1541839251.1-208199186533758/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839251.1-208199186533758/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839251.1-208199186533758/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"mkfs.exfat",
"/dev/mmcblk0p3"
],
"delta": "0:00:01.606730",
"end": "2018-11-10 09:40:57.190369",
"invocation": {
"module_args": {
"_raw_params": "mkfs.exfat /dev/mmcblk0p3",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:40:55.583639",
"stderr": "",
"stderr_lines": [],
"stdout": "mkexfatfs 1.2.8\nCreating... done.\nFlushing... done.\nFile system created successfully.",
"stdout_lines": [
"mkexfatfs 1.2.8",
"Creating... done.",
"Flushing... done.",
"File system created successfully."
]
}
TASK [resize : display disk table] *********************************************
--> resize : display disk table
[STAGE 3/6: Image configuration (virtualized) - 37%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:100
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839260.64-49967845315398 `" && echo ansible-tmp-1541839260.64-49967845315398="` echo /root/.ansible/tmp/ansible-tmp-1541839260.64-49967845315398 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp_gs49L TO /root/.ansible/tmp/ansible-tmp-1541839260.64-49967845315398/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839260.64-49967845315398/ /root/.ansible/tmp/ansible-tmp-1541839260.64-49967845315398/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839260.64-49967845315398/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839260.64-49967845315398/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"fdisk",
"-l",
"/dev/mmcblk0"
],
"delta": "0:00:00.204696",
"end": "2018-11-10 09:41:05.814699",
"invocation": {
"module_args": {
"_raw_params": "fdisk -l /dev/mmcblk0",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:41:05.610003",
"stderr": "",
"stderr_lines": [],
"stdout": "Disk /dev/mmcblk0: 59.5 GiB, 63860899840 bytes, 124728320 sectors\nUnits: sectors of 1 * 512 = 512 bytes\nSector size (logical/physical): 512 bytes / 512 bytes\nI/O size (minimum/optimal): 512 bytes / 512 bytes\nDisklabel type: dos\nDisk identifier: 0xc7cb7e34\n\nDevice Boot Start End Sectors Size Id Type\n/dev/mmcblk0p1 8192 96453 88262 43.1M c W95 FAT32 (LBA)\n/dev/mmcblk0p2 98304 13671936 13573633 6.5G 83 Linux\n/dev/mmcblk0p3 13671937 124720530 111048594 53G 7 HPFS/NTFS/exFAT",
"stdout_lines": [
"Disk /dev/mmcblk0: 59.5 GiB, 63860899840 bytes, 124728320 sectors",
"Units: sectors of 1 * 512 = 512 bytes",
"Sector size (logical/physical): 512 bytes / 512 bytes",
"I/O size (minimum/optimal): 512 bytes / 512 bytes",
"Disklabel type: dos",
"Disk identifier: 0xc7cb7e34",
"",
"Device Boot Start End Sectors Size Id Type",
"/dev/mmcblk0p1 8192 96453 88262 43.1M c W95 FAT32 (LBA)",
"/dev/mmcblk0p2 98304 13671936 13573633 6.5G 83 Linux",
"/dev/mmcblk0p3 13671937 124720530 111048594 53G 7 HPFS/NTFS/exFAT"
]
}
TASK [resize : display disk table] *********************************************
--> resize : display disk table
[STAGE 3/6: Image configuration (virtualized) - 37%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:104
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839269.91-120757786705434 `" && echo ansible-tmp-1541839269.91-120757786705434="` echo /root/.ansible/tmp/ansible-tmp-1541839269.91-120757786705434 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpJ2ppAw TO /root/.ansible/tmp/ansible-tmp-1541839269.91-120757786705434/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839269.91-120757786705434/ /root/.ansible/tmp/ansible-tmp-1541839269.91-120757786705434/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839269.91-120757786705434/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839269.91-120757786705434/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"fdisk",
"-l",
"/dev/mmcblk0p3"
],
"delta": "0:00:00.183983",
"end": "2018-11-10 09:41:14.993523",
"invocation": {
"module_args": {
"_raw_params": "fdisk -l /dev/mmcblk0p3",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:41:14.809540",
"stderr": "",
"stderr_lines": [],
"stdout": "Disk /dev/mmcblk0p3: 53 GiB, 56856880128 bytes, 111048594 sectors\nUnits: sectors of 1 * 512 = 512 bytes\nSector size (logical/physical): 512 bytes / 512 bytes\nI/O size (minimum/optimal): 512 bytes / 512 bytes\nDisklabel type: dos\nDisk identifier: 0x00000000",
"stdout_lines": [
"Disk /dev/mmcblk0p3: 53 GiB, 56856880128 bytes, 111048594 sectors",
"Units: sectors of 1 * 512 = 512 bytes",
"Sector size (logical/physical): 512 bytes / 512 bytes",
"I/O size (minimum/optimal): 512 bytes / 512 bytes",
"Disklabel type: dos",
"Disk identifier: 0x00000000"
]
}
TASK [resize : display exfat table] ********************************************
--> resize : display exfat table
[STAGE 3/6: Image configuration (virtualized) - 39%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:108
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839278.65-245678457969544 `" && echo ansible-tmp-1541839278.65-245678457969544="` echo /root/.ansible/tmp/ansible-tmp-1541839278.65-245678457969544 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpwGR2bO TO /root/.ansible/tmp/ansible-tmp-1541839278.65-245678457969544/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839278.65-245678457969544/ /root/.ansible/tmp/ansible-tmp-1541839278.65-245678457969544/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839278.65-245678457969544/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839278.65-245678457969544/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"dumpexfat",
"-s",
"/dev/mmcblk0p3"
],
"delta": "0:00:00.163179",
"end": "2018-11-10 09:41:23.604204",
"invocation": {
"module_args": {
"_raw_params": "dumpexfat -s /dev/mmcblk0p3",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:41:23.441025",
"stderr": "",
"stderr_lines": [],
"stdout": "Volume serial number 0x9983793a\nFS version 1.0\nSector size 512\nCluster size 131072\nSectors count 111048594\nClusters count 433769\nFirst sector 0\nFAT first sector 128\nFAT sectors count 3456\nFirst cluster sector 3584\nRoot directory cluster 4\nVolume state 0x0000\nFATs count 1\nDrive number 0x80\nAllocated space 0%",
"stdout_lines": [
"Volume serial number 0x9983793a",
"FS version 1.0",
"Sector size 512",
"Cluster size 131072",
"Sectors count 111048594",
"Clusters count 433769",
"First sector 0",
"FAT first sector 128",
"FAT sectors count 3456",
"First cluster sector 3584",
"Root directory cluster 4",
"Volume state 0x0000",
"FATs count 1",
"Drive number 0x80",
"Allocated space 0%"
]
}
TASK [resize : check exfat] ****************************************************
--> resize : check exfat
[STAGE 3/6: Image configuration (virtualized) - 39%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:112
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839287.74-240029338631908 `" && echo ansible-tmp-1541839287.74-240029338631908="` echo /root/.ansible/tmp/ansible-tmp-1541839287.74-240029338631908 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpkF5qg_ TO /root/.ansible/tmp/ansible-tmp-1541839287.74-240029338631908/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839287.74-240029338631908/ /root/.ansible/tmp/ansible-tmp-1541839287.74-240029338631908/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839287.74-240029338631908/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839287.74-240029338631908/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"fsck.exfat",
"/dev/mmcblk0p3"
],
"delta": "0:00:00.664284",
"end": "2018-11-10 09:41:33.114034",
"invocation": {
"module_args": {
"_raw_params": "fsck.exfat /dev/mmcblk0p3",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:41:32.449750",
"stderr": "",
"stderr_lines": [],
"stdout": "exfatfsck 1.2.8\nChecking file system on /dev/mmcblk0p3.\nFile system version 1.0\nSector size 512 bytes\nCluster size 128 KB\nVolume size 53 GB\nUsed space 2249 KB\nAvailable space 53 GB\nTotally 0 directories and 0 files.\nFile system checking finished. No errors found.",
"stdout_lines": [
"exfatfsck 1.2.8",
"Checking file system on /dev/mmcblk0p3.",
"File system version 1.0",
"Sector size 512 bytes",
"Cluster size 128 KB",
"Volume size 53 GB",
"Used space 2249 KB",
"Available space 53 GB",
"Totally 0 directories and 0 files.",
"File system checking finished. No errors found."
]
}
TASK [resize : create /data placeholder] ***************************************
--> resize : create /data placeholder
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:116
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839296.17-46306969387908 `" && echo ansible-tmp-1541839296.17-46306969387908="` echo /root/.ansible/tmp/ansible-tmp-1541839296.17-46306969387908 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpdaLhRA TO /root/.ansible/tmp/ansible-tmp-1541839296.17-46306969387908/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839296.17-46306969387908/ /root/.ansible/tmp/ansible-tmp-1541839296.17-46306969387908/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839296.17-46306969387908/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839296.17-46306969387908/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"diff": {
"after": {
"path": "/data"
},
"before": {
"path": "/data"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "/data",
"directory_mode": null,
"follow": true,
"force": false,
"group": "www-data",
"mode": 509,
"owner": "ideascube",
"path": "/data",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"mode": "0775",
"owner": "ideascube",
"path": "/data",
"size": 32768,
"state": "directory",
"uid": 1001
}
TASK [resize : installing a new fstab with longer device timeouts and /data mout point] ***
--> resize : installing a new fstab with longer device timeouts and /data mout point
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:125
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556 `" && echo ansible-tmp-1541839304.77-51261483160556="` echo /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpMQvPUR TO /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/ /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmphyUFVK/fstab.j2 TO /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/ /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpWjOD6j TO /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/ /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "053ce120fab80f9066a9758b598e1166657b6239",
"dest": "/etc/fstab",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "fstab.j2",
"attributes": null,
"backup": false,
"checksum": "053ce120fab80f9066a9758b598e1166657b6239",
"content": null,
"delimiter": null,
"dest": "/etc/fstab",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "cc77a248ca62d14925a3748a92f5e360",
"mode": "0644",
"owner": "root",
"size": 526,
"src": "/root/.ansible/tmp/ansible-tmp-1541839304.77-51261483160556/source",
"state": "file",
"uid": 0
}
TASK [resize : Mounting third partition to /data] ******************************
--> resize : Mounting third partition to /data
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:148
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839316.9-174646668500137 `" && echo ansible-tmp-1541839316.9-174646668500137="` echo /root/.ansible/tmp/ansible-tmp-1541839316.9-174646668500137 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpFALYTk TO /root/.ansible/tmp/ansible-tmp-1541839316.9-174646668500137/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839316.9-174646668500137/ /root/.ansible/tmp/ansible-tmp-1541839316.9-174646668500137/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839316.9-174646668500137/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839316.9-174646668500137/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": [
"mount",
"/data"
],
"delta": "0:00:00.272191",
"end": "2018-11-10 09:42:01.380593",
"invocation": {
"module_args": {
"_raw_params": "mount \"/data\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": false
}
},
"msg": "non-zero return code",
"rc": 32,
"start": "2018-11-10 09:42:01.108402",
"stderr": "mount: /dev/mmcblk0p3 is already mounted or /data busy\n /dev/mmcblk0p3 is already mounted on /data",
"stderr_lines": [
"mount: /dev/mmcblk0p3 is already mounted or /data busy",
" /dev/mmcblk0p3 is already mounted on /data"
],
"stdout": "",
"stdout_lines": []
}
...ignoring
TASK [resize : Create test directory] ******************************************
--> resize : Create test directory
[STAGE 3/6: Image configuration (virtualized) - 40%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:155
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541839324.61-180772907901823 `" && echo ansible-tmp-1541839324.61-180772907901823="` echo /var/tmp/ansible-tmp-1541839324.61-180772907901823 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpm3AL1r TO /var/tmp/ansible-tmp-1541839324.61-180772907901823/file.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541839324.61-180772907901823/ /var/tmp/ansible-tmp-1541839324.61-180772907901823/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541839324.61-180772907901823/ /var/tmp/ansible-tmp-1541839324.61-180772907901823/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541839324.61-180772907901823/ /var/tmp/ansible-tmp-1541839324.61-180772907901823/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-kyrxcheghmjltixewzltmhkrmfzmjmxs; /usr/bin/python /var/tmp/ansible-tmp-1541839324.61-180772907901823/file.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541839324.61-180772907901823/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=/data/test) => {
"changed": true,
"diff": {
"after": {
"path": "/data/test",
"state": "directory"
},
"before": {
"path": "/data/test",
"state": "absent"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/data/test",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": "/data/test",
"mode": "0775",
"owner": "ideascube",
"path": "/data/test",
"size": 32768,
"state": "directory",
"uid": 1001
}
TASK [nginx : install 502.html] ************************************************
--> nginx : install 502.html
[STAGE 3/6: Image configuration (virtualized) - 40%]
task path: /var/lib/ansible/local/roles/nginx/tasks/main.yml:11
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237 `" && echo ansible-tmp-1541839333.08-182277099916237="` echo /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp5_HIb0 TO /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/ /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpUnAfIk/502.html.j2 TO /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/ /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp6XuvLQ TO /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/ /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "0a1fefd6198d24be075815f74d0c1627261809f5",
"dest": "/var/www/502.html",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "502.html.j2",
"attributes": null,
"backup": false,
"checksum": "0a1fefd6198d24be075815f74d0c1627261809f5",
"content": null,
"delimiter": null,
"dest": "/var/www/502.html",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "b69d061e9fdfabe2803ee564abf91254",
"mode": "0644",
"owner": "root",
"size": 2137,
"src": "/root/.ansible/tmp/ansible-tmp-1541839333.08-182277099916237/source",
"state": "file",
"uid": 0
}
TASK [nginx : install 404.html] ************************************************
--> nginx : install 404.html
[STAGE 3/6: Image configuration (virtualized) - 40%]
task path: /var/lib/ansible/local/roles/nginx/tasks/main.yml:17
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335 `" && echo ansible-tmp-1541839344.68-55417122759335="` echo /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpszQ57Z TO /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/ /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp3lMgzp/404.html.j2 TO /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/ /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpNJheAF TO /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/ /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "ab6bb72e4bdbce0f113ba33cffb88a80d3ce08db",
"dest": "/var/www/404.html",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "404.html.j2",
"attributes": null,
"backup": false,
"checksum": "ab6bb72e4bdbce0f113ba33cffb88a80d3ce08db",
"content": null,
"delimiter": null,
"dest": "/var/www/404.html",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "80b6130c6512ba1c416c7543408e5ee8",
"mode": "0644",
"owner": "root",
"size": 1997,
"src": "/root/.ansible/tmp/ansible-tmp-1541839344.68-55417122759335/source",
"state": "file",
"uid": 0
}
TASK [nginx : install version.html] ********************************************
--> nginx : install version.html
[STAGE 3/6: Image configuration (virtualized) - 40%]
task path: /var/lib/ansible/local/roles/nginx/tasks/main.yml:23
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478 `" && echo ansible-tmp-1541839356.1-35464238583478="` echo /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpjLbAvj TO /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/ /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp2xaufZ/version.html.j2 TO /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/ /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpv0vu_7 TO /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/ /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "ce33c7fe81532cc0fa914c804db5f8ad6125604e",
"dest": "/var/www/version.html",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "version.html.j2",
"attributes": null,
"backup": false,
"checksum": "ce33c7fe81532cc0fa914c804db5f8ad6125604e",
"content": null,
"delimiter": null,
"dest": "/var/www/version.html",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "374e43a03a3d17aa44ae45fae3550805",
"mode": "0644",
"owner": "root",
"size": 1809,
"src": "/root/.ansible/tmp/ansible-tmp-1541839356.1-35464238583478/source",
"state": "file",
"uid": 0
}
TASK [nginx : install welcome redirect] ****************************************
--> nginx : install welcome redirect
[STAGE 3/6: Image configuration (virtualized) - 41%]
task path: /var/lib/ansible/local/roles/nginx/tasks/main.yml:44
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126 `" && echo ansible-tmp-1541839366.75-242171021235126="` echo /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp2qPa0w TO /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/ /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpTexRFf/welcome.j2 TO /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/ /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp0FGlyu TO /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/ /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "acd9767f1ec4581240b61167b4638481418f0921",
"dest": "/etc/nginx/sites-enabled/welcome",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "welcome.j2",
"attributes": null,
"backup": false,
"checksum": "acd9767f1ec4581240b61167b4638481418f0921",
"content": null,
"delimiter": null,
"dest": "/etc/nginx/sites-enabled/welcome",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "0d7d6953d10b34f743ddaafa8cd876d2",
"mode": "0644",
"owner": "root",
"size": 105,
"src": "/root/.ansible/tmp/ansible-tmp-1541839366.75-242171021235126/source",
"state": "file",
"uid": 0
}
TASK [nginx : install version vhost] *******************************************
--> nginx : install version vhost
[STAGE 3/6: Image configuration (virtualized) - 41%]
task path: /var/lib/ansible/local/roles/nginx/tasks/main.yml:51
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954 `" && echo ansible-tmp-1541839378.02-33925720081954="` echo /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpeBu7kk TO /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/ /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp07dX5U/version.j2 TO /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/ /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpk9wavp TO /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/ /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "51a6f8adecb44e369b17f2c364debe7559549dd9",
"dest": "/etc/nginx/sites-enabled/version",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "version.j2",
"attributes": null,
"backup": false,
"checksum": "51a6f8adecb44e369b17f2c364debe7559549dd9",
"content": null,
"delimiter": null,
"dest": "/etc/nginx/sites-enabled/version",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "d6b7b3ba21e2e8f89362a5c66183ac15",
"mode": "0644",
"owner": "root",
"size": 269,
"src": "/root/.ansible/tmp/ansible-tmp-1541839378.02-33925720081954/source",
"state": "file",
"uid": 0
}
TASK [dnsmasq : Copy dnsmasq.conf file] ****************************************
--> dnsmasq : Copy dnsmasq.conf file
[STAGE 3/6: Image configuration (virtualized) - 41%]
task path: /var/lib/ansible/local/roles/dnsmasq/tasks/main.yml:15
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599 `" && echo ansible-tmp-1541839390.68-110960823425599="` echo /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpihzHzo TO /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/ /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp8YREOv/dnsmasq.conf.j2 TO /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/ /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpe9esV4 TO /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/ /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"backup_file": "/etc/dnsmasq.conf.4422.2018-11-10@09:43:19~",
"changed": true,
"checksum": "58aacc2fec5e999eb460f51f8557ed4905ca266b",
"dest": "/etc/dnsmasq.conf",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "dnsmasq.conf.j2",
"attributes": null,
"backup": true,
"checksum": "58aacc2fec5e999eb460f51f8557ed4905ca266b",
"content": null,
"delimiter": null,
"dest": "/etc/dnsmasq.conf",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "f021ef47f7e92ee0c63c9f9321205384",
"mode": "0644",
"owner": "root",
"size": 365,
"src": "/root/.ansible/tmp/ansible-tmp-1541839390.68-110960823425599/source",
"state": "file",
"uid": 0
}
TASK [hostapd : Copy hostapd.conf file] ****************************************
--> hostapd : Copy hostapd.conf file
[STAGE 3/6: Image configuration (virtualized) - 41%]
task path: /var/lib/ansible/local/roles/hostapd/tasks/main.yml:22
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514 `" && echo ansible-tmp-1541839403.09-18758215093514="` echo /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpORQbf1 TO /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/ /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpnNYMAj/hostapd.conf.j2 TO /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/ /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpGUESad TO /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/ /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/ > /dev/null 2>&1 && sleep 0'
NOTIFIED HANDLER restart hostapd for localhost
changed: [localhost] => {
"changed": true,
"checksum": "a1d3b41b44992a993532a092712c40c215bdc433",
"dest": "/etc/hostapd/hostapd.conf",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "hostapd.conf.j2",
"attributes": null,
"backup": false,
"checksum": "a1d3b41b44992a993532a092712c40c215bdc433",
"content": null,
"delimiter": null,
"dest": "/etc/hostapd/hostapd.conf",
"directory_mode": null,
"follow": false,
"force": true,
"group": "root",
"local_follow": null,
"mode": 493,
"owner": "root",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "010b7546f37485b00a3465802777e863",
"mode": "0755",
"owner": "root",
"size": 338,
"src": "/root/.ansible/tmp/ansible-tmp-1541839403.09-18758215093514/source",
"state": "file",
"uid": 0
}
TASK [ideascube : Create ideascube handlers directories] ***********************
--> ideascube : Create ideascube handlers directories
[STAGE 3/6: Image configuration (virtualized) - 41%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:36
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839415.23-73346294975825 `" && echo ansible-tmp-1541839415.23-73346294975825="` echo /root/.ansible/tmp/ansible-tmp-1541839415.23-73346294975825 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpxbr24T TO /root/.ansible/tmp/ansible-tmp-1541839415.23-73346294975825/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839415.23-73346294975825/ /root/.ansible/tmp/ansible-tmp-1541839415.23-73346294975825/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839415.23-73346294975825/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839415.23-73346294975825/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"diff": {
"after": {
"path": "/data/ideascube",
"state": "directory"
},
"before": {
"path": "/data/ideascube",
"state": "absent"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/data/ideascube",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"mode": "0775",
"owner": "ideascube",
"path": "/data/ideascube",
"size": 32768,
"state": "directory",
"uid": 1001
}
TASK [ideascube : change ownership of ideascube handlers directories] **********
--> ideascube : change ownership of ideascube handlers directories
[STAGE 3/6: Image configuration (virtualized) - 42%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:42
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839423.03-169103890079361 `" && echo ansible-tmp-1541839423.03-169103890079361="` echo /root/.ansible/tmp/ansible-tmp-1541839423.03-169103890079361 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpaS2pLH TO /root/.ansible/tmp/ansible-tmp-1541839423.03-169103890079361/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839423.03-169103890079361/ /root/.ansible/tmp/ansible-tmp-1541839423.03-169103890079361/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839423.03-169103890079361/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839423.03-169103890079361/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=kiwix) => {
"changed": true,
"diff": {
"after": {
"group": 33,
"mode": "0775",
"path": "/var/ideascube/kiwix"
},
"before": {
"group": 1001,
"mode": "0755",
"path": "/var/ideascube/kiwix"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": "www-data",
"mode": 509,
"owner": "ideascube",
"path": "/var/ideascube/kiwix",
"recurse": true,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": "kiwix",
"mode": "0775",
"owner": "ideascube",
"path": "/var/ideascube/kiwix",
"size": 4096,
"state": "directory",
"uid": 1001
}
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839428.15-144657873143152 `" && echo ansible-tmp-1541839428.15-144657873143152="` echo /root/.ansible/tmp/ansible-tmp-1541839428.15-144657873143152 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpEsDkIl TO /root/.ansible/tmp/ansible-tmp-1541839428.15-144657873143152/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839428.15-144657873143152/ /root/.ansible/tmp/ansible-tmp-1541839428.15-144657873143152/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839428.15-144657873143152/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839428.15-144657873143152/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=nginx) => {
"changed": true,
"diff": {
"after": {
"group": 33,
"mode": "0775",
"owner": 1001,
"path": "/var/ideascube/nginx",
"state": "directory"
},
"before": {
"group": 0,
"mode": "0755",
"owner": 0,
"path": "/var/ideascube/nginx",
"state": "absent"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": "www-data",
"mode": 509,
"owner": "ideascube",
"path": "/var/ideascube/nginx",
"recurse": true,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": "nginx",
"mode": "0775",
"owner": "ideascube",
"path": "/var/ideascube/nginx",
"size": 4096,
"state": "directory",
"uid": 1001
}
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839433.33-62851021044042 `" && echo ansible-tmp-1541839433.33-62851021044042="` echo /root/.ansible/tmp/ansible-tmp-1541839433.33-62851021044042 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpyg8iQl TO /root/.ansible/tmp/ansible-tmp-1541839433.33-62851021044042/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839433.33-62851021044042/ /root/.ansible/tmp/ansible-tmp-1541839433.33-62851021044042/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839433.33-62851021044042/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839433.33-62851021044042/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=mediacenter) => {
"changed": true,
"diff": {
"after": {
"group": 33,
"mode": "0775",
"owner": 1001,
"path": "/var/ideascube/mediacenter",
"state": "directory"
},
"before": {
"group": 0,
"mode": "0755",
"owner": 0,
"path": "/var/ideascube/mediacenter",
"state": "absent"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": "www-data",
"mode": 509,
"owner": "ideascube",
"path": "/var/ideascube/mediacenter",
"recurse": true,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": "mediacenter",
"mode": "0775",
"owner": "ideascube",
"path": "/var/ideascube/mediacenter",
"size": 4096,
"state": "directory",
"uid": 1001
}
TASK [ideascube : move ideascube handlers directories] *************************
--> ideascube : move ideascube handlers directories
[STAGE 3/6: Image configuration (virtualized) - 42%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:53
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839440.79-24337683672109 `" && echo ansible-tmp-1541839440.79-24337683672109="` echo /root/.ansible/tmp/ansible-tmp-1541839440.79-24337683672109 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpGk7vut TO /root/.ansible/tmp/ansible-tmp-1541839440.79-24337683672109/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839440.79-24337683672109/ /root/.ansible/tmp/ansible-tmp-1541839440.79-24337683672109/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839440.79-24337683672109/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839440.79-24337683672109/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=kiwix) => {
"changed": true,
"cmd": [
"mv",
"/var/ideascube/kiwix",
"/data/ideascube/"
],
"delta": "0:00:00.189234",
"end": "2018-11-10 09:44:04.469265",
"invocation": {
"module_args": {
"_raw_params": "mv /var/ideascube/kiwix /data/ideascube/",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"item": "kiwix",
"rc": 0,
"start": "2018-11-10 09:44:04.280031",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839445.83-135050932133943 `" && echo ansible-tmp-1541839445.83-135050932133943="` echo /root/.ansible/tmp/ansible-tmp-1541839445.83-135050932133943 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpybvn8W TO /root/.ansible/tmp/ansible-tmp-1541839445.83-135050932133943/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839445.83-135050932133943/ /root/.ansible/tmp/ansible-tmp-1541839445.83-135050932133943/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839445.83-135050932133943/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839445.83-135050932133943/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=nginx) => {
"changed": true,
"cmd": [
"mv",
"/var/ideascube/nginx",
"/data/ideascube/"
],
"delta": "0:00:00.149803",
"end": "2018-11-10 09:44:09.190767",
"invocation": {
"module_args": {
"_raw_params": "mv /var/ideascube/nginx /data/ideascube/",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"item": "nginx",
"rc": 0,
"start": "2018-11-10 09:44:09.040964",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839450.06-127329687500786 `" && echo ansible-tmp-1541839450.06-127329687500786="` echo /root/.ansible/tmp/ansible-tmp-1541839450.06-127329687500786 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpUO1NDh TO /root/.ansible/tmp/ansible-tmp-1541839450.06-127329687500786/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839450.06-127329687500786/ /root/.ansible/tmp/ansible-tmp-1541839450.06-127329687500786/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839450.06-127329687500786/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839450.06-127329687500786/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=mediacenter) => {
"changed": true,
"cmd": [
"mv",
"/var/ideascube/mediacenter",
"/data/ideascube/"
],
"delta": "0:00:00.184246",
"end": "2018-11-10 09:44:13.983867",
"invocation": {
"module_args": {
"_raw_params": "mv /var/ideascube/mediacenter /data/ideascube/",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"item": "mediacenter",
"rc": 0,
"start": "2018-11-10 09:44:13.799621",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
TASK [ideascube : Symlink ideascube handlers in idascube folder] ***************
--> ideascube : Symlink ideascube handlers in idascube folder
[STAGE 3/6: Image configuration (virtualized) - 42%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:59
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839458.48-16605755358959 `" && echo ansible-tmp-1541839458.48-16605755358959="` echo /root/.ansible/tmp/ansible-tmp-1541839458.48-16605755358959 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpbWC1IO TO /root/.ansible/tmp/ansible-tmp-1541839458.48-16605755358959/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839458.48-16605755358959/ /root/.ansible/tmp/ansible-tmp-1541839458.48-16605755358959/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839458.48-16605755358959/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839458.48-16605755358959/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=kiwix) => {
"changed": true,
"dest": "/var/ideascube/kiwix",
"diff": {
"after": {
"path": "/var/ideascube/kiwix",
"state": "link"
},
"before": {
"path": "/var/ideascube/kiwix",
"state": "absent"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "/var/ideascube/kiwix",
"directory_mode": null,
"follow": true,
"force": true,
"group": null,
"mode": null,
"owner": null,
"path": "/var/ideascube/kiwix",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/data/ideascube/kiwix",
"state": "link",
"unsafe_writes": null
}
},
"item": "kiwix",
"mode": "0777",
"owner": "root",
"size": 21,
"src": "/data/ideascube/kiwix",
"state": "link",
"uid": 0
}
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839465.14-21840302175686 `" && echo ansible-tmp-1541839465.14-21840302175686="` echo /root/.ansible/tmp/ansible-tmp-1541839465.14-21840302175686 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmprnAjD5 TO /root/.ansible/tmp/ansible-tmp-1541839465.14-21840302175686/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839465.14-21840302175686/ /root/.ansible/tmp/ansible-tmp-1541839465.14-21840302175686/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839465.14-21840302175686/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839465.14-21840302175686/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=nginx) => {
"changed": true,
"dest": "/var/ideascube/nginx",
"diff": {
"after": {
"path": "/var/ideascube/nginx",
"state": "link"
},
"before": {
"path": "/var/ideascube/nginx",
"state": "absent"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "/var/ideascube/nginx",
"directory_mode": null,
"follow": true,
"force": true,
"group": null,
"mode": null,
"owner": null,
"path": "/var/ideascube/nginx",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/data/ideascube/nginx",
"state": "link",
"unsafe_writes": null
}
},
"item": "nginx",
"mode": "0777",
"owner": "root",
"size": 21,
"src": "/data/ideascube/nginx",
"state": "link",
"uid": 0
}
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839470.33-219389450379435 `" && echo ansible-tmp-1541839470.33-219389450379435="` echo /root/.ansible/tmp/ansible-tmp-1541839470.33-219389450379435 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp9dTIl9 TO /root/.ansible/tmp/ansible-tmp-1541839470.33-219389450379435/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839470.33-219389450379435/ /root/.ansible/tmp/ansible-tmp-1541839470.33-219389450379435/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839470.33-219389450379435/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839470.33-219389450379435/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=mediacenter) => {
"changed": true,
"dest": "/var/ideascube/mediacenter",
"diff": {
"after": {
"path": "/var/ideascube/mediacenter",
"state": "link"
},
"before": {
"path": "/var/ideascube/mediacenter",
"state": "absent"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "/var/ideascube/mediacenter",
"directory_mode": null,
"follow": true,
"force": true,
"group": null,
"mode": null,
"owner": null,
"path": "/var/ideascube/mediacenter",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/data/ideascube/mediacenter",
"state": "link",
"unsafe_writes": null
}
},
"item": "mediacenter",
"mode": "0777",
"owner": "root",
"size": 27,
"src": "/data/ideascube/mediacenter",
"state": "link",
"uid": 0
}
TASK [ideascube : debug] *******************************************************
--> ideascube : debug
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:76
skipping: [localhost] => {}
TASK [ideascube : Ensure the branding directory exists] ************************
--> ideascube : Ensure the branding directory exists
[STAGE 3/6: Image configuration (virtualized) - 42%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:78
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [ideascube : stat] ********************************************************
--> ideascube : stat
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:86
skipping: [localhost] => (item=favicon.png) => {
"changed": false,
"item": "favicon.png",
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => (item=header-logo.png) => {
"changed": false,
"item": "header-logo.png",
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => (item=style.css) => {
"changed": false,
"item": "style.css",
"skip_reason": "Conditional result was False"
}
TASK [ideascube : copy] ********************************************************
--> ideascube : copy
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:94
skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'favicon.png', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'favicon.png'}) => {
"changed": false,
"item": {
"changed": false,
"item": "favicon.png",
"skip_reason": "Conditional result was False",
"skipped": true
},
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'header-logo.png', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'header-logo.png'}) => {
"changed": false,
"item": {
"changed": false,
"item": "header-logo.png",
"skip_reason": "Conditional result was False",
"skipped": true
},
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'style.css', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'style.css'}) => {
"changed": false,
"item": {
"changed": false,
"item": "style.css",
"skip_reason": "Conditional result was False",
"skipped": true
},
"skip_reason": "Conditional result was False"
}
TASK [ideascube : Create ideascube configuration file] *************************
--> ideascube : Create ideascube configuration file
[STAGE 3/6: Image configuration (virtualized) - 43%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:106
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217 `" && echo ansible-tmp-1541839487.62-93093692044217="` echo /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpxs9vza TO /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/ /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpF0WH1J/pibox.py.j2 TO /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/ /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpUVQRdn TO /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/ /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/ > /dev/null 2>&1 && sleep 0'
NOTIFIED HANDLER restart uwsgi for localhost
changed: [localhost] => {
"changed": true,
"checksum": "2b4d4e3195043ad209d82ef367bcb852fc11a659",
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "pibox.py.j2",
"attributes": null,
"backup": false,
"checksum": "2b4d4e3195043ad209d82ef367bcb852fc11a659",
"content": null,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": 420,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "aa664ea9b048bb75a76b9483d89f4bbc",
"mode": "0644",
"owner": "root",
"size": 476,
"src": "/root/.ansible/tmp/ansible-tmp-1541839487.62-93093692044217/source",
"state": "file",
"uid": 0
}
TASK [ideascube : Edit pibox.py to change ALLOWED_HOSTS] ***********************
--> ideascube : Edit pibox.py to change ALLOWED_HOSTS
[STAGE 3/6: Image configuration (virtualized) - 43%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:114
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839500.78-180618895749660 `" && echo ansible-tmp-1541839500.78-180618895749660="` echo /root/.ansible/tmp/ansible-tmp-1541839500.78-180618895749660 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpgTuvtW TO /root/.ansible/tmp/ansible-tmp-1541839500.78-180618895749660/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839500.78-180618895749660/ /root/.ansible/tmp/ansible-tmp-1541839500.78-180618895749660/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839500.78-180618895749660/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839500.78-180618895749660/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"after": null,
"attributes": null,
"backup": false,
"before": null,
"content": null,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"directory_mode": null,
"encoding": "utf-8",
"follow": false,
"force": null,
"group": null,
"mode": null,
"owner": null,
"path": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"regexp": "^ALLOWED_HOSTS =.+$",
"remote_src": null,
"replace": "ALLOWED_HOSTS = [\".kiwix.hotspot\", \"kiwix.hotspot\", \"kiwix\", \"localhost\", \"127.0.0.1\"]",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"unsafe_writes": null,
"validate": null
}
},
"msg": ""
}
TASK [ideascube : Edit pibox.py to change DOMAIN] ******************************
--> ideascube : Edit pibox.py to change DOMAIN
[STAGE 3/6: Image configuration (virtualized) - 43%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:122
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839513.97-24346953613775 `" && echo ansible-tmp-1541839513.97-24346953613775="` echo /root/.ansible/tmp/ansible-tmp-1541839513.97-24346953613775 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp5DB8cx TO /root/.ansible/tmp/ansible-tmp-1541839513.97-24346953613775/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839513.97-24346953613775/ /root/.ansible/tmp/ansible-tmp-1541839513.97-24346953613775/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839513.97-24346953613775/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839513.97-24346953613775/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"after": null,
"attributes": null,
"backup": false,
"before": null,
"content": null,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"directory_mode": null,
"encoding": "utf-8",
"follow": false,
"force": null,
"group": null,
"mode": null,
"owner": null,
"path": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"regexp": "^DOMAIN = .+",
"remote_src": null,
"replace": "DOMAIN = \"kiwix.hotspot\"",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"unsafe_writes": null,
"validate": null
}
},
"msg": ""
}
TASK [ideascube : Edit pibox.py to change cards URLs] **************************
--> ideascube : Edit pibox.py to change cards URLs
[STAGE 3/6: Image configuration (virtualized) - 43%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:130
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839521.65-180981038520750 `" && echo ansible-tmp-1541839521.65-180981038520750="` echo /root/.ansible/tmp/ansible-tmp-1541839521.65-180981038520750 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpuDripS TO /root/.ansible/tmp/ansible-tmp-1541839521.65-180981038520750/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839521.65-180981038520750/ /root/.ansible/tmp/ansible-tmp-1541839521.65-180981038520750/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839521.65-180981038520750/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839521.65-180981038520750/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item={u'slug': u'fr.wikifundi', u'fqdn': u'fr.wikifundi.kiwix.hotspot'}) => {
"changed": false,
"invocation": {
"module_args": {
"after": null,
"attributes": null,
"backup": false,
"before": null,
"content": null,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"directory_mode": null,
"encoding": "utf-8",
"follow": false,
"force": null,
"group": null,
"mode": null,
"owner": null,
"path": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"regexp": "^ \"url\": \"http://fr.wikifundi.+$",
"remote_src": null,
"replace": " \"url\": \"http://fr.wikifundi.kiwix.hotspot\",",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"unsafe_writes": null,
"validate": null
}
},
"item": {
"fqdn": "fr.wikifundi.kiwix.hotspot",
"slug": "fr.wikifundi"
},
"msg": ""
}
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839526.65-143656001358317 `" && echo ansible-tmp-1541839526.65-143656001358317="` echo /root/.ansible/tmp/ansible-tmp-1541839526.65-143656001358317 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpAxQuc8 TO /root/.ansible/tmp/ansible-tmp-1541839526.65-143656001358317/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839526.65-143656001358317/ /root/.ansible/tmp/ansible-tmp-1541839526.65-143656001358317/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839526.65-143656001358317/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839526.65-143656001358317/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item={u'slug': u'en.wikifundi', u'fqdn': u'en.wikifundi.kiwix.hotspot'}) => {
"changed": false,
"invocation": {
"module_args": {
"after": null,
"attributes": null,
"backup": false,
"before": null,
"content": null,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"directory_mode": null,
"encoding": "utf-8",
"follow": false,
"force": null,
"group": null,
"mode": null,
"owner": null,
"path": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"regexp": "^ \"url\": \"http://en.wikifundi.+$",
"remote_src": null,
"replace": " \"url\": \"http://en.wikifundi.kiwix.hotspot\",",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"unsafe_writes": null,
"validate": null
}
},
"item": {
"fqdn": "en.wikifundi.kiwix.hotspot",
"slug": "en.wikifundi"
},
"msg": ""
}
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839530.82-49522816235800 `" && echo ansible-tmp-1541839530.82-49522816235800="` echo /root/.ansible/tmp/ansible-tmp-1541839530.82-49522816235800 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpWj5BdF TO /root/.ansible/tmp/ansible-tmp-1541839530.82-49522816235800/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839530.82-49522816235800/ /root/.ansible/tmp/ansible-tmp-1541839530.82-49522816235800/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839530.82-49522816235800/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839530.82-49522816235800/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item={u'slug': u'aflatoun', u'fqdn': u'aflatoun.kiwix.hotspot'}) => {
"changed": false,
"invocation": {
"module_args": {
"after": null,
"attributes": null,
"backup": false,
"before": null,
"content": null,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"directory_mode": null,
"encoding": "utf-8",
"follow": false,
"force": null,
"group": null,
"mode": null,
"owner": null,
"path": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"regexp": "^ \"url\": \"http://aflatoun.+$",
"remote_src": null,
"replace": " \"url\": \"http://aflatoun.kiwix.hotspot\",",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"unsafe_writes": null,
"validate": null
}
},
"item": {
"fqdn": "aflatoun.kiwix.hotspot",
"slug": "aflatoun"
},
"msg": ""
}
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839535.6-201579097093030 `" && echo ansible-tmp-1541839535.6-201579097093030="` echo /root/.ansible/tmp/ansible-tmp-1541839535.6-201579097093030 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpCH1ET2 TO /root/.ansible/tmp/ansible-tmp-1541839535.6-201579097093030/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839535.6-201579097093030/ /root/.ansible/tmp/ansible-tmp-1541839535.6-201579097093030/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839535.6-201579097093030/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839535.6-201579097093030/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item={u'slug': u'edupi', u'fqdn': u'edupi.kiwix.hotspot'}) => {
"changed": false,
"invocation": {
"module_args": {
"after": null,
"attributes": null,
"backup": false,
"before": null,
"content": null,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"directory_mode": null,
"encoding": "utf-8",
"follow": false,
"force": null,
"group": null,
"mode": null,
"owner": null,
"path": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/conf/pibox.py",
"regexp": "^ \"url\": \"http://edupi.+$",
"remote_src": null,
"replace": " \"url\": \"http://edupi.kiwix.hotspot\",",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"unsafe_writes": null,
"validate": null
}
},
"item": {
"fqdn": "edupi.kiwix.hotspot",
"slug": "edupi"
},
"msg": ""
}
TASK [ideascube : Check if ideascube super user is installed] ******************
--> ideascube : Check if ideascube super user is installed
[STAGE 3/6: Image configuration (virtualized) - 43%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:163
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541839543.06-268198278711702 `" && echo ansible-tmp-1541839543.06-268198278711702="` echo /var/tmp/ansible-tmp-1541839543.06-268198278711702 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp3DLLj5 TO /var/tmp/ansible-tmp-1541839543.06-268198278711702/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541839543.06-268198278711702/ /var/tmp/ansible-tmp-1541839543.06-268198278711702/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541839543.06-268198278711702/ /var/tmp/ansible-tmp-1541839543.06-268198278711702/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541839543.06-268198278711702/ /var/tmp/ansible-tmp-1541839543.06-268198278711702/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-pbsrqukywdmihotlwezbijdnfrabgzkz; ADMIN_ACCOUNT=admin /usr/bin/python /var/tmp/ansible-tmp-1541839543.06-268198278711702/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541839543.06-268198278711702/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ideascube",
"shell",
"-c",
"import os; from ideascube.models import User; print('****{}****'.format(User.objects.filter(serial=os.environ.get('ADMIN_ACCOUNT')).count()))"
],
"delta": "0:00:26.780310",
"end": "2018-11-10 09:46:16.183163",
"invocation": {
"module_args": {
"_raw_params": "ideascube shell -c \"import os; from ideascube.models import User; print('****{}****'.format(User.objects.filter(serial=os.environ.get('ADMIN_ACCOUNT')).count()))\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:45:49.402853",
"stderr": "",
"stderr_lines": [],
"stdout": "\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m\n****0****",
"stdout_lines": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m",
"\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m",
"****0****"
]
}
TASK [ideascube : Install Ideascube super user] ********************************
--> ideascube : Install Ideascube super user
[STAGE 3/6: Image configuration (virtualized) - 43%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:173
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541839580.37-281240725685952 `" && echo ansible-tmp-1541839580.37-281240725685952="` echo /var/tmp/ansible-tmp-1541839580.37-281240725685952 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpH7qNE1 TO /var/tmp/ansible-tmp-1541839580.37-281240725685952/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541839580.37-281240725685952/ /var/tmp/ansible-tmp-1541839580.37-281240725685952/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541839580.37-281240725685952/ /var/tmp/ansible-tmp-1541839580.37-281240725685952/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541839580.37-281240725685952/ /var/tmp/ansible-tmp-1541839580.37-281240725685952/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-zphqeyehhfhhxbseyprgudyhkrjlcgdr; ADMIN_ACCOUNT=admin ADMIN_PASSWORD=admin-password /usr/bin/python /var/tmp/ansible-tmp-1541839580.37-281240725685952/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541839580.37-281240725685952/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ideascube",
"shell",
"-c",
"import os; from ideascube.models import User; User.objects.create_superuser(os.environ.get('ADMIN_ACCOUNT'), os.environ.get('ADMIN_PASSWORD'))"
],
"delta": "0:00:27.126337",
"end": "2018-11-10 09:46:52.639320",
"invocation": {
"module_args": {
"_raw_params": "ideascube shell -c \"import os; from ideascube.models import User; User.objects.create_superuser(os.environ.get('ADMIN_ACCOUNT'), os.environ.get('ADMIN_PASSWORD'))\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:46:25.512983",
"stderr": "",
"stderr_lines": [],
"stdout": "\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m",
"stdout_lines": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m",
"\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m"
]
}
TASK [ideascube : Set Ideascube name] ******************************************
--> ideascube : Set Ideascube name
[STAGE 3/6: Image configuration (virtualized) - 44%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:201
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541839615.87-240664670624813 `" && echo ansible-tmp-1541839615.87-240664670624813="` echo /var/tmp/ansible-tmp-1541839615.87-240664670624813 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpOz4rmW TO /var/tmp/ansible-tmp-1541839615.87-240664670624813/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541839615.87-240664670624813/ /var/tmp/ansible-tmp-1541839615.87-240664670624813/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541839615.87-240664670624813/ /var/tmp/ansible-tmp-1541839615.87-240664670624813/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541839615.87-240664670624813/ /var/tmp/ansible-tmp-1541839615.87-240664670624813/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-vjmppkfoufqowomzxyjxxpbodhsvarsn; /usr/bin/python /var/tmp/ansible-tmp-1541839615.87-240664670624813/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541839615.87-240664670624813/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ideascube",
"config",
"set",
"server",
"site-name",
"kiwix"
],
"delta": "0:00:30.651959",
"end": "2018-11-10 09:47:31.633859",
"invocation": {
"module_args": {
"_raw_params": "ideascube config set server site-name kiwix",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:47:00.981900",
"stderr": "",
"stderr_lines": [],
"stdout": "\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m",
"stdout_lines": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m",
"\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m"
]
}
TASK [ideascube : Ensure a kiwix library file is built] ************************
--> ideascube : Ensure a kiwix library file is built
[STAGE 3/6: Image configuration (virtualized) - 44%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:207
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541839654.69-266204062131394 `" && echo ansible-tmp-1541839654.69-266204062131394="` echo /var/tmp/ansible-tmp-1541839654.69-266204062131394 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpaLanDC TO /var/tmp/ansible-tmp-1541839654.69-266204062131394/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541839654.69-266204062131394/ /var/tmp/ansible-tmp-1541839654.69-266204062131394/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541839654.69-266204062131394/ /var/tmp/ansible-tmp-1541839654.69-266204062131394/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541839654.69-266204062131394/ /var/tmp/ansible-tmp-1541839654.69-266204062131394/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-ugpowhnunmqfjhefwlxkmojgsyhvvyov; /usr/bin/python /var/tmp/ansible-tmp-1541839654.69-266204062131394/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541839654.69-266204062131394/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ideascube",
"shell",
"-c",
"from ideascube.serveradmin.catalog import Kiwix ; Kiwix.commit()"
],
"delta": "0:00:32.680969",
"end": "2018-11-10 09:48:12.172893",
"invocation": {
"module_args": {
"_raw_params": "ideascube shell -c \"from ideascube.serveradmin.catalog import Kiwix ; Kiwix.commit()\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:47:39.491924",
"stderr": "",
"stderr_lines": [],
"stdout": "\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m\nRebuilding the Kiwix library\nRestarting service kiwix-server",
"stdout_lines": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m",
"\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m",
"Rebuilding the Kiwix library",
"Restarting service kiwix-server"
]
}
TASK [ideascube : remove wrong server name in ideascube vhost] *****************
--> ideascube : remove wrong server name in ideascube vhost
[STAGE 3/6: Image configuration (virtualized) - 44%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:248
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839695.68-113931827439938 `" && echo ansible-tmp-1541839695.68-113931827439938="` echo /root/.ansible/tmp/ansible-tmp-1541839695.68-113931827439938 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpul3Lly TO /root/.ansible/tmp/ansible-tmp-1541839695.68-113931827439938/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839695.68-113931827439938/ /root/.ansible/tmp/ansible-tmp-1541839695.68-113931827439938/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839695.68-113931827439938/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839695.68-113931827439938/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"backup": "",
"changed": true,
"diff": [
{
"after": "",
"after_header": "/etc/nginx/sites-available/ideascube (content)",
"before": "",
"before_header": "/etc/nginx/sites-available/ideascube (content)"
},
{
"after_header": "/etc/nginx/sites-available/ideascube (file attributes)",
"before_header": "/etc/nginx/sites-available/ideascube (file attributes)"
}
],
"found": 2,
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/etc/nginx/sites-available/ideascube",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": null,
"insertafter": null,
"insertbefore": null,
"line": null,
"mode": null,
"owner": null,
"path": "/etc/nginx/sites-available/ideascube",
"regexp": "^ server_name",
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null,
"validate": null
}
},
"msg": "2 line(s) removed"
}
TASK [ideascube : Fix nginx vhost for ideascube] *******************************
--> ideascube : Fix nginx vhost for ideascube
[STAGE 3/6: Image configuration (virtualized) - 44%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:254
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839703.67-157145330782157 `" && echo ansible-tmp-1541839703.67-157145330782157="` echo /root/.ansible/tmp/ansible-tmp-1541839703.67-157145330782157 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpNXl8WB TO /root/.ansible/tmp/ansible-tmp-1541839703.67-157145330782157/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839703.67-157145330782157/ /root/.ansible/tmp/ansible-tmp-1541839703.67-157145330782157/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839703.67-157145330782157/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839703.67-157145330782157/ > /dev/null 2>&1 && sleep 0'
NOTIFIED HANDLER restart nginx for localhost
changed: [localhost] => {
"backup": "",
"changed": true,
"diff": [
{
"after": "",
"after_header": "/etc/nginx/sites-available/ideascube (content)",
"before": "",
"before_header": "/etc/nginx/sites-available/ideascube (content)"
},
{
"after_header": "/etc/nginx/sites-available/ideascube (file attributes)",
"before_header": "/etc/nginx/sites-available/ideascube (file attributes)"
}
],
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/etc/nginx/sites-available/ideascube",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": null,
"insertafter": "^ # the domain name it will serve for",
"insertbefore": null,
"line": " server_name kiwix.hotspot kiwix;",
"mode": null,
"owner": null,
"path": "/etc/nginx/sites-available/ideascube",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "present",
"unsafe_writes": null,
"validate": null
}
},
"msg": "line added"
}
TASK [ideascube : Fix nginx vhost for ideascube (static files)] ****************
--> ideascube : Fix nginx vhost for ideascube (static files)
[STAGE 3/6: Image configuration (virtualized) - 44%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:262
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839710.91-56952539398689 `" && echo ansible-tmp-1541839710.91-56952539398689="` echo /root/.ansible/tmp/ansible-tmp-1541839710.91-56952539398689 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpIPuAWD TO /root/.ansible/tmp/ansible-tmp-1541839710.91-56952539398689/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839710.91-56952539398689/ /root/.ansible/tmp/ansible-tmp-1541839710.91-56952539398689/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839710.91-56952539398689/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839710.91-56952539398689/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"backup": "",
"changed": true,
"diff": [
{
"after": "",
"after_header": "/etc/nginx/sites-available/ideascube (content)",
"before": "",
"before_header": "/etc/nginx/sites-available/ideascube (content)"
},
{
"after_header": "/etc/nginx/sites-available/ideascube (file attributes)",
"before_header": "/etc/nginx/sites-available/ideascube (file attributes)"
}
],
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/etc/nginx/sites-available/ideascube",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": null,
"insertafter": null,
"insertbefore": "^ root",
"line": " server_name sites.kiwix.hotspot sites.kiwix;",
"mode": null,
"owner": null,
"path": "/etc/nginx/sites-available/ideascube",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "present",
"unsafe_writes": null,
"validate": null
}
},
"msg": "line added"
}
TASK [kiwix : Remove nginx configuration otherwise, if hostname var change it won't be overrided] ***
--> kiwix : Remove nginx configuration otherwise, if hostname var change it won't be overrided
[STAGE 3/6: Image configuration (virtualized) - 44%]
task path: /var/lib/ansible/local/roles/kiwix/tasks/main.yml:52
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839718.29-120021821067964 `" && echo ansible-tmp-1541839718.29-120021821067964="` echo /root/.ansible/tmp/ansible-tmp-1541839718.29-120021821067964 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpSgPTOf TO /root/.ansible/tmp/ansible-tmp-1541839718.29-120021821067964/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839718.29-120021821067964/ /root/.ansible/tmp/ansible-tmp-1541839718.29-120021821067964/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839718.29-120021821067964/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839718.29-120021821067964/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"diff": {
"after": {
"path": "/etc/nginx/sites-available/kiwix",
"state": "absent"
},
"before": {
"path": "/etc/nginx/sites-available/kiwix",
"state": "file"
}
},
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/etc/nginx/sites-available/kiwix",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null
}
},
"path": "/etc/nginx/sites-available/kiwix",
"state": "absent"
}
TASK [kiwix : Copy nginx vhost] ************************************************
--> kiwix : Copy nginx vhost
[STAGE 3/6: Image configuration (virtualized) - 45%]
task path: /var/lib/ansible/local/roles/kiwix/tasks/main.yml:58
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265 `" && echo ansible-tmp-1541839725.21-97111068777265="` echo /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp1gai1b TO /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/ /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpz0IAWd/nginx.vhost.j2 TO /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/ /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpIcnoPj TO /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/ /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "1fcc3a2574770dcf93f41beddb50017ea0db5e66",
"dest": "/etc/nginx/sites-available/kiwix",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "nginx.vhost.j2",
"attributes": null,
"backup": false,
"checksum": "1fcc3a2574770dcf93f41beddb50017ea0db5e66",
"content": null,
"delimiter": null,
"dest": "/etc/nginx/sites-available/kiwix",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "fb7fff8ff9db8c23e12d219d45ac7528",
"mode": "0644",
"owner": "root",
"size": 650,
"src": "/root/.ansible/tmp/ansible-tmp-1541839725.21-97111068777265/source",
"state": "file",
"uid": 0
}
TASK [kiwix : Nginx enable Virtual host] ***************************************
--> kiwix : Nginx enable Virtual host
[STAGE 3/6: Image configuration (virtualized) - 45%]
task path: /var/lib/ansible/local/roles/kiwix/tasks/main.yml:74
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839736.68-250309660909729 `" && echo ansible-tmp-1541839736.68-250309660909729="` echo /root/.ansible/tmp/ansible-tmp-1541839736.68-250309660909729 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp0UT8OV TO /root/.ansible/tmp/ansible-tmp-1541839736.68-250309660909729/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839736.68-250309660909729/ /root/.ansible/tmp/ansible-tmp-1541839736.68-250309660909729/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839736.68-250309660909729/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839736.68-250309660909729/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"dest": "/etc/nginx/sites-enabled/kiwix",
"diff": {
"after": {
"path": "/etc/nginx/sites-enabled/kiwix"
},
"before": {
"path": "/etc/nginx/sites-enabled/kiwix"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "/etc/nginx/sites-enabled/kiwix",
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/etc/nginx/sites-enabled/kiwix",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/etc/nginx/sites-available/kiwix",
"state": "link",
"unsafe_writes": null
}
},
"mode": "0777",
"owner": "root",
"size": 32,
"src": "/etc/nginx/sites-available/kiwix",
"state": "link",
"uid": 0
}
TASK [clock : create password file for clock] **********************************
--> clock : create password file for clock
[STAGE 3/6: Image configuration (virtualized) - 45%]
task path: /var/lib/ansible/local/roles/clock/tasks/main.yml:23
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839743.82-229174945729237 `" && echo ansible-tmp-1541839743.82-229174945729237="` echo /root/.ansible/tmp/ansible-tmp-1541839743.82-229174945729237 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpt8BR8r TO /root/.ansible/tmp/ansible-tmp-1541839743.82-229174945729237/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839743.82-229174945729237/ /root/.ansible/tmp/ansible-tmp-1541839743.82-229174945729237/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'ADMIN_ACCOUNT=admin ADMIN_PASSWORD=admin-password /usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839743.82-229174945729237/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839743.82-229174945729237/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "python -c 'import os ; from random import choice; from crypt import crypt ; from string import ascii_letters, digits ; symbols = ascii_letters + digits ; salt = choice(symbols) + choice(symbols) ; print(\"{u}:{p}\\n\".format(u=os.environ.get(\"ADMIN_ACCOUNT\", \"admin\"), p=crypt(os.environ.get(\"ADMIN_PASSWORD\", \"admin\"), salt)))' > /var/www/.admin-passwd",
"delta": "0:00:00.701995",
"end": "2018-11-10 09:49:07.980694",
"invocation": {
"module_args": {
"_raw_params": "python -c 'import os ; from random import choice; from crypt import crypt ; from string import ascii_letters, digits ; symbols = ascii_letters + digits ; salt = choice(symbols) + choice(symbols) ; print(\"{u}:{p}\\n\".format(u=os.environ.get(\"ADMIN_ACCOUNT\", \"admin\"), p=crypt(os.environ.get(\"ADMIN_PASSWORD\", \"admin\"), salt)))' > /var/www/.admin-passwd",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:49:07.278699",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
TASK [clock : Add nginx specific configuration file] ***************************
--> clock : Add nginx specific configuration file
[STAGE 3/6: Image configuration (virtualized) - 45%]
task path: /var/lib/ansible/local/roles/clock/tasks/main.yml:58
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512 `" && echo ansible-tmp-1541839751.24-194726378407512="` echo /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmphba7Kz TO /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/ /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpJ_L9T1/nginx.conf.j2 TO /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/ /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpYc96wz TO /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/ /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "ddacd807a851d30e014b309db88b98b74af7859b",
"dest": "/etc/nginx/sites-available/clock",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "nginx.conf.j2",
"attributes": null,
"backup": false,
"checksum": "ddacd807a851d30e014b309db88b98b74af7859b",
"content": null,
"delimiter": null,
"dest": "/etc/nginx/sites-available/clock",
"directory_mode": null,
"follow": false,
"force": true,
"group": "root",
"local_follow": null,
"mode": 420,
"owner": "root",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "9204312fef5cb05a7914bfcf8af39c6a",
"mode": "0644",
"owner": "root",
"size": 368,
"src": "/root/.ansible/tmp/ansible-tmp-1541839751.24-194726378407512/source",
"state": "file",
"uid": 0
}
TASK [captive_portal : Copy captive portal script to /var/www/captiveportal] ***
--> captive_portal : Copy captive portal script to /var/www/captiveportal
[STAGE 3/6: Image configuration (virtualized) - 45%]
task path: /var/lib/ansible/local/roles/captive_portal/tasks/main.yml:31
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054 `" && echo ansible-tmp-1541839763.32-20812381908054="` echo /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpQQGeOg TO /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/ /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp68w9B5/cap.py.j2 TO /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/ /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/source && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/copy.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpanZiYg TO /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/ /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "5d0b43c5df4d4edcf6ac2602d2ba2f06b780520d",
"dest": "/var/www/captiveportal/cap.py",
"diff": [],
"gid": 1001,
"group": "ideascube",
"invocation": {
"module_args": {
"_original_basename": "cap.py.j2",
"attributes": null,
"backup": false,
"checksum": "5d0b43c5df4d4edcf6ac2602d2ba2f06b780520d",
"content": null,
"delimiter": null,
"dest": "/var/www/captiveportal/cap.py",
"directory_mode": null,
"follow": false,
"force": true,
"group": "ideascube",
"local_follow": null,
"mode": 493,
"owner": "ideascube",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "5d010e7557d73accb7b12d50b39a24ed",
"mode": "0755",
"owner": "ideascube",
"size": 6098,
"src": "/root/.ansible/tmp/ansible-tmp-1541839763.32-20812381908054/source",
"state": "file",
"uid": 1001
}
TASK [captive_portal : Create Certificate Signing Request] *********************
--> captive_portal : Create Certificate Signing Request
[STAGE 3/6: Image configuration (virtualized) - 45%]
task path: /var/lib/ansible/local/roles/captive_portal/tasks/main.yml:87
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839776.6-75385769129590 `" && echo ansible-tmp-1541839776.6-75385769129590="` echo /root/.ansible/tmp/ansible-tmp-1541839776.6-75385769129590 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmp2HqjvU TO /root/.ansible/tmp/ansible-tmp-1541839776.6-75385769129590/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839776.6-75385769129590/ /root/.ansible/tmp/ansible-tmp-1541839776.6-75385769129590/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839776.6-75385769129590/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839776.6-75385769129590/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"openssl",
"req",
"-new",
"-sha256",
"-key",
"/etc/nginx/ssl/ideascube.key",
"-out",
"/etc/nginx/ssl/ideascube.csr",
"-subj",
"/C=CH/ST=Vaud/L=Lausanne/O=Kiwix/OU=Kiwix Hotspot/CN=kiwix.hotspot"
],
"delta": "0:00:00.591355",
"end": "2018-11-10 09:49:41.124019",
"invocation": {
"module_args": {
"_raw_params": "openssl req -new -sha256 -key /etc/nginx/ssl/ideascube.key -out /etc/nginx/ssl/ideascube.csr -subj \"/C=CH/ST=Vaud/L=Lausanne/O=Kiwix/OU=Kiwix Hotspot/CN=kiwix.hotspot\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:49:40.532664",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
TASK [captive_portal : Sign the certificate] ***********************************
--> captive_portal : Sign the certificate
[STAGE 3/6: Image configuration (virtualized) - 46%]
task path: /var/lib/ansible/local/roles/captive_portal/tasks/main.yml:91
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839784.42-143177759372156 `" && echo ansible-tmp-1541839784.42-143177759372156="` echo /root/.ansible/tmp/ansible-tmp-1541839784.42-143177759372156 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpkJF68M TO /root/.ansible/tmp/ansible-tmp-1541839784.42-143177759372156/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839784.42-143177759372156/ /root/.ansible/tmp/ansible-tmp-1541839784.42-143177759372156/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839784.42-143177759372156/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839784.42-143177759372156/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"openssl",
"x509",
"-req",
"-sha256",
"-days",
"3650",
"-in",
"/etc/nginx/ssl/ideascube.csr",
"-signkey",
"/etc/nginx/ssl/ideascube.key",
"-out",
"/etc/nginx/ssl/ideascube.crt"
],
"delta": "0:00:00.843928",
"end": "2018-11-10 09:49:48.716746",
"invocation": {
"module_args": {
"_raw_params": "openssl x509 -req -sha256 -days 3650 -in /etc/nginx/ssl/ideascube.csr -signkey /etc/nginx/ssl/ideascube.key -out /etc/nginx/ssl/ideascube.crt",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:49:47.872818",
"stderr": "Signature ok\nsubject=C = CH, ST = Vaud, L = Lausanne, O = Kiwix, OU = Kiwix Hotspot, CN = kiwix.hotspot\nGetting Private key",
"stderr_lines": [
"Signature ok",
"subject=C = CH, ST = Vaud, L = Lausanne, O = Kiwix, OU = Kiwix Hotspot, CN = kiwix.hotspot",
"Getting Private key"
],
"stdout": "",
"stdout_lines": []
}
TASK [wikifundi_setup : set parsoid config] ************************************
--> wikifundi_setup : set parsoid config
[STAGE 3/6: Image configuration (virtualized) - 46%]
task path: /var/lib/ansible/local/roles/wikifundi_setup/tasks/mediawiki.yml:238
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [wikifundi_setup : create wikifundi data folder] **************************
--> wikifundi_setup : create wikifundi data folder
[STAGE 3/6: Image configuration (virtualized) - 46%]
task path: /var/lib/ansible/local/roles/wikifundi_setup/tasks/main.yml:4
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [wikifundi_setup : Copy nginx vhosts] *************************************
--> wikifundi_setup : Copy nginx vhosts
[STAGE 3/6: Image configuration (virtualized) - 46%]
task path: /var/lib/ansible/local/roles/wikifundi_setup/tasks/main.yml:10
TASK [aflatoun_setup : Create working directory] *******************************
--> aflatoun_setup : Create working directory
[STAGE 3/6: Image configuration (virtualized) - 46%]
task path: /var/lib/ansible/local/roles/aflatoun_setup/tasks/main.yml:5
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [aflatoun_setup : Initialize aflatoun and Create an admin user] ***********
--> aflatoun_setup : Initialize aflatoun and Create an admin user
[STAGE 3/6: Image configuration (virtualized) - 46%]
task path: /var/lib/ansible/local/roles/aflatoun_setup/tasks/main.yml:36
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [aflatoun_setup : Initialize Aflatoun without creating an admin user] *****
--> aflatoun_setup : Initialize Aflatoun without creating an admin user
[STAGE 3/6: Image configuration (virtualized) - 47%]
task path: /var/lib/ansible/local/roles/aflatoun_setup/tasks/main.yml:48
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [aflatoun_setup : Copy nginx vhost] ***************************************
--> aflatoun_setup : Copy nginx vhost
[STAGE 3/6: Image configuration (virtualized) - 47%]
task path: /var/lib/ansible/local/roles/aflatoun_setup/tasks/main.yml:60
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [edupi_setup : Create directories] ****************************************
--> edupi_setup : Create directories
[STAGE 3/6: Image configuration (virtualized) - 47%]
task path: /var/lib/ansible/local/roles/edupi_setup/tasks/main.yml:24
skipping: [localhost] => (item=/data/edupi/) => {
"changed": false,
"item": "/data/edupi/",
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => (item=/data/edupi/database) => {
"changed": false,
"item": "/data/edupi/database",
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => (item=/data/edupi/static) => {
"changed": false,
"item": "/data/edupi/static",
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => (item=/data/edupi/media) => {
"changed": false,
"item": "/data/edupi/media",
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => (item=/data/edupi/stats) => {
"changed": false,
"item": "/data/edupi/stats",
"skip_reason": "Conditional result was False"
}
TASK [edupi_setup : Replace allowed hosts] *************************************
--> edupi_setup : Replace allowed hosts
[STAGE 3/6: Image configuration (virtualized) - 47%]
task path: /var/lib/ansible/local/roles/edupi_setup/tasks/main.yml:63
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [edupi_setup : Replace EduPi DATA_ROOT] ***********************************
--> edupi_setup : Replace EduPi DATA_ROOT
[STAGE 3/6: Image configuration (virtualized) - 47%]
task path: /var/lib/ansible/local/roles/edupi_setup/tasks/main.yml:72
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [edupi_setup : collectstatic edupi] ***************************************
--> edupi_setup : collectstatic edupi
[STAGE 3/6: Image configuration (virtualized) - 48%]
task path: /var/lib/ansible/local/roles/edupi_setup/tasks/main.yml:81
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [edupi_setup : Manage migrate] ********************************************
--> edupi_setup : Manage migrate
[STAGE 3/6: Image configuration (virtualized) - 48%]
task path: /var/lib/ansible/local/roles/edupi_setup/tasks/main.yml:107
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [edupi_setup : Check if EduPi super user is installed] ********************
--> edupi_setup : Check if EduPi super user is installed
[STAGE 3/6: Image configuration (virtualized) - 48%]
task path: /var/lib/ansible/local/roles/edupi_setup/tasks/main.yml:113
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [edupi_setup : Install EduPi super user] **********************************
--> edupi_setup : Install EduPi super user
[STAGE 3/6: Image configuration (virtualized) - 48%]
task path: /var/lib/ansible/local/roles/edupi_setup/tasks/main.yml:123
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [edupi_setup : Copy nginx vhost] ******************************************
--> edupi_setup : Copy nginx vhost
[STAGE 3/6: Image configuration (virtualized) - 48%]
task path: /var/lib/ansible/local/roles/edupi_setup/tasks/main.yml:133
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [kalite_setup : Ensure kalite folder exists on data part] *****************
--> kalite_setup : Ensure kalite folder exists on data part
[STAGE 3/6: Image configuration (virtualized) - 48%]
task path: /var/lib/ansible/local/roles/kalite_setup/tasks/main.yml:6
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [kalite_setup : Create a user admin for kalite] ***************************
--> kalite_setup : Create a user admin for kalite
[STAGE 3/6: Image configuration (virtualized) - 48%]
task path: /var/lib/ansible/local/roles/kalite_setup/tasks/main.yml:37
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [kalite_setup : Run kalite manage setup without admin user] ***************
--> kalite_setup : Run kalite manage setup without admin user
[STAGE 3/6: Image configuration (virtualized) - 49%]
task path: /var/lib/ansible/local/roles/kalite_setup/tasks/main.yml:51
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [kalite_setup : Copy nginx vhost] *****************************************
--> kalite_setup : Copy nginx vhost
[STAGE 3/6: Image configuration (virtualized) - 49%]
task path: /var/lib/ansible/local/roles/kalite_setup/tasks/main.yml:63
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [packages : Add CSS for package icon] *************************************
--> packages : Add CSS for package icon
[STAGE 3/6: Image configuration (virtualized) - 49%]
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:30
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839827.26-69610908998623 `" && echo ansible-tmp-1541839827.26-69610908998623="` echo /root/.ansible/tmp/ansible-tmp-1541839827.26-69610908998623 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpq87ruQ TO /root/.ansible/tmp/ansible-tmp-1541839827.26-69610908998623/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839827.26-69610908998623/ /root/.ansible/tmp/ansible-tmp-1541839827.26-69610908998623/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839827.26-69610908998623/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839827.26-69610908998623/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=wikipedia_ab_all_novid.ab) => {
"backup": "",
"changed": true,
"diff": [
{
"after": "",
"after_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (content)",
"before": "",
"before_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (content)"
},
{
"after_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (file attributes)",
"before_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (file attributes)"
}
],
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": null,
"insertafter": "EOF",
"insertbefore": null,
"line": ".card.wikipedia_ab_all_novid { background-image: url(\"http://kiwix.kiwix.hotspot/wikipedia_ab_all_novid.ab/-/favicon\"); }",
"mode": null,
"owner": null,
"path": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "present",
"unsafe_writes": null,
"validate": null
}
},
"item": "wikipedia_ab_all_novid.ab",
"msg": "line added"
}
TASK [wikifundi_content : stat] ************************************************
--> wikifundi_content : stat
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:28
TASK [wikifundi_content : add parsoid config to LocalSettings.custom] **********
--> wikifundi_content : add parsoid config to LocalSettings.custom
[STAGE 3/6: Image configuration (virtualized) - 49%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:34
TASK [wikifundi_content : Add wikifundi CSS hack] ******************************
--> wikifundi_content : Add wikifundi CSS hack
[STAGE 3/6: Image configuration (virtualized) - 50%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:81
TASK [backup : create tar of /data] ********************************************
--> backup : create tar of /data
task path: /var/lib/ansible/local/roles/backup/tasks/main.yml:2
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541839840.09-14950190538650 `" && echo ansible-tmp-1541839840.09-14950190538650="` echo /var/tmp/ansible-tmp-1541839840.09-14950190538650 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpACZIQz TO /var/tmp/ansible-tmp-1541839840.09-14950190538650/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541839840.09-14950190538650/ /var/tmp/ansible-tmp-1541839840.09-14950190538650/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541839840.09-14950190538650/ /var/tmp/ansible-tmp-1541839840.09-14950190538650/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541839840.09-14950190538650/ /var/tmp/ansible-tmp-1541839840.09-14950190538650/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-alwhohzlposwchepiscobqiajycduhpe; /usr/bin/python /var/tmp/ansible-tmp-1541839840.09-14950190538650/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541839840.09-14950190538650/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "tar --dereference --hard-dereference -cf /home/ideascube/data_part.tar *",
"delta": "0:00:00.849637",
"end": "2018-11-10 09:50:45.417695",
"invocation": {
"module_args": {
"_raw_params": "tar --dereference --hard-dereference -cf /home/ideascube/data_part.tar *",
"_uses_shell": true,
"argv": null,
"chdir": "/data",
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:50:44.568058",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
RUNNING HANDLER [restart systemd-logind] ***************************************
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839848.48-186305770220629 `" && echo ansible-tmp-1541839848.48-186305770220629="` echo /root/.ansible/tmp/ansible-tmp-1541839848.48-186305770220629 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpW_cobj TO /root/.ansible/tmp/ansible-tmp-1541839848.48-186305770220629/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839848.48-186305770220629/ /root/.ansible/tmp/ansible-tmp-1541839848.48-186305770220629/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839848.48-186305770220629/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839848.48-186305770220629/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": null,
"force": null,
"masked": null,
"name": "systemd-logind",
"no_block": false,
"state": "restarted",
"user": false
}
},
"name": "systemd-logind",
"state": "started",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 09:22:05 CET",
"ActiveEnterTimestampMonotonic": "76507977",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "active",
"After": "nss-user-lookup.target sysinit.target system.slice basic.target user.slice dbus.socket systemd-journald.socket",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 09:21:52 CET",
"AssertTimestampMonotonic": "63434028",
"Before": "shutdown.target user-1000.slice session-c1.scope user-1001.slice multi-user.target session-c2.scope",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"BusName": "org.freedesktop.login1",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "no",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "9732882479",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 09:21:52 CET",
"ConditionTimestampMonotonic": "63433765",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/systemd-logind.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "Login Service",
"DevicePolicy": "auto",
"Documentation": "man:systemd-logind.service(8) man:logind.conf(5) http://www.freedesktop.org/wiki/Software/systemd/logind http://www.freedesktop.org/wiki/Software/systemd/multiseat",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "1526",
"ExecMainStartTimestamp": "Sat 2018-11-10 09:21:52 CET",
"ExecMainStartTimestampMonotonic": "63485636",
"ExecMainStatus": "0",
"ExecStart": "{ path=/lib/systemd/systemd-logind ; argv[]=/lib/systemd/systemd-logind ; ignore_errors=no ; start_time=[Sat 2018-11-10 09:21:52 CET] ; stop_time=[n/a] ; pid=1526 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/lib/systemd/system/systemd-logind.service",
"GID": "4294967295",
"GuessMainPID": "yes",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "systemd-logind.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestampMonotonic": "0",
"InactiveExitTimestamp": "Sat 2018-11-10 09:21:52 CET",
"InactiveExitTimestampMonotonic": "63486646",
"InvocationID": "a6c0bc7dce5a4d0eb2bee4316832ddec",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "control-group",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "16384",
"LimitNOFILESoft": "16384",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "1526",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "yes",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "systemd-logind.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "main",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "no",
"RemoveIPC": "no",
"Requires": "sysinit.target system.slice dbus.socket",
"Restart": "always",
"RestartUSec": "0",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "yes",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 09:22:05 CET",
"StateChangeTimestampMonotonic": "76507977",
"StatusErrno": "0",
"StatusText": "Processing requests...",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"SystemCallFilter": "~_sysctl add_key adjtimex afs_syscall break clock_adjtime clock_settime create_module delete_module finit_module ftime get_kernel_syms getpmsg gtty init_module ioperm iopl keyctl lock lookup_dcookie modify_ldt mpx pciconfig_iobase pciconfig_read pciconfig_write perf_event_open process_vm_readv process_vm_writev prof profil ptrace putpmsg query_module request_key rtas s390_pci_mmio_read s390_pci_mmio_write s390_runtime_instr security settimeofday sgetmask spu_run ssetmask stime stty switch_endian sysfs tuxcall ulimit uselib ustat vm86 vm86old vserver",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "1min 30s",
"TimeoutStopUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "dbus",
"UID": "4294967295",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "static",
"UtmpMode": "init",
"WantedBy": "multi-user.target",
"Wants": "user.slice dbus.socket",
"WatchdogTimestamp": "Sat 2018-11-10 09:50:39 CET",
"WatchdogTimestampMonotonic": "1790704529",
"WatchdogUSec": "3min"
}
}
RUNNING HANDLER [update timezone] **********************************************
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839862.89-143384538291261 `" && echo ansible-tmp-1541839862.89-143384538291261="` echo /root/.ansible/tmp/ansible-tmp-1541839862.89-143384538291261 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmphAkMZO TO /root/.ansible/tmp/ansible-tmp-1541839862.89-143384538291261/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839862.89-143384538291261/ /root/.ansible/tmp/ansible-tmp-1541839862.89-143384538291261/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839862.89-143384538291261/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839862.89-143384538291261/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"dpkg-reconfigure",
"--frontend",
"noninteractive",
"tzdata"
],
"delta": "0:00:15.514142",
"end": "2018-11-10 09:51:21.783505",
"invocation": {
"module_args": {
"_raw_params": "dpkg-reconfigure --frontend noninteractive tzdata",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 09:51:06.269363",
"stderr": "\nCurrent default time zone: 'Europe/Berlin'\nLocal time is now: Sat Nov 10 09:51:19 CET 2018.\nUniversal Time is now: Sat Nov 10 08:51:19 UTC 2018.",
"stderr_lines": [
"",
"Current default time zone: 'Europe/Berlin'",
"Local time is now: Sat Nov 10 09:51:19 CET 2018.",
"Universal Time is now: Sat Nov 10 08:51:19 UTC 2018."
],
"stdout": "",
"stdout_lines": []
}
RUNNING HANDLER [restart hostapd] **********************************************
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839886.4-96538538876043 `" && echo ansible-tmp-1541839886.4-96538538876043="` echo /root/.ansible/tmp/ansible-tmp-1541839886.4-96538538876043 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpb8eAL3 TO /root/.ansible/tmp/ansible-tmp-1541839886.4-96538538876043/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839886.4-96538538876043/ /root/.ansible/tmp/ansible-tmp-1541839886.4-96538538876043/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839886.4-96538538876043/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839886.4-96538538876043/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": true,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": true,
"force": null,
"masked": null,
"name": "hostapd",
"no_block": false,
"state": "restarted",
"user": false
}
},
"name": "hostapd",
"state": "started",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 09:51:31 CET",
"ActiveEnterTimestampMonotonic": "1842396376",
"ActiveExitTimestamp": "Sat 2018-11-10 09:51:25 CET",
"ActiveExitTimestampMonotonic": "1837254317",
"ActiveState": "active",
"After": "sysinit.target system.slice network.target basic.target systemd-journald.socket syslog.target",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 09:51:31 CET",
"AssertTimestampMonotonic": "1842364372",
"Before": "shutdown.target multi-user.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "no",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 09:51:31 CET",
"ConditionTimestampMonotonic": "1842364367",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/hostapd.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "Launch hostapd",
"DevicePolicy": "auto",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "5912",
"ExecMainStartTimestamp": "Sat 2018-11-10 09:51:31 CET",
"ExecMainStartTimestampMonotonic": "1842395293",
"ExecMainStatus": "0",
"ExecStart": "{ path=/usr/sbin/hostapd ; argv[]=/usr/sbin/hostapd -P /var/run/hostapd.pid /etc/hostapd/hostapd.conf ; ignore_errors=no ; start_time=[Sat 2018-11-10 09:51:31 CET] ; stop_time=[n/a] ; pid=5912 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/etc/systemd/system/hostapd.service",
"GID": "4294967295",
"GuessMainPID": "yes",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "hostapd.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestamp": "Sat 2018-11-10 09:51:31 CET",
"InactiveEnterTimestampMonotonic": "1842363716",
"InactiveExitTimestamp": "Sat 2018-11-10 09:51:31 CET",
"InactiveExitTimestampMonotonic": "1842396376",
"InvocationID": "6042ebcbeb354372b62c169b88a82e3b",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "control-group",
"KillSignal": "2",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "5912",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "hostapd.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "none",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PIDFile": "/var/run/hostapd.pid",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "no",
"RemoveIPC": "no",
"Requires": "sysinit.target system.slice",
"Restart": "on-failure",
"RestartUSec": "5s",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 09:51:31 CET",
"StateChangeTimestampMonotonic": "1842396376",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "1min 30s",
"TimeoutStopUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "simple",
"UID": "4294967295",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "enabled",
"UtmpMode": "init",
"WantedBy": "multi-user.target",
"WatchdogTimestamp": "Sat 2018-11-10 09:51:31 CET",
"WatchdogTimestampMonotonic": "1842396352",
"WatchdogUSec": "0"
}
}
RUNNING HANDLER [restart nginx] ************************************************
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839896.69-164620022966496 `" && echo ansible-tmp-1541839896.69-164620022966496="` echo /root/.ansible/tmp/ansible-tmp-1541839896.69-164620022966496 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpdx3Cn1 TO /root/.ansible/tmp/ansible-tmp-1541839896.69-164620022966496/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839896.69-164620022966496/ /root/.ansible/tmp/ansible-tmp-1541839896.69-164620022966496/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839896.69-164620022966496/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839896.69-164620022966496/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": true,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": true,
"force": null,
"masked": null,
"name": "nginx",
"no_block": false,
"state": "restarted",
"user": false
}
},
"name": "nginx",
"state": "started",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 09:22:35 CET",
"ActiveEnterTimestampMonotonic": "106699638",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "active",
"After": "sysinit.target system.slice network.target basic.target systemd-journald.socket",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 09:22:20 CET",
"AssertTimestampMonotonic": "92216795",
"Before": "shutdown.target multi-user.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "yes",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 09:22:20 CET",
"ConditionTimestampMonotonic": "92216781",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/nginx.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "A high performance web server and a reverse proxy server",
"DevicePolicy": "auto",
"Documentation": "man:nginx(8)",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "1660",
"ExecMainStartTimestamp": "Sat 2018-11-10 09:22:35 CET",
"ExecMainStartTimestampMonotonic": "106698911",
"ExecMainStatus": "0",
"ExecReload": "{ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx -g daemon on; master_process on; -s reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"ExecStart": "{ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx -g daemon on; master_process on; ; ignore_errors=no ; start_time=[Sat 2018-11-10 09:22:33 CET] ; stop_time=[Sat 2018-11-10 09:22:35 CET] ; pid=1657 ; code=exited ; status=0 }",
"ExecStartPre": "{ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx -t -q -g daemon on; master_process on; ; ignore_errors=no ; start_time=[Sat 2018-11-10 09:22:20 CET] ; stop_time=[Sat 2018-11-10 09:22:33 CET] ; pid=1614 ; code=exited ; status=0 }",
"ExecStop": "{ path=/sbin/start-stop-daemon ; argv[]=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/lib/systemd/system/nginx.service",
"GID": "4294967295",
"GuessMainPID": "yes",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "nginx.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestampMonotonic": "0",
"InactiveExitTimestamp": "Sat 2018-11-10 09:22:20 CET",
"InactiveExitTimestampMonotonic": "92249700",
"InvocationID": "9273268fd45841f3be2b50bc2f66d2cc",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "mixed",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "1660",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "nginx.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "none",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PIDFile": "/run/nginx.pid",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "no",
"RemoveIPC": "no",
"Requires": "sysinit.target system.slice",
"Restart": "no",
"RestartUSec": "100ms",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 09:22:35 CET",
"StateChangeTimestampMonotonic": "106699638",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "1min 30s",
"TimeoutStopUSec": "5s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "forking",
"UID": "4294967295",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "enabled",
"UtmpMode": "init",
"WantedBy": "multi-user.target",
"WatchdogTimestamp": "Sat 2018-11-10 09:22:35 CET",
"WatchdogTimestampMonotonic": "106699615",
"WatchdogUSec": "0"
}
}
RUNNING HANDLER [restart uwsgi] ************************************************
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541839909.23-15754075626942 `" && echo ansible-tmp-1541839909.23-15754075626942="` echo /root/.ansible/tmp/ansible-tmp-1541839909.23-15754075626942 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-2610Cs4znW/tmpOrCoFh TO /root/.ansible/tmp/ansible-tmp-1541839909.23-15754075626942/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541839909.23-15754075626942/ /root/.ansible/tmp/ansible-tmp-1541839909.23-15754075626942/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541839909.23-15754075626942/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541839909.23-15754075626942/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": true,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": true,
"force": null,
"masked": null,
"name": "uwsgi",
"no_block": false,
"state": "restarted",
"user": false
}
},
"name": "uwsgi",
"state": "started",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 09:24:26 CET",
"ActiveEnterTimestampMonotonic": "217634350",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "active",
"After": "remote-fs.target sysinit.target system.slice basic.target network-online.target systemd-journald.socket",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 09:22:57 CET",
"AssertTimestampMonotonic": "128861887",
"Before": "shutdown.target graphical.target multi-user.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "yes",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 09:22:57 CET",
"ConditionTimestampMonotonic": "128861868",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/uwsgi.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "LSB: Start/stop uWSGI server instance(s)",
"DevicePolicy": "auto",
"Documentation": "man:systemd-sysv-generator(8)",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "0",
"ExecMainStartTimestampMonotonic": "0",
"ExecMainStatus": "0",
"ExecReload": "{ path=/etc/init.d/uwsgi ; argv[]=/etc/init.d/uwsgi reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"ExecStart": "{ path=/etc/init.d/uwsgi ; argv[]=/etc/init.d/uwsgi start ; ignore_errors=no ; start_time=[Sat 2018-11-10 09:22:57 CET] ; stop_time=[Sat 2018-11-10 09:24:26 CET] ; pid=1822 ; code=exited ; status=0 }",
"ExecStop": "{ path=/etc/init.d/uwsgi ; argv[]=/etc/init.d/uwsgi stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/run/systemd/generator.late/uwsgi.service",
"GID": "4294967295",
"GuessMainPID": "no",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "uwsgi.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "no",
"InactiveEnterTimestampMonotonic": "0",
"InactiveExitTimestamp": "Sat 2018-11-10 09:22:57 CET",
"InactiveExitTimestampMonotonic": "128914446",
"InvocationID": "ac4cac9f62414a339e1b5c29357c1083",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "process",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "0",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "uwsgi.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "none",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "yes",
"RemoveIPC": "no",
"Requires": "sysinit.target system.slice",
"Restart": "no",
"RestartUSec": "100ms",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"SourcePath": "/etc/init.d/uwsgi",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 09:24:26 CET",
"StateChangeTimestampMonotonic": "217634350",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "5min",
"TimeoutStopUSec": "5min",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "forking",
"UID": "4294967295",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "generated",
"UtmpMode": "init",
"WantedBy": "graphical.target multi-user.target",
"Wants": "network-online.target",
"WatchdogTimestamp": "Sat 2018-11-10 09:24:26 CET",
"WatchdogTimestampMonotonic": "217609868",
"WatchdogUSec": "0"
}
}
META: ran handlers
TASK [Heartbeat mode on KoomBook LED, update is over !!!] **********************
--> Heartbeat mode on KoomBook LED, update is over !!!
[STAGE 3/6: Image configuration (virtualized) - 50%]
task path: /var/lib/ansible/local/main.yml:80
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: ran handlers
PLAY RECAP *********************************************************************
localhost : ok=77 changed=63 unreachable=0 failed=0
STDERR: [WARNING]: Consider using the unarchive module rather than running tar. If
STDERR: you need to use command because unarchive is insufficient you can add
STDERR: warn=False to this command task or set command_warnings=False in ansible.cfg to
STDERR: get rid of this message.
sudo sync
sudo shutdown -P 0
STDERR: Shutdown scheduled for Sat 2018-11-10 09:52:49 CET, use 'shutdown -c' to cancel.
VM is off.
[STAGE 4/6: Copy contents onto image - 50%]
--> Formating data partition on host
Looking for C:\WINDOWS\System32\imdisk.exe
ImDisk already present.
Call: ['wmic', 'logicaldisk', 'get', 'caption']
Caption
C:
Call: ['net', 'use']
Les nouvelles connexions seront mmorises.
La liste est vide.
Call: ['C:\\WINDOWS\\System32\\imdisk.exe', '-a', '-f', 'C:\\Users\\Stéphane\\Desktop\\hotspot-2018_11_10-09_12_14.BUILDING.img', '-o', 'rw', '-t', 'file', '-v', '3', '-p', '/fs:exfat /V:data /q /y', '-m', 'D:']
Le type du systme de fichiers est EXFAT.
Formatage rapide de 53.0 Go
Initialisation de table d'allocation des fichiers (FAT) en cours...
Cration des structures du systme de fichiers.
Formatage termin.
52.9 Go d'espace disque total.
52.9 Go sont disponibles.
131072 octets dans chaque unit d'allocation.
433756 units d'allocation disponibles sur le disque.
32 bits dans chaque entre FAT.
Le numro de srie du volume est 60DA-CE08
Creating device...
Created device 0: D: ->
C:\Users\Stphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img
Formatting disk D:...
Notifying applications...
Done.
Call: ['C:\\WINDOWS\\System32\\imdisk.exe', '-D', '-m', 'D:']
Notifying applications...
Flushing file buffers...
Locking volume...
Dismounting filesystem...
Removing device...
Removing mountpoint...
Done.
--> Mounting data partition on host
Looking for C:\WINDOWS\System32\imdisk.exe
ImDisk already present.
Call: ['wmic', 'logicaldisk', 'get', 'caption']
Caption
C:
Call: ['net', 'use']
Les nouvelles connexions seront mmorises.
La liste est vide.
Call: ['C:\\WINDOWS\\System32\\imdisk.exe', '-a', '-f', 'C:\\Users\\Stéphane\\Desktop\\hotspot-2018_11_10-09_12_14.BUILDING.img', '-o', 'rw', '-t', 'file', '-v', '3', '-m', 'D:']
Creating device...
Created device 0: D: ->
C:\Users\Stphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img
Notifying applications...
Done.
--> Processing downloaded content onto data partition
--> Processing Packages
Copying package_wikipedia_ab_all_novid.ab-2018-06-18.zim to D:\packages_cache
[STAGE 4/6: Copy contents onto image - 67%]
--> Unmounting data partition
Call: ['C:\\WINDOWS\\System32\\imdisk.exe', '-D', '-m', 'D:']
Notifying applications...
Flushing file buffers...
Locking volume...
Dismounting filesystem...
Removing device...
Removing mountpoint...
Done.
[STAGE 5/6: Post-process contents (virtualized) - 67%]
--> Starting-up VM again for content-discovery
--> Launch qemu
ssh on port 51900
--
C:\Users\STPHAN~1\AppData\Local\Temp\7zS5DC4.tmp\qemu\qemu-system-arm.exe -m 2048M -M vexpress-a15 -kernel C:\Users\STPHAN~1\AppData\Local\Temp\7zS5DC4.tmp\vexpress-boot\zImage -dtb C:\Users\STPHAN~1\AppData\Local\Temp\7zS5DC4.tmp\vexpress-boot\vexpress-v2p-ca15_a7.dtb -append root=/dev/mmcblk0p2 console=ttyAMA0 console=tty -serial stdio -no-acpi -drive format=raw,if=sd,file=C:\Users\Stéphane\Desktop\hotspot-2018_11_10-09_12_14.BUILDING.img -display none -no-reboot -netdev user,id=eth1,hostfwd=tcp::51900-:22 -device virtio-net-device,netdev=eth1 -smp 3 --accel tcg,thread=multi
--
B
ooting Linux on physical CPU 0x0
L
inux version 4.10.0 (reg@hayla.ml) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #1 SMP Wed Sep 19 09:25:10 UTC 2018
CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=10c5387d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
OF: fdt:Machine model: V2P-CA15_CA7
Truncating RAM at 0x800000
00-0xffffffff to -0xf0000000
Consider using a HIGHMEM enabled kernel.
Memory policy: Data ca
che writealloc
percpu: Embedded 13 pages/cpu
@ef1a8000 s23692 r8192 d21364 u53248
Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 455168
K
ernel command line: root=/dev/mmcblk0p2 console=ttyAMA0 console=tty
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 16384 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 32768 bytes
early log buf free: 14832(90%)
PID hash table entries: 4096 (order: 2, 16384
bytes)
Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 131072 (order: 7,
524288 bytes)
Memory: 1807976K/1835008K available (7168K kernel code, 232K rwdata, 1384K rodata,
1024K init, 204K bss, 27032K reserved, 0K cma-reserved)
Virtual kernel
memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0x
f0800000 - 0xff800000 ( 240 MB)
lowmem : 0x80000000 - 0xf0000000 (1792 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x80800000 (8160 kB)
.init : 0x80a00000 - 0x80b00000 (1024 kB)
.data : 0x80b00000 - 0x80b3a2c0 ( 233 kB)
.bss : 0x80b3c000 - 0x80b6f1c4 ( 205 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=5, Nodes=1
Hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
RCU res
tricting CPUs from NR_CPUS=8 to nr_cpu_ids=5.
RCU: Adjusting
geometry for rcu_fanout_leaf=32, nr_cpu_ids=5
NR_IRQS:16 nr_irqs:16 16
arm_arch_timer: Architected cp15 timer(s) runn
ing at 62.50MHz (virt).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
sched_clock:
56 bits at 62MHz, resolution 16ns, wraps every 4398046511096ns
Switching to timer-based delay loop,
resolution 16ns
clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
Fai
led to initialize '/smb@08000000/motherboard/iofpga@3,00000000/timer@120000': -22
Console: colour dummy device 80x30
consol
e [tty0] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=625000)
pid_max: default: 3276
8 minimum: 301
Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
Mountpoint-cache hash table entries: 40
96 (order: 2, 16384
bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80100000 - 0x80100058
ARM CCI driver probed
tc2_pm_init: boot CPU is out of bound!
smp: Bringing up secondary CPUs ...
CPU1: failed to boot: -49
CPU2: failed to boot: -49
CPU3: failed to boot: -49
CPU4: failed to boot: -49
smp: Brought up 1 node, 1 CPU
SMP: Total of 1 proces
sors activated (125.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architec
ture 4 part 30 variant f rev 0
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffff
ff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 2048 (order: 5, 131
072 bytes)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at drivers/mfd/vexpress-sysreg.c:1
89 vexpress_sysreg_probe+0x174/0x1a8
Modules linked in:
CPU: 0 PID: 1 Comm: swappe
r/0 Not tainted 4.10.0 #1
Hardware name: ARM-Versatile Express
[<8010e5c8>] (unwind_backtrace) from [<8
010b028>] (show_stack+0x10/0x14)
[<8010b028>] (show_stack) from [<80378788>] (dump_stack+0x84/0x98)
[<80378788>] (dump_s
tack) from [<8011cad4>] (__warn+0xe8/0x100)
[<8011cad4>] (__warn) from [<8011cb9c>] (warn_slowpath_null+0x20/0x28)
[<8011cb9c>] (warn_slowpath_null) from [<8041bce8>] (vexpress_sysreg_probe+0x174/0x1a8)
[<8041bce8>]
(vexpress_sysreg_probe) from [<803ffde4>] (platform_drv_probe+0x4c/0xb0)
[<803ffde4>] (platform
_drv_probe) from [<803fe408>] (driver_pr
obe_device+0x1f4/0x2b8)
[
<803fe408>] (driver_probe_device) from [<803fe584>] (__driver_attach+0xb8/0xbc)
[<803fe584>] (__driver_attach) from [<803fc918>] (bus_for_each_dev+0x68/0x9c)
[<803fc918>] (bus_for_each_dev) from [<803fda64>] (bus_add_driver+0x1a0/0x218)
[<803fda64>] (bus_add_driver) from [<803fee4c>] (driver_reg
ister+0x78/0xf8)
[<803fee4c>] (driver_register) from [<8010179c>] (do_one_initcall+0x44/0x16c)
[<8010179c>] (do_one_initcall) from [<80a00e48>] (kernel_init_freeable+0x1d8/0
x268)
[<80a00e48>] (kernel_init_freeable) from [<806fb8a8>] (kernel_init+0x8/0x114)
[<806fb8a
8>] (kernel_init) from [<80107578>] (ret_from_fork+0x14/0x3c)
---[ end trace 352
b47a95cac6a7b ]---
vexpress-sysreg 1c010000.sysreg: DT HBI (249) is not matching hardware (237)!
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
Serial: AMBA PL011 UART driver
OF: amba_device_add() failed
(-19) for /wdt@2a490000
OF: amba_device_add() failed (-19) for /memory-c
ontroller@2b0a0000
OF: amba_device_add() failed (-19) for /memory-controller@7ffd000
0
OF: amba_device_add() failed (-19) for /dma@7ff00000
OF: amba_device_add() fail
ed (-19) for /etb@0,20010000
OF: amba_device_add() failed (-19) for /tpiu@0
,20030000
OF: amba_device_add() failed (-19) for /funnel@0,20040000
OF:
amba_device_add() failed (-19) for /ptm@0,2201c000
OF: amba_device_add()
failed (-19) for /ptm@0,2201d000
OF: amba_device_add() failed (-19) for /etm@0,2203c000
OF: amba_device_add() failed (-19) for /etm@0,
2203d000
OF: amba_device_add() failed (-19) for /etm@0,2203e000
1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 48, base_baud = 0) is a PL011 rev1
console [ttyAMA0] enabled
1
c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 49, base_baud = 0) is a PL011 rev1
1
c0b0000.uart: ttyAMA2 at MMIO 0x1c0b0000 (irq = 50, base_baud = 0) is a PL011 rev1
1
c0c0000.uart: ttyAMA3 at MMIO 0x1c0c0000 (irq = 51, base_baud = 0) is a PL011 rev1
O
F: amba_device_add() failed (-19) for /smb@08000000/motherboard/iofpga@3,00000000/wdt@0f0000
S
CSI subsystem initialized
u
sbcore: registered new interface driver usbfs
u
sbcore: registered new interface driver hub
u
sbcore: registered new device driver usb
A
dvanced Linux Sound Architecture Driver Initialized.
c
locksource: Switched to clocksource arch_sys_counter
N
ET: Registered protocol family 2
T
CP established hash table entries: 16384 (order: 4, 65536 bytes)
T
CP bind hash table entries: 16384 (order: 5, 131072 bytes)
T
CP: Hash tables configured (established 16384 bind 16384)
U
DP hash table entries: 1024 (order: 3, 32768 bytes)
U
DP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
N
ET: Registered protocol family 1
R
PC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
R
PC: Registered tcp NFSv4.1 backchannel transport module.
h
w perfevents: enabled with armv7_cortex_a15 PMU driver, 1 counters available
h
w perfevents: /pmu_a7: failed to probe PMU!
hw perfevents: /pmu_a7: failed to reg
ister PMU devices!
f
ailed to build OPP table
w
orkingset: timestamp_bits=30 max_order=19 bucket_order=0
s
quashfs: version 4.0 (2009/01/31) Phillip Lougher
j
ffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
f
use init (API version 7.26)
9
p: Installing v9fs 9p2000 file system support
e
xFAT: Version 1.2.9
i
o scheduler noop registered (default)
c
lcd-pl11x 1c1f0000.clcd: PL111 designer 41 rev2 at 0x1c1f0000
c
lcd-pl11x 1c1f0000.clcd: /smb@08000000/motherboard/iofpga@3,00000000/clcd@1f0000 hardware, 640x480@59 display
C
onsole: switching to colour frame buffer device 80x30
8
000000.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
I
ntel/Sharp Extended Query Table at 0x0031
U
sing buffer write method
8
000000.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
I
ntel/Sharp Extended Query Table at 0x0031
U
sing buffer write method
C
oncatenating MTD devices:
(
0): "8000000.flash"
(
1): "8000000.flash"
i
nto device "8000000.flash"
l
ibphy: Fixed MDIO Bus: probed
s
msc911x 1a000000.ethernet (unnamed net_device) (uninitialized): Device not READY in 100ms aborting
i
sp1760 1b000000.usb: bus width: 32, oc: digital
i
sp1760 1b000000.usb: NXP ISP1760 USB Host Controller
i
sp1760 1b000000.usb: new USB bus registered, assigned bus number 1
i
sp1760 1b000000.usb: Scratch test failed.
i
sp1760 1b000000.usb: can't setup: -19
i
sp1760 1b000000.usb: USB bus 1 deregistered
u
sbcore: registered new interface driver usb-storage
m
ousedev: PS/2 mouse device common for all mice
r
tc-pl031 1c170000.rtc: rtc core: registered pl031 as rtc0
m
mci-pl18x 1c050000.mmci: Got CD GPIO
m
mci-pl18x 1c050000.mmci: Got WP GPIO
m
mci-pl18x 1c050000.mmci: mmc0: PL181 manf 41 rev0 at 0x1c050000 irq 44,45 (pio)
i
nput: AT Raw Set 2 keyboard as /devices/platform/smb@08000000/smb@08000000:motherboard/smb@08000000:motherboard:iofpga@3,00000000/1c060000.kmi/serio0/input/input0
l
edtrig-cpu: registered to indicate activity on CPUs
u
sbcore: registered new interface driver usbhid
u
sbhid: USB HID core driver
m
mc0: new SDXC card at address 4567
m
mcblk0: mmc0:4567 QEMU! 59.5 GiB
mmcblk0: p1 p2 p3
a
aci-pl041 1c040000.aaci: ARM AC'97 Interface PL041 rev0 at 0x1c040000, irq 43
a
aci-pl041 1c040000.aaci: FIFO 512 entries
o
profile: using timer interrupt.
N
etfilter messages via NETLINK v0.30.
n
fnl_acct: registering with nfnetlink.
n
f_conntrack version 0.5.0 (16384 buckets, 65536 max)
c
tnetlink v0.93: registering with nfnetlink.
n
f_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
n
f_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
x
t_time: kernel timezone is -0000
i
p_set: protocol 6
I
PVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
I
PVS: Connection hash table configured (size=4096, memory=32Kbytes)
I
PVS: Creating netns size=1296 id=0
I
PVS: ipvs loaded.
I
PVS: [rr] scheduler registered.
I
PVS: [wrr] scheduler registered.
I
PVS: [lc] scheduler registered.
I
PVS: [wlc] scheduler registered.
I
PVS: [fo] scheduler registered.
I
PVS: [ovf] scheduler registered.
I
PVS: [lblc] scheduler registered.
I
PVS: [lblcr] scheduler registered.
I
PVS: [dh] scheduler registered.
I
PVS: [sh] scheduler registered.
I
PVS: [sed] scheduler registered.
I
PVS: [nq] scheduler registered.
I
PVS: ftp: loaded support on port[0] = 21
I
PVS: [sip] pe registered.
i
p_tables: (C) 2000-2006 Netfilter Core Team
i
pt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
a
rp_tables: arp_tables: (C) 2002 David S. Miller
N
ET: Registered protocol family 10
S
egment Routing with IPv6
i
p6_tables: (C) 2000-2006 Netfilter Core Team
s
it: IPv6, IPv4 and MPLS over IPv4 tunneling driver
N
ET: Registered protocol family 17
9
pnet: Installing 9P2000 support
R
egistering SWP/SWPB emulation handler
r
tc-pl031 1c170000.rtc: setting system clock to 2018-11-10 08:53:34 UTC (1541840014)
A
LSA device list:
#0: ARM AC'97 Interface PL041 rev0 at 0x1c040000, irq 43
i
nput: ImExPS/2 Generic Explorer Mouse as /devices/platform/smb@08000000/smb@08000000:motherboard/smb@08000000:motherboard:iofpga@3,00000000/1c070000.kmi/serio1/input/input2
E
XT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
r
andom: fast init done
E
XT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
V
FS: Mounted root (ext4 filesystem) readonly on device 179:2.
F
reeing unused kernel memory: 1024K
r
andom: crng init done
s
ystemd[1]: Failed to insert module 'autofs4': No such file or directory
s
ystemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
s
ystemd[1]: Detected architecture arm.
s
ystemd[1]: Set hostname to <kiwix.hotspot>.
s
ystemd[1]: Created slice System Slice.
s
ystemd[1]: Listening on Journal Socket.
s
ystemd[1]: Starting Set the console keyboard layout...
s
ystemd[1]: Created slice system-getty.slice.
s
ystemd[1]: dev-hugepages.mount: Couldn't determine result for ConditionVirtualization=!private-users, assuming failed: No such file or directory
s
ystemd[1]: Starting Restore / save the current clock...
s
ystemd[1]: Created slice system-systemd\x2dfsck.slice.
s
ystemd[1]: Mounting RPC Pipe File System...
s
ystemd[1]: Starting Create Static Device Nodes in /dev...
s
ystemd[1]: Listening on udev Kernel Socket.
s
ystemd[1]: Started Forward Password Requests to Wall Directory Watch.
s
ystemd[1]: Listening on Journal Socket (/dev/log).
s
ystemd[1]: Created slice system-serial\x2dgetty.slice.
s
ystemd[1]: Listening on Syslog Socket.
s
ystemd[1]: Starting Mount Boot Partition (custom)...
s
ystemd[1]: Starting Journal Service...
s
ystemd[1]: systemd-modules-load.service: Main process exited, code=exited
, status=1/FAILURE
[
[0;32m OK [0m] Reached target Sound Card.
[[0;32m OK [0m] Found device /dev/ttyAMA0.
[
[0;32m OK [0m] Started Show Plymouth Boot Screen.
[
[0;32m OK [0m] Started Forward Password Requests to Plymouth Directory Watch.
[
[0;32m OK [0m] Reached target Encrypted Volumes.
[
[0;32m OK [0m] Reached target Paths.
[
[0;32m OK [0m] Found device /dev/mmcblk0p1.
[
[0;32m OK [0m] Found device /dev/mmcblk0p3.
Mounting /data...
Starting File System Check on /dev/mmcblk0p1...
[
[0;32m OK [0m] Mounted /data.
[
[0;32m OK [0m] Reached target Local File Systems.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Create Volatile Files and Directories...
Starting Set console font and keymap...
Starting Raise network interfaces...
Starting Preprocess NFS configuration...
[
[0;32m OK [0m] Started File System Check on /dev/mmcblk0p1.
[
[0;32m OK [0m] Started Tell Plymouth To Write Out Runtime Data.
[
[0;32m OK [0m] Started Set console font and keymap.
[
[0;32m OK [0m] Started Preprocess NFS configuration.
[
[0;32m OK [0m] Reached target NFS client services.
[
[0;32m OK [0m] Reached target Remote File Systems (Pre).
[
[0;32m OK [0m] Reached target Remote File Systems.
[
[0;32m OK [0m] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[
[0;32m OK [0m] Started Update UTMP about System Boot/Shutdown.
[
[0;32m OK [0m] Started Network Time Synchronization.
[
[0;32m OK [0m] Reached target System Time Synchronized.
[
[0;32m OK [0m] Reached target System Initialization.
[
[0;32m OK [0m] Listening on D-Bus System Message Bus Socket.
[
[0;32m OK [0m] Listening on triggerhappy.socket.
[
[0;32m OK [0m] Started Run ideascube clean leftover-files weekly and on boot.
[
[0;32m OK [0m] Started Clean PHP session files every 30 mins.
[
[0;32m OK [0m] Started Daily Cleanup of Temporary Directories.
[
[0;32m OK [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[
[0;32m OK [0m] Reached target Sockets.
[
[0;32m OK [0m] Reached target Basic System.
Starting Restore /etc/resolv.conf i…fore the ppp link was shut down...
Starting Login Service...
Starting Save/Restore Sound Card State...
Starting dhcpcd on all interfaces...
Starting Disable WiFi if country not set...
[
[0;32m OK [0m] Started Kiwix server.
Starting LSB: Autogenerate and use a swap file...
Starting Modem Manager...
[
[0;32m OK [0m] Started D-Bus System Message Bus.
Starting System Logging Service...
Starting Avahi mDNS/DNS-SD Stack...
Starting LSB: Switch to ondemand cp…r (unless shift key is pressed)...
Starting Network Manager...
Starting Boot-only system-wide cleanup script...
Starting triggerhappy global hotkey daemon...
[
[0;32m OK [0m] Started Regular background program processing daemon.
[
[0;32m OK [0m] Started Daily apt download activities.
[
[0;32m OK [0m] Started Daily apt upgrade and clean activities.
[
[0;32m OK [0m] Reached target Timers.
[
[0;32m OK [0m] Started Restore /etc/resolv.conf if…before the ppp link was shut down.
[
[0;32m OK [0m] Started Save/Restore Sound Card State.
[
[0;1;31mFAILED[0m] Failed to start dhcpcd on all interfaces.
S
ee 'systemctl status dhcpcd.service' for details.
[
[0;32m OK [0m] Started Disable WiFi if country not set.
[
[0;32m OK [0m] Started Boot-only system-wide cleanup script.
[
[0;32m OK [0m] Started triggerhappy global hotkey daemon.
[
[0;32m OK [0m] Started Login Service.
[
[0;32m OK [0m] Stopped Kiwix server.
[
[0;32m OK [0m] Started Kiwix server.
[
[0;32m OK [0m] Stopped Kiwix server.
[
[0;32m OK [0m] Started Kiwix server.
[
[0;32m OK [0m] Started LSB: Switch to ondemand cpu…nor (unless shift key is pressed).
[
[0;32m OK [0m] Stopped Kiwix server.
[
[0;32m OK [0m] Started Kiwix server.
[
[0;32m OK [0m] Started Avahi mDNS/DNS-SD Stack.
Starting Authorization Manager...
[
[0;32m OK [0m] Stopped Kiwix server.
[
[0;32m OK [0m] Started Kiwix server.
[
[0;32m OK [0m] Started System Logging Service.
[
[0;32m OK [0m] Stopped Kiwix server.
[
[0;32m OK [0m] Started Kiwix server.
[
[0;32m OK [0m] Started Raise network interfaces.
[
[0;32m OK [0m] Stopped Kiwix server.
[
[0;32m OK [0m] Started Kiwix server.
[
[0;32m OK [0m] Started LSB: Autogenerate and use a swap file.
[
[0;32m OK [0m] Stopped Kiwix server.
[
[0;32m OK [0m] Started Kiwix server.
[
[0;32m OK [0m] Stopped Kiwix server.
[
[0;1;31mFAILED[0m] Failed to start Kiwix server.
S
ee 'systemctl status kiwix-server.service' for details.
[
[0;32m OK [0m] Started Authorization Manager.
[
[0;32m OK [0m] Started Modem Manager.
[
[0;32m OK [0m] Started Network Manager.
[
[0;32m OK [0m] Reached target Network.
Starting OpenBSD Secure Shell server...
[
[0;32m OK [0m] Started Launch hostapd.
Starting A high performance web server and a reverse proxy server...
Starting Permit User Sessions...
Starting Network Manager Wait Online...
[
[0;32m OK [0m] Started Permit User Sessions.
Starting Hold until boot process finishes up...
Starting Terminate Plymouth Boot Screen...
R
a
s
pb
ia
n
G
NU
/L
in
ux
9
k
iwix.hotspot
ttyAMA0
k
iwix login:
Successfuly connected to Qemu over SSH
--> Re-run ansiblecube for move-content
copy local file C:\Users\STPHAN~1\AppData\Local\Temp\tmp64w5lhm5 to tmp file /tmp/F3EAFF2B9FE00FF8FC36CFF1F0AAFD2
sudo mv -T /tmp/F3EAFF2B9FE00FF8FC36CFF1F0AAFD2 /var/lib/ansible/local/extra_vars.json
ansiblecube extra_vars
{
"custom_branding_path": "/tmp",
"wikifundi_languages": [],
"timezone": "Europe/Berlin",
"has_custom_branding": false,
"project_name": "Kiwix",
"edupi": false,
"packages": [
"wikipedia_ab_all_novid.ab"
],
"kernel_version": "4.14.34",
"admin_account": "****",
"edupi_has_resources": false,
"language_name": "English",
"language": "en",
"aflatoun_languages": [],
"installer_version": "2.0-rc15",
"mirror": "http://download.kiwix.org",
"catalogs": [
{
"description": "Kiwix ZIM Content",
"url": "http://download.kiwix.org/library/ideascube.yml",
"name": "Kiwix",
"local_url": "file:///home/pi/catalog_Kiwix.yml"
}
],
"root_partition_size": 7000000000,
"admin_password": "****",
"kalite_languages": [],
"disk_size": 63861073920
}
sh -c 'cd /var/lib/ansible/local && tasks=$(/usr/local/bin/ansible-playbook --list-tasks --inventory hosts --tags move-content,seal --extra-vars="@/var/lib/ansible/local/extra_vars.json" main.yml | paste -sd "^" -) && echo "### TASKS ### $tasks"'
### TASKS ### ^playbook: main.yml^^ play #1 (localhost): localhost TAGS: []^ tasks:^ Set the LED steady before upgrading !!! TAGS: [always]^ debug TAGS: [always]^ variables : DEBUG list {{ data_path }} content TAGS: [always]^ variables : set python3.4 for jessie TAGS: [always]^ variables : set python3.5 for stretch TAGS: [always]^ variables : Set project_name and project_name_safe facts TAGS: [always]^ variables : Set hostname and hostpot_name TAGS: [always]^ variables : Update names and fqdns for all projects TAGS: [always]^ variables : Ensure hostname is in /etc/hosts TAGS: [always]^ variables : Set hostname using to {{ fqdn }} TAGS: [always]^ debug TAGS: [always]^ restore : restore {{ data_path }} archive TAGS: [move-content]^ restore : ensure kiwix data folder is present TAGS: [move-content]^ restore : remove backup archive TAGS: [move-content]^ resize : Create test directory TAGS: [always]^ ideascube : Ensure a kiwix library file is built TAGS: [master, move-content, reconfigure, resize, setup]^ edupi_content : Install the user-provided resources TAGS: [move-content]^ edupi_content : remove user provided resources (already imported) TAGS: [move-content]^ include_tasks TAGS: [move-content]^ packages : Install catalogs TAGS: [move-content]^ packages : Update ideascube catalog cache before downloading TAGS: [move-content]^ packages : Install, upgrade or remove packages TAGS: [move-content]^ packages : Add CSS for package icon TAGS: [move-content, rename]^ packages : Fix khanacademy icon size in CSS TAGS: [move-content]^ packages : Fix edupi category CSS TAGS: [move-content]^ packages : collect static for ideascube TAGS: [move-content]^ set_fact TAGS: [move-content]^ debug TAGS: [move-content]^ kalite_content : Import Kalite language pack TAGS: [move-content]^ kalite_content : move downloaded videos to kalite folder TAGS: [move-content]^ kalite_content : Perfom a video scan on the device TAGS: [move-content]^ aflatoun_content : Make sure aflatoun content directory does not exist TAGS: [move-content]^ aflatoun_content : Move downloaded content to proper location TAGS: [move-content]^ aflatoun_content : re-launch setup for it annotates the content items TAGS: [move-content]^ aflatoun_content : Install Aflatoun language pack TAGS: [move-content]^ wikifundi_content : make sure wikifundi data folder exists TAGS: [move-content]^ wikifundi_content : make sure images folder does not exists TAGS: [move-content]^ wikifundi_content : move wikifundi LocalSettings TAGS: [move-content]^ wikifundi_content : change sqliteDataDir in LocalSettings.custom TAGS: [move-content]^ stat TAGS: [move-content, rename]^ wikifundi_content : add parsoid config to LocalSettings.custom TAGS: [move-content, rename]^ wikifundi_content : add upload path to LocalSettings.custom TAGS: [move-content]^ wikifundi_content : add wgUploadDirectory path to LocalSettings.custom TAGS: [move-content]^ wikifundi_content : move wikifundi database TAGS: [move-content]^ wikifundi_content : Add admin account to Wikifundi TAGS: [move-content]^ wikifundi_content : move wikifundi images TAGS: [move-content]^ wikifundi_content : Add wikifundi CSS hack TAGS: [move-content, rename]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ include_tasks TAGS: [seal]^ services : Disable SSH TAGS: [seal]^ Heartbeat mode on KoomBook LED, update is over !!! TAGS: [always]
sudo sh -c 'cd /var/lib/ansible/local && /usr/local/bin/ansible-playbook -vvv --inventory hosts --tags move-content,seal --extra-vars="@/var/lib/ansible/local/extra_vars.json" main.yml'
ansible-playbook 2.6.6
config file = /var/lib/ansible/local/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
executable location = /usr/local/bin/ansible-playbook
python version = 2.7.13 (default, Sep 26 2018, 18:42:22) [GCC 6.3.0 20170516]
Using /var/lib/ansible/local/ansible.cfg as config file
Parsed /var/lib/ansible/local/hosts inventory source with ini plugin
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/roles/wikifundi_setup/tasks/mediawiki.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/clean_apt.yml
statically imported: /var/lib/ansible/local/handlers.yml
PLAYBOOK: main.yml *************************************************************
1 plays in main.yml
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
--> Gathering Facts
task path: /var/lib/ansible/local/main.yml:2
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840407.65-256049865415076 `" && echo ansible-tmp-1541840407.65-256049865415076="` echo /root/.ansible/tmp/ansible-tmp-1541840407.65-256049865415076 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/setup.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpaPqLTH TO /root/.ansible/tmp/ansible-tmp-1541840407.65-256049865415076/setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840407.65-256049865415076/ /root/.ansible/tmp/ansible-tmp-1541840407.65-256049865415076/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840407.65-256049865415076/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840407.65-256049865415076/ > /dev/null 2>&1 && sleep 0'
ok: [localhost]
TASK [Set the LED steady before upgrading !!!] *********************************
--> Set the LED steady before upgrading !!!
[STAGE 5/6: Post-process contents (virtualized) - 67%]
task path: /var/lib/ansible/local/main.yml:8
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: ran handlers
TASK [variables : debug] *******************************************************
--> variables : debug
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:2
ok: [localhost] => {
"msg": "Start playbook 2018-11-10 - 10:00:31"
}
TASK [variables : DEBUG list /data content] ************************************
--> variables : DEBUG list /data content
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:5
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840445.42-191809637108913 `" && echo ansible-tmp-1541840445.42-191809637108913="` echo /root/.ansible/tmp/ansible-tmp-1541840445.42-191809637108913 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpHMFC3m TO /root/.ansible/tmp/ansible-tmp-1541840445.42-191809637108913/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840445.42-191809637108913/ /root/.ansible/tmp/ansible-tmp-1541840445.42-191809637108913/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840445.42-191809637108913/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840445.42-191809637108913/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ls",
"-lh",
"/data"
],
"delta": "0:00:00.204425",
"end": "2018-11-10 10:00:53.530944",
"invocation": {
"module_args": {
"_raw_params": "ls -lh /data",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 10:00:53.326519",
"stderr": "",
"stderr_lines": [],
"stdout": "total 128K\ndrwxrwxr-x 2 ideascube www-data 128K Nov 10 09:53 packages_cache",
"stdout_lines": [
"total 128K",
"drwxrwxr-x 2 ideascube www-data 128K Nov 10 09:53 packages_cache"
]
}
TASK [variables : set python3.4 for jessie] ************************************
--> variables : set python3.4 for jessie
[STAGE 5/6: Post-process contents (virtualized) - 67%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:19
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [variables : set python3.5 for stretch] ***********************************
--> variables : set python3.5 for stretch
[STAGE 5/6: Post-process contents (virtualized) - 68%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:24
ok: [localhost] => {
"ansible_facts": {
"python3_version": "3.5"
},
"changed": false
}
TASK [variables : Set project_name and project_name_safe facts] ****************
--> variables : Set project_name and project_name_safe facts
[STAGE 5/6: Post-process contents (virtualized) - 68%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:34
ok: [localhost] => {
"ansible_facts": {
"project_name": "Kiwix",
"project_name_safe": "kiwix"
},
"changed": false
}
TASK [variables : Set hostname and hostpot_name] *******************************
--> variables : Set hostname and hostpot_name
[STAGE 5/6: Post-process contents (virtualized) - 68%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:39
ok: [localhost] => {
"ansible_facts": {
"cert_domain": "ideascube.hotspot",
"fqdn": "kiwix.hotspot",
"hostname": "kiwix",
"hotspot_name": "Kiwix"
},
"changed": false
}
TASK [variables : Update names and fqdns for all projects] *********************
--> variables : Update names and fqdns for all projects
[STAGE 5/6: Post-process contents (virtualized) - 69%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:46
ok: [localhost] => {
"ansible_facts": {
"aflatoun_fqdn": "aflatoun.kiwix.hotspot",
"aflatoun_server_name": "aflatoun.kiwix",
"edupi_fqdn": "edupi.kiwix.hotspot",
"edupi_server_name": "edupi.kiwix",
"kalite_fqdn": "khanacademy.kiwix.hotspot",
"kalite_server_name": "khanacademy.kiwix",
"kiwix_fqdn": "kiwix.kiwix.hotspot",
"kiwix_server_name": "kiwix.kiwix",
"sites_fqdn": "sites.kiwix.hotspot",
"sites_server_name": "sites.kiwix",
"time_fqdn": "time.kiwix.hotspot",
"time_server_name": "time.kiwix",
"version_fqdn": "version.kiwix.hotspot",
"welcome_fqdn": "goto.kiwix.hotspot",
"wikifundi_fqdn": "wikifundi.kiwix.hotspot",
"wikifundi_server_name": "wikifundi.kiwix"
},
"changed": false
}
TASK [variables : Ensure hostname is in /etc/hosts] ****************************
--> variables : Ensure hostname is in /etc/hosts
[STAGE 5/6: Post-process contents (virtualized) - 69%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:65
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840469.23-248079007648654 `" && echo ansible-tmp-1541840469.23-248079007648654="` echo /root/.ansible/tmp/ansible-tmp-1541840469.23-248079007648654 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpsmd1VS TO /root/.ansible/tmp/ansible-tmp-1541840469.23-248079007648654/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840469.23-248079007648654/ /root/.ansible/tmp/ansible-tmp-1541840469.23-248079007648654/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840469.23-248079007648654/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840469.23-248079007648654/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"backup": "",
"changed": true,
"diff": [
{
"after": "",
"after_header": "/etc/hosts (content)",
"before": "",
"before_header": "/etc/hosts (content)"
},
{
"after_header": "/etc/hosts (file attributes)",
"before_header": "/etc/hosts (file attributes)"
}
],
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/etc/hosts",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": null,
"insertafter": null,
"insertbefore": null,
"line": "127.0.0.1 kiwix kiwix.hotspot",
"mode": null,
"owner": null,
"path": "/etc/hosts",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "present",
"unsafe_writes": null,
"validate": null
}
},
"msg": "line added"
}
TASK [variables : Set hostname using to kiwix.hotspot] *************************
--> variables : Set hostname using to kiwix.hotspot
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:71
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840483.87-197053239942010 `" && echo ansible-tmp-1541840483.87-197053239942010="` echo /root/.ansible/tmp/ansible-tmp-1541840483.87-197053239942010 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/hostname.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpbFVDCt TO /root/.ansible/tmp/ansible-tmp-1541840483.87-197053239942010/hostname.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840483.87-197053239942010/ /root/.ansible/tmp/ansible-tmp-1541840483.87-197053239942010/hostname.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840483.87-197053239942010/hostname.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840483.87-197053239942010/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"ansible_facts": {
"ansible_domain": "localdomain",
"ansible_fqdn": "localhost.localdomain",
"ansible_hostname": "kiwix",
"ansible_nodename": "kiwix.hotspot"
},
"changed": false,
"invocation": {
"module_args": {
"name": "kiwix.hotspot"
}
},
"name": "kiwix.hotspot"
}
TASK [variables : debug] *******************************************************
--> variables : debug
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:91
ok: [localhost] => {
"msg": "My name is kiwix -- kiwix.hotspot"
}
TASK [restore : restore /data archive] *****************************************
--> restore : restore /data archive
task path: /var/lib/ansible/local/roles/restore/tasks/main.yml:2
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541840510.81-219259383968815 `" && echo ansible-tmp-1541840510.81-219259383968815="` echo /var/tmp/ansible-tmp-1541840510.81-219259383968815 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmphDJl05 TO /var/tmp/ansible-tmp-1541840510.81-219259383968815/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541840510.81-219259383968815/ /var/tmp/ansible-tmp-1541840510.81-219259383968815/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541840510.81-219259383968815/ /var/tmp/ansible-tmp-1541840510.81-219259383968815/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541840510.81-219259383968815/ /var/tmp/ansible-tmp-1541840510.81-219259383968815/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-bwslqmzzivpwjntoybhrmxvtczpvaeca; /usr/bin/python /var/tmp/ansible-tmp-1541840510.81-219259383968815/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541840510.81-219259383968815/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "tar -m --no-same-permissions --no-same-owner --no-overwrite-dir -C /data -xf /home/ideascube/data_part.tar",
"delta": "0:00:00.401482",
"end": "2018-11-10 10:01:56.330122",
"invocation": {
"module_args": {
"_raw_params": "tar -m --no-same-permissions --no-same-owner --no-overwrite-dir -C /data -xf /home/ideascube/data_part.tar",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 10:01:55.928640",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
TASK [restore : ensure kiwix data folder is present] ***************************
--> restore : ensure kiwix data folder is present
[STAGE 5/6: Post-process contents (virtualized) - 70%]
task path: /var/lib/ansible/local/roles/restore/tasks/main.yml:9
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840519.63-176193603109725 `" && echo ansible-tmp-1541840519.63-176193603109725="` echo /root/.ansible/tmp/ansible-tmp-1541840519.63-176193603109725 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpcuyPMM TO /root/.ansible/tmp/ansible-tmp-1541840519.63-176193603109725/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840519.63-176193603109725/ /root/.ansible/tmp/ansible-tmp-1541840519.63-176193603109725/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840519.63-176193603109725/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840519.63-176193603109725/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"diff": {
"after": {
"path": "/data/ideascube/kiwix/data",
"state": "directory"
},
"before": {
"path": "/data/ideascube/kiwix/data",
"state": "absent"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/data/ideascube/kiwix/data",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"mode": "0775",
"owner": "ideascube",
"path": "/data/ideascube/kiwix/data",
"size": 131072,
"state": "directory",
"uid": 1001
}
TASK [restore : remove backup archive] *****************************************
--> restore : remove backup archive
[STAGE 5/6: Post-process contents (virtualized) - 70%]
task path: /var/lib/ansible/local/roles/restore/tasks/main.yml:15
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840532.68-136536375439696 `" && echo ansible-tmp-1541840532.68-136536375439696="` echo /root/.ansible/tmp/ansible-tmp-1541840532.68-136536375439696 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpmXt76V TO /root/.ansible/tmp/ansible-tmp-1541840532.68-136536375439696/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840532.68-136536375439696/ /root/.ansible/tmp/ansible-tmp-1541840532.68-136536375439696/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840532.68-136536375439696/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840532.68-136536375439696/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"diff": {
"after": {
"path": "/home/ideascube/data_part.tar",
"state": "absent"
},
"before": {
"path": "/home/ideascube/data_part.tar",
"state": "file"
}
},
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/home/ideascube/data_part.tar",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null
}
},
"path": "/home/ideascube/data_part.tar",
"state": "absent"
}
TASK [resize : Create test directory] ******************************************
--> resize : Create test directory
[STAGE 5/6: Post-process contents (virtualized) - 70%]
task path: /var/lib/ansible/local/roles/resize/tasks/main.yml:155
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541840540.36-120624800607697 `" && echo ansible-tmp-1541840540.36-120624800607697="` echo /var/tmp/ansible-tmp-1541840540.36-120624800607697 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpWQts0Y TO /var/tmp/ansible-tmp-1541840540.36-120624800607697/file.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541840540.36-120624800607697/ /var/tmp/ansible-tmp-1541840540.36-120624800607697/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541840540.36-120624800607697/ /var/tmp/ansible-tmp-1541840540.36-120624800607697/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541840540.36-120624800607697/ /var/tmp/ansible-tmp-1541840540.36-120624800607697/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-eaarljjdlupahmgfkqpsunzwewtuduwb; /usr/bin/python /var/tmp/ansible-tmp-1541840540.36-120624800607697/file.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541840540.36-120624800607697/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item=/data/test) => {
"changed": false,
"diff": {
"after": {
"path": "/data/test"
},
"before": {
"path": "/data/test"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"owner": null,
"path": "/data/test",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": "/data/test",
"mode": "0775",
"owner": "ideascube",
"path": "/data/test",
"size": 131072,
"state": "directory",
"uid": 1001
}
TASK [ideascube : Ensure a kiwix library file is built] ************************
--> ideascube : Ensure a kiwix library file is built
[STAGE 5/6: Post-process contents (virtualized) - 71%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:207
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541840549.33-51773516624813 `" && echo ansible-tmp-1541840549.33-51773516624813="` echo /var/tmp/ansible-tmp-1541840549.33-51773516624813 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpUYOcbI TO /var/tmp/ansible-tmp-1541840549.33-51773516624813/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541840549.33-51773516624813/ /var/tmp/ansible-tmp-1541840549.33-51773516624813/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541840549.33-51773516624813/ /var/tmp/ansible-tmp-1541840549.33-51773516624813/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541840549.33-51773516624813/ /var/tmp/ansible-tmp-1541840549.33-51773516624813/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-hlbxwktvjuomstpixcxaggybprjvxrjz; /usr/bin/python /var/tmp/ansible-tmp-1541840549.33-51773516624813/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541840549.33-51773516624813/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ideascube",
"shell",
"-c",
"from ideascube.serveradmin.catalog import Kiwix ; Kiwix.commit()"
],
"delta": "0:00:37.251791",
"end": "2018-11-10 10:03:10.770186",
"invocation": {
"module_args": {
"_raw_params": "ideascube shell -c \"from ideascube.serveradmin.catalog import Kiwix ; Kiwix.commit()\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 10:02:33.518395",
"stderr": "",
"stderr_lines": [],
"stdout": "\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m\nRebuilding the Kiwix library\nRestarting service kiwix-server",
"stdout_lines": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m",
"\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m",
"Rebuilding the Kiwix library",
"Restarting service kiwix-server"
]
}
TASK [edupi_content : Install the user-provided resources] *********************
--> edupi_content : Install the user-provided resources
[STAGE 5/6: Post-process contents (virtualized) - 71%]
task path: /var/lib/ansible/local/roles/edupi_content/tasks/main.yml:2
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [edupi_content : remove user provided resources (already imported)] *******
--> edupi_content : remove user provided resources (already imported)
[STAGE 5/6: Post-process contents (virtualized) - 71%]
task path: /var/lib/ansible/local/roles/edupi_content/tasks/main.yml:8
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [packages : include_tasks] ************************************************
--> packages : include_tasks
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:4
included: /var/lib/ansible/local/disable_service.yml for localhost
TASK [packages : disable service dnsmasq] **************************************
--> packages : disable service dnsmasq
task path: /var/lib/ansible/local/disable_service.yml:2
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840601.57-231001040152192 `" && echo ansible-tmp-1541840601.57-231001040152192="` echo /root/.ansible/tmp/ansible-tmp-1541840601.57-231001040152192 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpzYeRbB TO /root/.ansible/tmp/ansible-tmp-1541840601.57-231001040152192/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840601.57-231001040152192/ /root/.ansible/tmp/ansible-tmp-1541840601.57-231001040152192/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840601.57-231001040152192/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840601.57-231001040152192/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": false,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": false,
"force": null,
"masked": null,
"name": "dnsmasq",
"no_block": false,
"state": "stopped",
"user": false
}
},
"name": "dnsmasq",
"state": "stopped",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 09:55:06 CET",
"ActiveEnterTimestampMonotonic": "94677811",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "active",
"After": "clean-up.service system.slice network.target sysinit.target basic.target systemd-journald.socket",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 09:54:53 CET",
"AssertTimestampMonotonic": "81834716",
"Before": "nss-lookup.target shutdown.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "yes",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 09:54:53 CET",
"ConditionTimestampMonotonic": "81834710",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/dnsmasq.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "dnsmasq - A lightweight DHCP and caching DNS server",
"DevicePolicy": "auto",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "1672",
"ExecMainStartTimestamp": "Sat 2018-11-10 09:55:00 CET",
"ExecMainStartTimestampMonotonic": "88584600",
"ExecMainStatus": "0",
"ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"ExecStart": "{ path=/etc/init.d/dnsmasq ; argv[]=/etc/init.d/dnsmasq systemd-exec ; ignore_errors=no ; start_time=[Sat 2018-11-10 09:54:56 CET] ; stop_time=[Sat 2018-11-10 09:55:00 CET] ; pid=1653 ; code=exited ; status=0 }",
"ExecStartPost": "{ path=/etc/init.d/dnsmasq ; argv[]=/etc/init.d/dnsmasq systemd-start-resolvconf ; ignore_errors=no ; start_time=[Sat 2018-11-10 09:55:00 CET] ; stop_time=[Sat 2018-11-10 09:55:06 CET] ; pid=1673 ; code=exited ; status=0 }",
"ExecStartPre": "{ path=/usr/sbin/dnsmasq ; argv[]=/usr/sbin/dnsmasq --test ; ignore_errors=no ; start_time=[Sat 2018-11-10 09:54:53 CET] ; stop_time=[Sat 2018-11-10 09:54:56 CET] ; pid=1646 ; code=exited ; status=0 }",
"ExecStop": "{ path=/etc/init.d/dnsmasq ; argv[]=/etc/init.d/dnsmasq systemd-stop-resolvconf ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/lib/systemd/system/dnsmasq.service",
"GID": "4294967295",
"GuessMainPID": "yes",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "dnsmasq.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestampMonotonic": "0",
"InactiveExitTimestamp": "Sat 2018-11-10 09:54:53 CET",
"InactiveExitTimestampMonotonic": "81894732",
"InvocationID": "a3d421d0e2a14123b449c2aa71247ba0",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "control-group",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "1672",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "dnsmasq.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "none",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PIDFile": "/run/dnsmasq/dnsmasq.pid",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "no",
"RemoveIPC": "no",
"Requires": "system.slice network.target sysinit.target",
"Restart": "no",
"RestartUSec": "100ms",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 09:55:06 CET",
"StateChangeTimestampMonotonic": "94677811",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "1min 30s",
"TimeoutStopUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "forking",
"UID": "4294967295",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "disabled",
"UtmpMode": "init",
"Wants": "nss-lookup.target",
"WatchdogTimestamp": "Sat 2018-11-10 09:55:00 CET",
"WatchdogTimestampMonotonic": "88585177",
"WatchdogUSec": "0"
}
}
TASK [packages : Install catalogs] *********************************************
--> packages : Install catalogs
[STAGE 5/6: Post-process contents (virtualized) - 72%]
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:7
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541840621.35-210749270502925 `" && echo ansible-tmp-1541840621.35-210749270502925="` echo /var/tmp/ansible-tmp-1541840621.35-210749270502925 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmp8A3ig8 TO /var/tmp/ansible-tmp-1541840621.35-210749270502925/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541840621.35-210749270502925/ /var/tmp/ansible-tmp-1541840621.35-210749270502925/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541840621.35-210749270502925/ /var/tmp/ansible-tmp-1541840621.35-210749270502925/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541840621.35-210749270502925/ /var/tmp/ansible-tmp-1541840621.35-210749270502925/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-ierfaygxlaovknneruszjfcbzwkmzrmv; /usr/bin/python /var/tmp/ansible-tmp-1541840621.35-210749270502925/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541840621.35-210749270502925/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item={u'url': u'http://download.kiwix.org/library/ideascube.yml', u'description': u'Kiwix ZIM Content', u'local_url': u'file:///home/pi/catalog_Kiwix.yml', u'name': u'Kiwix'}) => {
"changed": true,
"cmd": [
"ideascube",
"catalog",
"remotes",
"add",
"Kiwix",
"Kiwix ZIM Content",
"file:///home/pi/catalog_Kiwix.yml"
],
"delta": "0:00:52.563045",
"end": "2018-11-10 10:04:43.922455",
"invocation": {
"module_args": {
"_raw_params": "ideascube catalog remotes add \"Kiwix\" \"Kiwix ZIM Content\" \"file:///home/pi/catalog_Kiwix.yml\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"item": {
"description": "Kiwix ZIM Content",
"local_url": "file:///home/pi/catalog_Kiwix.yml",
"name": "Kiwix",
"url": "http://download.kiwix.org/library/ideascube.yml"
},
"rc": 0,
"start": "2018-11-10 10:03:51.359410",
"stderr": "",
"stderr_lines": [],
"stdout": "\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m",
"stdout_lines": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m",
"\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m"
]
}
TASK [packages : Update ideascube catalog cache before downloading] ************
--> packages : Update ideascube catalog cache before downloading
[STAGE 5/6: Post-process contents (virtualized) - 72%]
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:14
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541840687.41-77716240873402 `" && echo ansible-tmp-1541840687.41-77716240873402="` echo /var/tmp/ansible-tmp-1541840687.41-77716240873402 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmp5wtaFh TO /var/tmp/ansible-tmp-1541840687.41-77716240873402/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541840687.41-77716240873402/ /var/tmp/ansible-tmp-1541840687.41-77716240873402/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541840687.41-77716240873402/ /var/tmp/ansible-tmp-1541840687.41-77716240873402/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541840687.41-77716240873402/ /var/tmp/ansible-tmp-1541840687.41-77716240873402/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-wlftssznnbfxkxovsngzccfbjjtxzlys; /usr/bin/python /var/tmp/ansible-tmp-1541840687.41-77716240873402/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541840687.41-77716240873402/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "ideascube catalog cache update",
"delta": "0:01:03.079547",
"end": "2018-11-10 10:05:56.584927",
"invocation": {
"module_args": {
"_raw_params": "ideascube catalog cache update",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 10:04:53.505380",
"stderr": "",
"stderr_lines": [],
"stdout": "\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m",
"stdout_lines": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m",
"\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m"
]
}
TASK [packages : Install, upgrade or remove packages] **************************
--> packages : Install, upgrade or remove packages
[STAGE 5/6: Post-process contents (virtualized) - 72%]
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:20
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541840760.77-75523030356015 `" && echo ansible-tmp-1541840760.77-75523030356015="` echo /var/tmp/ansible-tmp-1541840760.77-75523030356015 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpDmj88K TO /var/tmp/ansible-tmp-1541840760.77-75523030356015/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541840760.77-75523030356015/ /var/tmp/ansible-tmp-1541840760.77-75523030356015/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541840760.77-75523030356015/ /var/tmp/ansible-tmp-1541840760.77-75523030356015/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541840760.77-75523030356015/ /var/tmp/ansible-tmp-1541840760.77-75523030356015/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-phzzuponfgnlzujuoofqmkxpxdjxljzd; /usr/bin/python /var/tmp/ansible-tmp-1541840760.77-75523030356015/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541840760.77-75523030356015/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=wikipedia_ab_all_novid.ab) => {
"changed": true,
"cmd": "ideascube catalog install --package-cache /data/packages_cache --skip-sha256 wikipedia_ab_all_novid.ab",
"delta": "0:00:38.423776",
"end": "2018-11-10 10:06:36.887998",
"invocation": {
"module_args": {
"_raw_params": "ideascube catalog install --package-cache /data/packages_cache --skip-sha256 wikipedia_ab_all_novid.ab",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"item": "wikipedia_ab_all_novid.ab",
"rc": 0,
"start": "2018-11-10 10:05:58.464222",
"stderr": "",
"stderr_lines": [],
"stdout": "\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m\nInstalling wikipedia_ab_all_novid.ab-2018-06-18\nRebuilding the Kiwix library\nRestarting service kiwix-server",
"stdout_lines": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m",
"\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m",
"Installing wikipedia_ab_all_novid.ab-2018-06-18",
"Rebuilding the Kiwix library",
"Restarting service kiwix-server"
]
}
NOTIFIED HANDLER restart kiwix for localhost
TASK [packages : Add CSS for package icon] *************************************
--> packages : Add CSS for package icon
[STAGE 5/6: Post-process contents (virtualized) - 72%]
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:30
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840803.85-196237391246363 `" && echo ansible-tmp-1541840803.85-196237391246363="` echo /root/.ansible/tmp/ansible-tmp-1541840803.85-196237391246363 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmp6lpVy0 TO /root/.ansible/tmp/ansible-tmp-1541840803.85-196237391246363/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840803.85-196237391246363/ /root/.ansible/tmp/ansible-tmp-1541840803.85-196237391246363/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840803.85-196237391246363/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840803.85-196237391246363/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item=wikipedia_ab_all_novid.ab) => {
"backup": "",
"changed": false,
"diff": [
{
"after": "",
"after_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (content)",
"before": "",
"before_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (content)"
},
{
"after_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (file attributes)",
"before_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (file attributes)"
}
],
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": null,
"insertafter": "EOF",
"insertbefore": null,
"line": ".card.wikipedia_ab_all_novid { background-image: url(\"http://kiwix.kiwix.hotspot/wikipedia_ab_all_novid.ab/-/favicon\"); }",
"mode": null,
"owner": null,
"path": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "present",
"unsafe_writes": null,
"validate": null
}
},
"item": "wikipedia_ab_all_novid.ab",
"msg": ""
}
TASK [packages : Fix khanacademy icon size in CSS] *****************************
--> packages : Fix khanacademy icon size in CSS
[STAGE 5/6: Post-process contents (virtualized) - 73%]
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:40
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840811.46-171666814641134 `" && echo ansible-tmp-1541840811.46-171666814641134="` echo /root/.ansible/tmp/ansible-tmp-1541840811.46-171666814641134 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpAdFhM0 TO /root/.ansible/tmp/ansible-tmp-1541840811.46-171666814641134/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840811.46-171666814641134/ /root/.ansible/tmp/ansible-tmp-1541840811.46-171666814641134/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840811.46-171666814641134/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840811.46-171666814641134/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"backup": "",
"changed": true,
"diff": [
{
"after": "",
"after_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (content)",
"before": "",
"before_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (content)"
},
{
"after_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (file attributes)",
"before_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (file attributes)"
}
],
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": null,
"insertafter": "EOF",
"insertbefore": null,
"line": ".card.khanacademy { background-size: 48px; }",
"mode": null,
"owner": null,
"path": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "present",
"unsafe_writes": null,
"validate": null
}
},
"msg": "line added"
}
TASK [packages : Fix edupi category CSS] ***************************************
--> packages : Fix edupi category CSS
[STAGE 5/6: Post-process contents (virtualized) - 73%]
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:48
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840819.14-144694173482722 `" && echo ansible-tmp-1541840819.14-144694173482722="` echo /root/.ansible/tmp/ansible-tmp-1541840819.14-144694173482722 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpCh785F TO /root/.ansible/tmp/ansible-tmp-1541840819.14-144694173482722/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840819.14-144694173482722/ /root/.ansible/tmp/ansible-tmp-1541840819.14-144694173482722/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840819.14-144694173482722/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840819.14-144694173482722/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"backup": "",
"changed": true,
"diff": [
{
"after": "",
"after_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (content)",
"before": "",
"before_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (content)"
},
{
"after_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (file attributes)",
"before_header": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css (file attributes)"
}
],
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": null,
"insertafter": "EOF",
"insertbefore": null,
"line": ".acces, .access { background-color: #FCE94F; }",
"mode": null,
"owner": null,
"path": "/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css",
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "present",
"unsafe_writes": null,
"validate": null
}
},
"msg": "line added"
}
TASK [packages : collect static for ideascube] *********************************
--> packages : collect static for ideascube
[STAGE 5/6: Post-process contents (virtualized) - 73%]
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:56
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp/ansible-tmp-1541840826.32-206961207247708 `" && echo ansible-tmp-1541840826.32-206961207247708="` echo /var/tmp/ansible-tmp-1541840826.32-206961207247708 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpZlvPY6 TO /var/tmp/ansible-tmp-1541840826.32-206961207247708/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1541840826.32-206961207247708/ /var/tmp/ansible-tmp-1541840826.32-206961207247708/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1541840826.32-206961207247708/ /var/tmp/ansible-tmp-1541840826.32-206961207247708/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1541840826.32-206961207247708/ /var/tmp/ansible-tmp-1541840826.32-206961207247708/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-uwhfpqgspeukjlcsbihqfsxlyjagruoc; /usr/bin/python /var/tmp/ansible-tmp-1541840826.32-206961207247708/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1541840826.32-206961207247708/ > /dev/null 2>&1 && sleep 0'
NOTIFIED HANDLER restart uwsgi for localhost
changed: [localhost] => {
"changed": true,
"cmd": [
"ideascube",
"collectstatic",
"--noinput"
],
"delta": "0:00:37.065726",
"end": "2018-11-10 10:07:48.431649",
"invocation": {
"module_args": {
"_raw_params": "ideascube collectstatic --noinput",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-11-10 10:07:11.365923",
"stderr": "",
"stderr_lines": [],
"stdout": "\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m\nCopying '/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css'\nPost-processed 'ideascube/vendor/tinymce/plugins/codesample/css/prism.css' as 'ideascube/vendor/tinymce/plugins/codesample/css/prism.155e9f3a6162.css'\nPost-processed 'ideascube/vendor/tinymce/plugins/visualblocks/css/visualblocks.css' as 'ideascube/vendor/tinymce/plugins/visualblocks/css/visualblocks.7655640530c7.css'\nPost-processed 'ideascube/vendor/tinymce/skins/lightgray/skin.ie7.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/skin.ie7.min.31b6f74848ce.css'\nPost-processed 'ideascube/vendor/tinymce/skins/lightgray/content.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/content.min.99ae1f5a27c3.css'\nPost-processed 'ideascube/vendor/tinymce/skins/lightgray/skin.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/skin.min.8a1b3dedaa42.css'\nPost-processed 'ideascube/vendor/tinymce/skins/lightgray/content.inline.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/content.inline.min.80f8cf53476e.css'\nPost-processed 'ideascube/vendor/font-awesome/css/font-awesome.min.css' as 'ideascube/vendor/font-awesome/css/font-awesome.min.0cd2c039b326.css'\nPost-processed 'ideascube/vendor/pikaday/pikaday.css' as 'ideascube/vendor/pikaday/pikaday.829f1852d326.css'\nPost-processed 'ideascube/vendor/purecss/pure-css-grids-min.css' as 'ideascube/vendor/purecss/pure-css-grids-min.2ca769ea09ec.css'\nPost-processed 'ideascube/vendor/purecss/pure-css-grids-old-ie-min.css' as 'ideascube/vendor/purecss/pure-css-grids-old-ie-min.4b394c878d83.css'\nPost-processed 'branding/style.css' as 'branding/style.d41d8cd98f00.css'\nPost-processed 'ideascube/cards.css' as 'ideascube/cards.bd547de2fcbd.css'\nPost-processed 'ideascube/main.css' as 'ideascube/main.597952ded214.css'\nPost-processed 'serveradmin/serveradmin.css' as 'serveradmin/serveradmin.7803b346bd2f.css'\nPost-processed 'library/library.css' as 'library/library.4b21c18ee555.css'\nPost-processed 'mediacenter/mediacenter.css' as 'mediacenter/mediacenter.525c791d1fe1.css'\nPost-processed 'monitoring/monitoring.css' as 'monitoring/monitoring.3fc7d044b11b.css'\nPost-processed 'flags/sprite.css' as 'flags/sprite.9e17097ec43d.css'\nPost-processed 'flags/sprite-hq.css' as 'flags/sprite-hq.900a84aa8850.css'\nPost-processed 'ideascube/vendor/tinymce/plugins/codesample/css/prism.css' as 'ideascube/vendor/tinymce/plugins/codesample/css/prism.155e9f3a6162.css'\nPost-processed 'ideascube/vendor/tinymce/plugins/visualblocks/css/visualblocks.css' as 'ideascube/vendor/tinymce/plugins/visualblocks/css/visualblocks.7655640530c7.css'\nPost-processed 'ideascube/vendor/tinymce/skins/lightgray/skin.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/skin.min.8a1b3dedaa42.css'\nPost-processed 'ideascube/vendor/tinymce/skins/lightgray/content.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/content.min.99ae1f5a27c3.css'\nPost-processed 'ideascube/vendor/tinymce/skins/lightgray/content.inline.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/content.inline.min.80f8cf53476e.css'\nPost-processed 'ideascube/vendor/tinymce/skins/lightgray/skin.ie7.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/skin.ie7.min.31b6f74848ce.css'\nPost-processed 'ideascube/vendor/font-awesome/css/font-awesome.min.css' as 'ideascube/vendor/font-awesome/css/font-awesome.min.0cd2c039b326.css'\nPost-processed 'ideascube/vendor/purecss/pure-css-grids-old-ie-min.css' as 'ideascube/vendor/purecss/pure-css-grids-old-ie-min.4b394c878d83.css'\nPost-processed 'ideascube/vendor/purecss/pure-css-grids-min.css' as 'ideascube/vendor/purecss/pure-css-grids-min.2ca769ea09ec.css'\nPost-processed 'ideascube/vendor/pikaday/pikaday.css' as 'ideascube/vendor/pikaday/pikaday.829f1852d326.css'\nPost-processed 'ideascube/cards.css' as 'ideascube/cards.bd547de2fcbd.css'\nPost-processed 'mediacenter/mediacenter.css' as 'mediacenter/mediacenter.525c791d1fe1.css'\nPost-processed 'flags/sprite.css' as 'flags/sprite.9e17097ec43d.css'\nPost-processed 'branding/style.css' as 'branding/style.d41d8cd98f00.css'\nPost-processed 'serveradmin/serveradmin.css' as 'serveradmin/serveradmin.7803b346bd2f.css'\nPost-processed 'flags/sprite-hq.css' as 'flags/sprite-hq.900a84aa8850.css'\nPost-processed 'monitoring/monitoring.css' as 'monitoring/monitoring.3fc7d044b11b.css'\nPost-processed 'library/library.css' as 'library/library.4b21c18ee555.css'\nPost-processed 'ideascube/main.css' as 'ideascube/main.597952ded214.css'\n\n1 static file copied to '/var/ideascube/static', 512 unmodified, 38 post-processed.",
"stdout_lines": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m",
"\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m",
"Copying '/opt/venvs/ideascube/lib/python3.5/site-packages/ideascube/static/ideascube/cards.css'",
"Post-processed 'ideascube/vendor/tinymce/plugins/codesample/css/prism.css' as 'ideascube/vendor/tinymce/plugins/codesample/css/prism.155e9f3a6162.css'",
"Post-processed 'ideascube/vendor/tinymce/plugins/visualblocks/css/visualblocks.css' as 'ideascube/vendor/tinymce/plugins/visualblocks/css/visualblocks.7655640530c7.css'",
"Post-processed 'ideascube/vendor/tinymce/skins/lightgray/skin.ie7.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/skin.ie7.min.31b6f74848ce.css'",
"Post-processed 'ideascube/vendor/tinymce/skins/lightgray/content.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/content.min.99ae1f5a27c3.css'",
"Post-processed 'ideascube/vendor/tinymce/skins/lightgray/skin.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/skin.min.8a1b3dedaa42.css'",
"Post-processed 'ideascube/vendor/tinymce/skins/lightgray/content.inline.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/content.inline.min.80f8cf53476e.css'",
"Post-processed 'ideascube/vendor/font-awesome/css/font-awesome.min.css' as 'ideascube/vendor/font-awesome/css/font-awesome.min.0cd2c039b326.css'",
"Post-processed 'ideascube/vendor/pikaday/pikaday.css' as 'ideascube/vendor/pikaday/pikaday.829f1852d326.css'",
"Post-processed 'ideascube/vendor/purecss/pure-css-grids-min.css' as 'ideascube/vendor/purecss/pure-css-grids-min.2ca769ea09ec.css'",
"Post-processed 'ideascube/vendor/purecss/pure-css-grids-old-ie-min.css' as 'ideascube/vendor/purecss/pure-css-grids-old-ie-min.4b394c878d83.css'",
"Post-processed 'branding/style.css' as 'branding/style.d41d8cd98f00.css'",
"Post-processed 'ideascube/cards.css' as 'ideascube/cards.bd547de2fcbd.css'",
"Post-processed 'ideascube/main.css' as 'ideascube/main.597952ded214.css'",
"Post-processed 'serveradmin/serveradmin.css' as 'serveradmin/serveradmin.7803b346bd2f.css'",
"Post-processed 'library/library.css' as 'library/library.4b21c18ee555.css'",
"Post-processed 'mediacenter/mediacenter.css' as 'mediacenter/mediacenter.525c791d1fe1.css'",
"Post-processed 'monitoring/monitoring.css' as 'monitoring/monitoring.3fc7d044b11b.css'",
"Post-processed 'flags/sprite.css' as 'flags/sprite.9e17097ec43d.css'",
"Post-processed 'flags/sprite-hq.css' as 'flags/sprite-hq.900a84aa8850.css'",
"Post-processed 'ideascube/vendor/tinymce/plugins/codesample/css/prism.css' as 'ideascube/vendor/tinymce/plugins/codesample/css/prism.155e9f3a6162.css'",
"Post-processed 'ideascube/vendor/tinymce/plugins/visualblocks/css/visualblocks.css' as 'ideascube/vendor/tinymce/plugins/visualblocks/css/visualblocks.7655640530c7.css'",
"Post-processed 'ideascube/vendor/tinymce/skins/lightgray/skin.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/skin.min.8a1b3dedaa42.css'",
"Post-processed 'ideascube/vendor/tinymce/skins/lightgray/content.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/content.min.99ae1f5a27c3.css'",
"Post-processed 'ideascube/vendor/tinymce/skins/lightgray/content.inline.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/content.inline.min.80f8cf53476e.css'",
"Post-processed 'ideascube/vendor/tinymce/skins/lightgray/skin.ie7.min.css' as 'ideascube/vendor/tinymce/skins/lightgray/skin.ie7.min.31b6f74848ce.css'",
"Post-processed 'ideascube/vendor/font-awesome/css/font-awesome.min.css' as 'ideascube/vendor/font-awesome/css/font-awesome.min.0cd2c039b326.css'",
"Post-processed 'ideascube/vendor/purecss/pure-css-grids-old-ie-min.css' as 'ideascube/vendor/purecss/pure-css-grids-old-ie-min.4b394c878d83.css'",
"Post-processed 'ideascube/vendor/purecss/pure-css-grids-min.css' as 'ideascube/vendor/purecss/pure-css-grids-min.2ca769ea09ec.css'",
"Post-processed 'ideascube/vendor/pikaday/pikaday.css' as 'ideascube/vendor/pikaday/pikaday.829f1852d326.css'",
"Post-processed 'ideascube/cards.css' as 'ideascube/cards.bd547de2fcbd.css'",
"Post-processed 'mediacenter/mediacenter.css' as 'mediacenter/mediacenter.525c791d1fe1.css'",
"Post-processed 'flags/sprite.css' as 'flags/sprite.9e17097ec43d.css'",
"Post-processed 'branding/style.css' as 'branding/style.d41d8cd98f00.css'",
"Post-processed 'serveradmin/serveradmin.css' as 'serveradmin/serveradmin.7803b346bd2f.css'",
"Post-processed 'flags/sprite-hq.css' as 'flags/sprite-hq.900a84aa8850.css'",
"Post-processed 'monitoring/monitoring.css' as 'monitoring/monitoring.3fc7d044b11b.css'",
"Post-processed 'library/library.css' as 'library/library.4b21c18ee555.css'",
"Post-processed 'ideascube/main.css' as 'ideascube/main.597952ded214.css'",
"",
"1 static file copied to '/var/ideascube/static', 512 unmodified, 38 post-processed."
]
}
TASK [packages : set_fact] *****************************************************
--> packages : set_fact
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:63
ok: [localhost] => {
"ansible_facts": {
"pkg_list": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m\nInstalling wikipedia_ab_all_novid.ab-2018-06-18\nRebuilding the Kiwix library\nRestarting service kiwix-server"
]
},
"changed": false
}
TASK [packages : debug] ********************************************************
--> packages : debug
task path: /var/lib/ansible/local/roles/packages/tasks/main.yml:67
ok: [localhost] => {
"pkg_list": [
"\u001b[36mIDEASCUBE_ID=pibox\u001b[0m\n\u001b[36mImporting settings from ideascube.conf.pibox\u001b[0m\nInstalling wikipedia_ab_all_novid.ab-2018-06-18\nRebuilding the Kiwix library\nRestarting service kiwix-server"
]
}
TASK [kalite_content : Import Kalite language pack] ****************************
--> kalite_content : Import Kalite language pack
[STAGE 5/6: Post-process contents (virtualized) - 74%]
task path: /var/lib/ansible/local/roles/kalite_content/tasks/main.yml:3
TASK [kalite_content : move downloaded videos to kalite folder] ****************
--> kalite_content : move downloaded videos to kalite folder
[STAGE 5/6: Post-process contents (virtualized) - 74%]
task path: /var/lib/ansible/local/roles/kalite_content/tasks/main.yml:14
TASK [kalite_content : Perfom a video scan on the device] **********************
--> kalite_content : Perfom a video scan on the device
[STAGE 5/6: Post-process contents (virtualized) - 75%]
task path: /var/lib/ansible/local/roles/kalite_content/tasks/main.yml:20
TASK [aflatoun_content : Make sure aflatoun content directory does not exist] ***
--> aflatoun_content : Make sure aflatoun content directory does not exist
[STAGE 5/6: Post-process contents (virtualized) - 75%]
task path: /var/lib/ansible/local/roles/aflatoun_content/tasks/main.yml:2
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [aflatoun_content : Move downloaded content to proper location] ***********
--> aflatoun_content : Move downloaded content to proper location
[STAGE 5/6: Post-process contents (virtualized) - 75%]
task path: /var/lib/ansible/local/roles/aflatoun_content/tasks/main.yml:9
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [aflatoun_content : re-launch setup for it annotates the content items] ***
--> aflatoun_content : re-launch setup for it annotates the content items
[STAGE 5/6: Post-process contents (virtualized) - 75%]
task path: /var/lib/ansible/local/roles/aflatoun_content/tasks/main.yml:13
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [aflatoun_content : Install Aflatoun language pack] ***********************
--> aflatoun_content : Install Aflatoun language pack
[STAGE 5/6: Post-process contents (virtualized) - 76%]
task path: /var/lib/ansible/local/roles/aflatoun_content/tasks/main.yml:22
TASK [wikifundi_content : make sure wikifundi data folder exists] **************
--> wikifundi_content : make sure wikifundi data folder exists
[STAGE 5/6: Post-process contents (virtualized) - 76%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:2
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [wikifundi_content : make sure images folder does not exists] *************
--> wikifundi_content : make sure images folder does not exists
[STAGE 5/6: Post-process contents (virtualized) - 76%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:8
TASK [wikifundi_content : move wikifundi LocalSettings] ************************
--> wikifundi_content : move wikifundi LocalSettings
[STAGE 5/6: Post-process contents (virtualized) - 76%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:15
TASK [wikifundi_content : change sqliteDataDir in LocalSettings.custom] ********
--> wikifundi_content : change sqliteDataDir in LocalSettings.custom
[STAGE 5/6: Post-process contents (virtualized) - 77%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:20
TASK [wikifundi_content : stat] ************************************************
--> wikifundi_content : stat
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:28
TASK [wikifundi_content : add parsoid config to LocalSettings.custom] **********
--> wikifundi_content : add parsoid config to LocalSettings.custom
[STAGE 5/6: Post-process contents (virtualized) - 77%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:34
TASK [wikifundi_content : add upload path to LocalSettings.custom] *************
--> wikifundi_content : add upload path to LocalSettings.custom
[STAGE 5/6: Post-process contents (virtualized) - 78%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:43
TASK [wikifundi_content : add wgUploadDirectory path to LocalSettings.custom] ***
--> wikifundi_content : add wgUploadDirectory path to LocalSettings.custom
[STAGE 5/6: Post-process contents (virtualized) - 78%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:51
TASK [wikifundi_content : move wikifundi database] *****************************
--> wikifundi_content : move wikifundi database
[STAGE 5/6: Post-process contents (virtualized) - 78%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:59
TASK [wikifundi_content : Add admin account to Wikifundi] **********************
--> wikifundi_content : Add admin account to Wikifundi
[STAGE 5/6: Post-process contents (virtualized) - 78%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:64
TASK [wikifundi_content : move wikifundi images] *******************************
--> wikifundi_content : move wikifundi images
[STAGE 5/6: Post-process contents (virtualized) - 79%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:76
TASK [wikifundi_content : Add wikifundi CSS hack] ******************************
--> wikifundi_content : Add wikifundi CSS hack
[STAGE 5/6: Post-process contents (virtualized) - 79%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:81
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:2
included: /var/lib/ansible/local/enable_service.yml for localhost
TASK [services : enable service remove_staticfiles_json] ***********************
--> services : enable service remove_staticfiles_json
task path: /var/lib/ansible/local/enable_service.yml:2
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840916.09-225199066005997 `" && echo ansible-tmp-1541840916.09-225199066005997="` echo /root/.ansible/tmp/ansible-tmp-1541840916.09-225199066005997 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpTh4Ytn TO /root/.ansible/tmp/ansible-tmp-1541840916.09-225199066005997/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840916.09-225199066005997/ /root/.ansible/tmp/ansible-tmp-1541840916.09-225199066005997/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840916.09-225199066005997/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840916.09-225199066005997/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": true,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": true,
"force": null,
"masked": null,
"name": "remove_staticfiles_json",
"no_block": false,
"state": "restarted",
"user": false
}
},
"name": "remove_staticfiles_json",
"state": "started",
"status": {
"ActiveEnterTimestampMonotonic": "0",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "inactive",
"After": "system.slice sysinit.target basic.target systemd-journald.socket",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "no",
"AssertTimestampMonotonic": "0",
"Before": "shutdown.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "no",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "no",
"ConditionTimestampMonotonic": "0",
"Conflicts": "shutdown.target",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "Delete ideascube staticfiles.json if empty",
"DevicePolicy": "auto",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "0",
"ExecMainStartTimestampMonotonic": "0",
"ExecMainStatus": "0",
"ExecStart": "{ path=/usr/local/bin/remove_staticfiles_json.sh ; argv[]=/usr/local/bin/remove_staticfiles_json.sh ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/etc/systemd/system/remove_staticfiles_json.service",
"GID": "4294967295",
"GuessMainPID": "yes",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "remove_staticfiles_json.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestampMonotonic": "0",
"InactiveExitTimestampMonotonic": "0",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "control-group",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "0",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "remove_staticfiles_json.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "none",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "no",
"RemoveIPC": "no",
"Requires": "system.slice sysinit.target",
"Restart": "no",
"RestartUSec": "100ms",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestampMonotonic": "0",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "dead",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "infinity",
"TimeoutStopUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "oneshot",
"UID": "4294967295",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "static",
"UtmpMode": "init",
"WatchdogTimestampMonotonic": "0",
"WatchdogUSec": "0"
}
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:3
included: /var/lib/ansible/local/enable_service.yml for localhost
TASK [services : enable service kiwix-server] **********************************
--> services : enable service kiwix-server
task path: /var/lib/ansible/local/enable_service.yml:2
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840927.43-4058811820235 `" && echo ansible-tmp-1541840927.43-4058811820235="` echo /root/.ansible/tmp/ansible-tmp-1541840927.43-4058811820235 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmp2cBZJf TO /root/.ansible/tmp/ansible-tmp-1541840927.43-4058811820235/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840927.43-4058811820235/ /root/.ansible/tmp/ansible-tmp-1541840927.43-4058811820235/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840927.43-4058811820235/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840927.43-4058811820235/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": true,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": true,
"force": null,
"masked": null,
"name": "kiwix-server",
"no_block": false,
"state": "restarted",
"user": false
}
},
"name": "kiwix-server",
"state": "started",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 10:06:32 CET",
"ActiveEnterTimestampMonotonic": "788940198",
"ActiveExitTimestamp": "Sat 2018-11-10 10:06:32 CET",
"ActiveExitTimestampMonotonic": "788748555",
"ActiveState": "active",
"After": "system.slice sysinit.target basic.target systemd-journald.socket",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 10:06:32 CET",
"AssertTimestampMonotonic": "788933124",
"Before": "multi-user.target shutdown.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "no",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 10:06:32 CET",
"ConditionTimestampMonotonic": "788933118",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/kiwix-server.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "Kiwix server",
"DevicePolicy": "auto",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "3279",
"ExecMainStartTimestamp": "Sat 2018-11-10 10:06:32 CET",
"ExecMainStartTimestampMonotonic": "788939434",
"ExecMainStatus": "0",
"ExecStart": "{ path=/bin/sh ; argv[]=/bin/sh -c ls /var/ideascube/kiwix/*.zim && /usr/local/bin/kiwix-serve --port=8002 $(ls /var/ideascube/kiwix/*.zim) || /usr/local/bin/kiwix-serve --port=8002 --library /var/ideascube/kiwix/library.xml ; ignore_errors=no ; start_time=[Sat 2018-11-10 10:06:32 CET] ; stop_time=[n/a] ; pid=3279 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/etc/systemd/system/kiwix-server.service",
"GID": "1001",
"Group": "ideascube",
"GuessMainPID": "yes",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "kiwix-server.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestamp": "Sat 2018-11-10 10:06:32 CET",
"InactiveEnterTimestampMonotonic": "788829450",
"InactiveExitTimestamp": "Sat 2018-11-10 10:06:32 CET",
"InactiveExitTimestampMonotonic": "788940198",
"InvocationID": "b2b07aca40114980ac0e5b3d041664e7",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "control-group",
"KillSignal": "3",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "3279",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "kiwix-server.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "none",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "no",
"RemoveIPC": "no",
"Requires": "system.slice sysinit.target",
"Restart": "always",
"RestartUSec": "100ms",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 10:06:32 CET",
"StateChangeTimestampMonotonic": "788940198",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "1min 30s",
"TimeoutStopUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "simple",
"UID": "1001",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "enabled",
"User": "ideascube",
"UtmpMode": "init",
"WantedBy": "multi-user.target",
"WatchdogTimestamp": "Sat 2018-11-10 10:06:32 CET",
"WatchdogTimestampMonotonic": "788940165",
"WatchdogUSec": "0"
}
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:5
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:8
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:11
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:14
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:17
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:20
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:23
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:26
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:29
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:32
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:36
included: /var/lib/ansible/local/enable_service.yml for localhost
TASK [services : enable service dnsmasq] ***************************************
--> services : enable service dnsmasq
task path: /var/lib/ansible/local/enable_service.yml:2
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541840967.24-215706997371233 `" && echo ansible-tmp-1541840967.24-215706997371233="` echo /root/.ansible/tmp/ansible-tmp-1541840967.24-215706997371233 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmp2LxbIv TO /root/.ansible/tmp/ansible-tmp-1541840967.24-215706997371233/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541840967.24-215706997371233/ /root/.ansible/tmp/ansible-tmp-1541840967.24-215706997371233/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541840967.24-215706997371233/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541840967.24-215706997371233/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": true,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": true,
"force": null,
"masked": null,
"name": "dnsmasq",
"no_block": false,
"state": "restarted",
"user": false
}
},
"name": "dnsmasq",
"state": "started",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 10:05:11 CET",
"ActiveEnterTimestampMonotonic": "699526554",
"ActiveExitTimestamp": "Sat 2018-11-10 10:03:30 CET",
"ActiveExitTimestampMonotonic": "598710511",
"ActiveState": "active",
"After": "clean-up.service system.slice network.target sysinit.target basic.target systemd-journald.socket",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 10:05:04 CET",
"AssertTimestampMonotonic": "693023494",
"Before": "nss-lookup.target shutdown.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "yes",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 10:05:04 CET",
"ConditionTimestampMonotonic": "693023489",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/dnsmasq.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "dnsmasq - A lightweight DHCP and caching DNS server",
"DevicePolicy": "auto",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "3119",
"ExecMainStartTimestamp": "Sat 2018-11-10 10:05:07 CET",
"ExecMainStartTimestampMonotonic": "695983683",
"ExecMainStatus": "0",
"ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"ExecStart": "{ path=/etc/init.d/dnsmasq ; argv[]=/etc/init.d/dnsmasq systemd-exec ; ignore_errors=no ; start_time=[Sat 2018-11-10 10:05:05 CET] ; stop_time=[Sat 2018-11-10 10:05:07 CET] ; pid=3107 ; code=exited ; status=0 }",
"ExecStartPost": "{ path=/etc/init.d/dnsmasq ; argv[]=/etc/init.d/dnsmasq systemd-start-resolvconf ; ignore_errors=no ; start_time=[Sat 2018-11-10 10:05:07 CET] ; stop_time=[Sat 2018-11-10 10:05:11 CET] ; pid=3120 ; code=exited ; status=0 }",
"ExecStartPre": "{ path=/usr/sbin/dnsmasq ; argv[]=/usr/sbin/dnsmasq --test ; ignore_errors=no ; start_time=[Sat 2018-11-10 10:05:05 CET] ; stop_time=[Sat 2018-11-10 10:05:05 CET] ; pid=3104 ; code=exited ; status=0 }",
"ExecStop": "{ path=/etc/init.d/dnsmasq ; argv[]=/etc/init.d/dnsmasq systemd-stop-resolvconf ; ignore_errors=no ; start_time=[Sat 2018-11-10 10:03:30 CET] ; stop_time=[Sat 2018-11-10 10:03:32 CET] ; pid=2904 ; code=exited ; status=0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/lib/systemd/system/dnsmasq.service",
"GID": "4294967295",
"GuessMainPID": "yes",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "dnsmasq.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestamp": "Sat 2018-11-10 10:03:33 CET",
"InactiveEnterTimestampMonotonic": "601316291",
"InactiveExitTimestamp": "Sat 2018-11-10 10:05:05 CET",
"InactiveExitTimestampMonotonic": "693063640",
"InvocationID": "b50ed51b00da4e74be069828d451ccec",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "control-group",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "3119",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "dnsmasq.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "none",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PIDFile": "/run/dnsmasq/dnsmasq.pid",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "no",
"RemoveIPC": "no",
"Requires": "system.slice network.target sysinit.target",
"Restart": "no",
"RestartUSec": "100ms",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 10:05:11 CET",
"StateChangeTimestampMonotonic": "699526554",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "1min 30s",
"TimeoutStopUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "forking",
"UID": "4294967295",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "disabled",
"UtmpMode": "init",
"Wants": "nss-lookup.target",
"WatchdogTimestamp": "Sat 2018-11-10 10:05:07 CET",
"WatchdogTimestampMonotonic": "695984824",
"WatchdogUSec": "0"
}
}
TASK [services : include_tasks] ************************************************
--> services : include_tasks
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:38
included: /var/lib/ansible/local/disable_service.yml for localhost
TASK [services : disable service rsyslog] **************************************
--> services : disable service rsyslog
task path: /var/lib/ansible/local/disable_service.yml:2
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541841002.74-165575787745720 `" && echo ansible-tmp-1541841002.74-165575787745720="` echo /root/.ansible/tmp/ansible-tmp-1541841002.74-165575787745720 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpiq1_S8 TO /root/.ansible/tmp/ansible-tmp-1541841002.74-165575787745720/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541841002.74-165575787745720/ /root/.ansible/tmp/ansible-tmp-1541841002.74-165575787745720/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541841002.74-165575787745720/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541841002.74-165575787745720/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": false,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": false,
"force": null,
"masked": null,
"name": "rsyslog",
"no_block": false,
"state": "stopped",
"user": false
}
},
"name": "rsyslog",
"state": "stopped",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 09:54:32 CET",
"ActiveEnterTimestampMonotonic": "60905565",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "active",
"After": "basic.target syslog.socket sysinit.target system.slice",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 09:54:23 CET",
"AssertTimestampMonotonic": "51441299",
"Before": "shutdown.target multi-user.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "no",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 09:54:23 CET",
"ConditionTimestampMonotonic": "51441284",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/rsyslog.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "System Logging Service",
"DevicePolicy": "auto",
"Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "1506",
"ExecMainStartTimestamp": "Sat 2018-11-10 09:54:23 CET",
"ExecMainStartTimestampMonotonic": "51453844",
"ExecMainStatus": "0",
"ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/lib/systemd/system/rsyslog.service",
"GID": "4294967295",
"GuessMainPID": "yes",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "rsyslog.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestampMonotonic": "0",
"InactiveExitTimestamp": "Sat 2018-11-10 09:54:23 CET",
"InactiveExitTimestampMonotonic": "51454702",
"InvocationID": "72e0496eb38a44c2a45cde1df32e3f09",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "control-group",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "1506",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "rsyslog.service syslog.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "main",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "no",
"RemoveIPC": "no",
"Requires": "syslog.socket sysinit.target system.slice",
"Restart": "on-failure",
"RestartUSec": "100ms",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "null",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 09:54:32 CET",
"StateChangeTimestampMonotonic": "60905565",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "1min 30s",
"TimeoutStopUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"TriggeredBy": "syslog.socket",
"Type": "notify",
"UID": "4294967295",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "enabled",
"UtmpMode": "init",
"WantedBy": "multi-user.target",
"WatchdogTimestamp": "Sat 2018-11-10 09:54:32 CET",
"WatchdogTimestampMonotonic": "60905548",
"WatchdogUSec": "0"
}
}
TASK [services : Disable SSH] **************************************************
--> services : Disable SSH
[STAGE 5/6: Post-process contents (virtualized) - 83%]
task path: /var/lib/ansible/local/roles/services/tasks/main.yml:40
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541841030.4-110297432081509 `" && echo ansible-tmp-1541841030.4-110297432081509="` echo /root/.ansible/tmp/ansible-tmp-1541841030.4-110297432081509 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmp1iE5Sx TO /root/.ansible/tmp/ansible-tmp-1541841030.4-110297432081509/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541841030.4-110297432081509/ /root/.ansible/tmp/ansible-tmp-1541841030.4-110297432081509/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541841030.4-110297432081509/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541841030.4-110297432081509/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": false,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": false,
"force": null,
"masked": null,
"name": "ssh",
"no_block": false,
"state": null,
"user": false
}
},
"name": "ssh",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 09:54:54 CET",
"ActiveEnterTimestampMonotonic": "82922897",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "active",
"After": "regenerate_ssh_host_keys.service network.target auditd.service sysinit.target systemd-journald.socket system.slice basic.target",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 09:54:44 CET",
"AssertTimestampMonotonic": "72430405",
"Before": "multi-user.target shutdown.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "yes",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 09:54:44 CET",
"ConditionTimestampMonotonic": "72363767",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/ssh.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "OpenBSD Secure Shell server",
"DevicePolicy": "auto",
"DynamicUser": "no",
"EnvironmentFile": "/etc/default/ssh (ignore_errors=yes)",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "1645",
"ExecMainStartTimestamp": "Sat 2018-11-10 09:54:53 CET",
"ExecMainStartTimestampMonotonic": "81544276",
"ExecMainStatus": "0",
"ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"ExecStart": "{ path=/usr/sbin/sshd ; argv[]=/usr/sbin/sshd -D $SSHD_OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"ExecStartPre": "{ path=/usr/sbin/sshd ; argv[]=/usr/sbin/sshd -t ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/lib/systemd/system/ssh.service",
"GID": "4294967295",
"GuessMainPID": "yes",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "ssh.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestampMonotonic": "0",
"InactiveExitTimestamp": "Sat 2018-11-10 09:54:44 CET",
"InactiveExitTimestampMonotonic": "72520197",
"InvocationID": "b95c1eda310e4c52aeedcf862ba57eea",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "process",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "1645",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "ssh.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "main",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "no",
"RemoveIPC": "no",
"Requires": "sysinit.target system.slice",
"Restart": "on-failure",
"RestartUSec": "100ms",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 09:55:29 CET",
"StateChangeTimestampMonotonic": "118045775",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "1min 30s",
"TimeoutStopUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "notify",
"UID": "4294967295",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "enabled",
"UtmpMode": "init",
"WantedBy": "multi-user.target",
"WatchdogTimestamp": "Sat 2018-11-10 09:54:54 CET",
"WatchdogTimestampMonotonic": "82922822",
"WatchdogUSec": "0"
}
}
RUNNING HANDLER [restart uwsgi] ************************************************
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541841054.57-83225108871287 `" && echo ansible-tmp-1541841054.57-83225108871287="` echo /root/.ansible/tmp/ansible-tmp-1541841054.57-83225108871287 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpDDAVV1 TO /root/.ansible/tmp/ansible-tmp-1541841054.57-83225108871287/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541841054.57-83225108871287/ /root/.ansible/tmp/ansible-tmp-1541841054.57-83225108871287/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541841054.57-83225108871287/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541841054.57-83225108871287/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": true,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": true,
"force": null,
"masked": null,
"name": "uwsgi",
"no_block": false,
"state": "restarted",
"user": false
}
},
"name": "uwsgi",
"state": "started",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 09:55:53 CET",
"ActiveEnterTimestampMonotonic": "141781425",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "active",
"After": "sysinit.target network-online.target basic.target system.slice systemd-journald.socket remote-fs.target",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 09:55:09 CET",
"AssertTimestampMonotonic": "97951608",
"Before": "shutdown.target multi-user.target graphical.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "yes",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 09:55:09 CET",
"ConditionTimestampMonotonic": "97951595",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/uwsgi.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "LSB: Start/stop uWSGI server instance(s)",
"DevicePolicy": "auto",
"Documentation": "man:systemd-sysv-generator(8)",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "0",
"ExecMainStartTimestampMonotonic": "0",
"ExecMainStatus": "0",
"ExecReload": "{ path=/etc/init.d/uwsgi ; argv[]=/etc/init.d/uwsgi reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"ExecStart": "{ path=/etc/init.d/uwsgi ; argv[]=/etc/init.d/uwsgi start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"ExecStop": "{ path=/etc/init.d/uwsgi ; argv[]=/etc/init.d/uwsgi stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/run/systemd/generator.late/uwsgi.service",
"GID": "4294967295",
"GuessMainPID": "no",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "uwsgi.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "no",
"InactiveEnterTimestampMonotonic": "0",
"InactiveExitTimestamp": "Sat 2018-11-10 09:55:09 CET",
"InactiveExitTimestampMonotonic": "98014514",
"InvocationID": "e3a1b83d36044f6a88a5aed66d5b4315",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "process",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "0",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "uwsgi.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "none",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "yes",
"RemoveIPC": "no",
"Requires": "system.slice sysinit.target",
"Restart": "no",
"RestartUSec": "100ms",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"SourcePath": "/etc/init.d/uwsgi",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 09:55:53 CET",
"StateChangeTimestampMonotonic": "141781425",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "5min",
"TimeoutStopUSec": "5min",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "forking",
"UID": "4294967295",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "generated",
"UtmpMode": "init",
"WantedBy": "graphical.target multi-user.target",
"Wants": "network-online.target",
"WatchdogTimestamp": "Sat 2018-11-10 09:55:53 CET",
"WatchdogTimestampMonotonic": "141779942",
"WatchdogUSec": "0"
}
}
RUNNING HANDLER [restart kiwix] ************************************************
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1541841107.04-179435594604197 `" && echo ansible-tmp-1541841107.04-179435594604197="` echo /root/.ansible/tmp/ansible-tmp-1541841107.04-179435594604197 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-23476c0973/tmpXpP0nP TO /root/.ansible/tmp/ansible-tmp-1541841107.04-179435594604197/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1541841107.04-179435594604197/ /root/.ansible/tmp/ansible-tmp-1541841107.04-179435594604197/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1541841107.04-179435594604197/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1541841107.04-179435594604197/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"enabled": true,
"invocation": {
"module_args": {
"daemon_reload": false,
"enabled": true,
"force": null,
"masked": null,
"name": "kiwix-server",
"no_block": false,
"state": "restarted",
"user": false
}
},
"name": "kiwix-server",
"state": "started",
"status": {
"ActiveEnterTimestamp": "Sat 2018-11-10 10:08:52 CET",
"ActiveEnterTimestampMonotonic": "928288813",
"ActiveExitTimestamp": "Sat 2018-11-10 10:08:52 CET",
"ActiveExitTimestampMonotonic": "928105489",
"ActiveState": "active",
"After": "basic.target system.slice systemd-journald.socket sysinit.target",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Sat 2018-11-10 10:08:52 CET",
"AssertTimestampMonotonic": "928279794",
"Before": "shutdown.target multi-user.target",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CPUUsageNSec": "18446744073709551615",
"CPUWeight": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "no",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"ConditionResult": "yes",
"ConditionTimestamp": "Sat 2018-11-10 10:08:52 CET",
"ConditionTimestampMonotonic": "928279789",
"Conflicts": "shutdown.target",
"ControlGroup": "/system.slice/kiwix-server.service",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "Kiwix server",
"DevicePolicy": "auto",
"DynamicUser": "no",
"ExecMainCode": "0",
"ExecMainExitTimestampMonotonic": "0",
"ExecMainPID": "3588",
"ExecMainStartTimestamp": "Sat 2018-11-10 10:08:52 CET",
"ExecMainStartTimestampMonotonic": "928287992",
"ExecMainStatus": "0",
"ExecStart": "{ path=/bin/sh ; argv[]=/bin/sh -c ls /var/ideascube/kiwix/*.zim && /usr/local/bin/kiwix-serve --port=8002 $(ls /var/ideascube/kiwix/*.zim) || /usr/local/bin/kiwix-serve --port=8002 --library /var/ideascube/kiwix/library.xml ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"FailureAction": "none",
"FileDescriptorStoreMax": "0",
"FragmentPath": "/etc/systemd/system/kiwix-server.service",
"GID": "1001",
"Group": "ideascube",
"GuessMainPID": "yes",
"IOAccounting": "no",
"IOScheduling": "0",
"IOWeight": "18446744073709551615",
"Id": "kiwix-server.service",
"IgnoreOnIsolate": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestamp": "Sat 2018-11-10 10:08:52 CET",
"InactiveEnterTimestampMonotonic": "928169497",
"InactiveExitTimestamp": "Sat 2018-11-10 10:08:52 CET",
"InactiveExitTimestampMonotonic": "928288813",
"InvocationID": "2476b6532e214fa7bae3d7a0b192c291",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "infinity",
"KillMode": "control-group",
"KillSignal": "3",
"LimitAS": "18446744073709551615",
"LimitASSoft": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCORESoft": "0",
"LimitCPU": "18446744073709551615",
"LimitCPUSoft": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitDATASoft": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitFSIZESoft": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitLOCKSSoft": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMEMLOCKSoft": "65536",
"LimitMSGQUEUE": "819200",
"LimitMSGQUEUESoft": "819200",
"LimitNICE": "0",
"LimitNICESoft": "0",
"LimitNOFILE": "4096",
"LimitNOFILESoft": "1024",
"LimitNPROC": "14124",
"LimitNPROCSoft": "14124",
"LimitRSS": "18446744073709551615",
"LimitRSSSoft": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTPRIOSoft": "0",
"LimitRTTIME": "18446744073709551615",
"LimitRTTIMESoft": "18446744073709551615",
"LimitSIGPENDING": "14124",
"LimitSIGPENDINGSoft": "14124",
"LimitSTACK": "18446744073709551615",
"LimitSTACKSoft": "8388608",
"LoadState": "loaded",
"MainPID": "3588",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryDenyWriteExecute": "no",
"MemoryHigh": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MemoryLow": "0",
"MemoryMax": "18446744073709551615",
"MemorySwapMax": "18446744073709551615",
"MountFlags": "0",
"NFileDescriptorStore": "0",
"Names": "kiwix-server.service",
"NeedDaemonReload": "no",
"Nice": "0",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"NotifyAccess": "none",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PermissionsStartOnly": "no",
"Perpetual": "no",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"PrivateUsers": "no",
"ProtectControlGroups": "no",
"ProtectHome": "no",
"ProtectKernelModules": "no",
"ProtectKernelTunables": "no",
"ProtectSystem": "no",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemainAfterExit": "no",
"RemoveIPC": "no",
"Requires": "system.slice sysinit.target",
"Restart": "always",
"RestartUSec": "100ms",
"RestrictNamespace": "2114060288",
"RestrictRealtime": "no",
"Result": "success",
"RootDirectoryStartOnly": "no",
"RuntimeDirectoryMode": "0755",
"RuntimeMaxUSec": "infinity",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartLimitAction": "none",
"StartLimitBurst": "5",
"StartLimitIntervalSec": "10000000",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StartupCPUWeight": "18446744073709551615",
"StartupIOWeight": "18446744073709551615",
"StateChangeTimestamp": "Sat 2018-11-10 10:08:52 CET",
"StateChangeTimestampMonotonic": "928288813",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "running",
"SyslogFacility": "3",
"SyslogLevel": "6",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "18446744073709551615",
"TasksMax": "4915",
"TimeoutStartUSec": "1min 30s",
"TimeoutStopUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "simple",
"UID": "1001",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "enabled",
"User": "ideascube",
"UtmpMode": "init",
"WantedBy": "multi-user.target",
"WatchdogTimestamp": "Sat 2018-11-10 10:08:52 CET",
"WatchdogTimestampMonotonic": "928288791",
"WatchdogUSec": "0"
}
}
META: ran handlers
TASK [Heartbeat mode on KoomBook LED, update is over !!!] **********************
--> Heartbeat mode on KoomBook LED, update is over !!!
[STAGE 5/6: Post-process contents (virtualized) - 83%]
task path: /var/lib/ansible/local/main.yml:80
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: ran handlers
PLAY RECAP *********************************************************************
localhost : ok=37 changed=20 unreachable=0 failed=0
STDERR: [WARNING]: Consider using the unarchive module rather than running tar. If
STDERR: you need to use command because unarchive is insufficient you can add
STDERR: warn=False to this command task or set command_warnings=False in ansible.cfg to
STDERR: get rid of this message.
sudo sync
sudo shutdown -P 0
STDERR: Shutdown scheduled for Sat 2018-11-10 10:12:10 CET, use 'shutdown -c' to cancel.
VM is off.
Image creation successful.
Renamed image file to C:\Users\Stéphane\Desktop\hotspot-2018_11_10-09_12_14.img
[STAGE 6/6: SD-card creation - 83%]
--> Writting image to SD-card (\\.\PHYSICALDRIVE1)
--> Copy image to sd card using etcher-cli
Starting Etcher: ['C:\\Users\\STPHAN~1\\AppData\\Local\\Temp\\7zS5DC4.tmp\\etcher-cli\\etcher', '-c', '-y', '-u', '-d', '\\\\.\\PHYSICALDRIVE1', 'C:\\Users\\Stéphane\\Desktop\\hotspot-2018_11_10-09_12_14.img']
. has process exited?
. process exited
. process done
[STAGE 6/6: SD-card creation - 100%]
not alive
Image created successfuly.
Writing or verification of Image to your SD-card failed.
Please use a third party tool to flash your image onto your SD-card. See File menu for links to Etcher.
--- Exception Trace ---
Traceback (most recent call last):
File "run_installation.py", line 394, in run_installation
backend.util.CheckCallException: Process returned 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run_installation.py", line 405, in run_installation
Exception: Failed to write Image to SD-card
---
Restoring system sleep policy
Restoring ES_CONTINUOUS mode to current thread
*** DURATIONS SUMMARY ***
[1/6] Retrieve Master Image: 8 minutes and 18.57 seconds (10.11.2018 09:12:25 to 10.11.2018 09:20:43)
[2/6] Download contents: 3.2 seconds (10.11.2018 09:20:43 to 10.11.2018 09:20:47)
[3/6] Image configuration (virtualized): 32 minutes and 43.6 seconds (10.11.2018 09:20:47 to 10.11.2018 09:53:30)
[4/6] Copy contents onto image: 1.3 second (10.11.2018 09:53:30 to 10.11.2018 09:53:31)
[5/6] Post-process contents (virtualized): 19 minutes and 35.59 seconds (10.11.2018 09:53:31 to 10.11.2018 10:13:07)
TOTAL: 1 hour and 54.66 seconds (10.11.2018 09:12:14 to 10.11.2018 10:13:09)
--> Failed: Failed to write Image to SD-card
Installation failed: Failed to write Image to SD-card
[STAGE 6/6: SD-card creation - 100%]