Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Ark74
Last active August 7, 2018 06:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ark74/04e1cb242f0ee055ebb2bdcb6e055b0e to your computer and use it in GitHub Desktop.
Save Ark74/04e1cb242f0ee055ebb2bdcb6e055b0e to your computer and use it in GitHub Desktop.
kiwix-plug error log
[STAGE 0/6: Preparations - 0%]
[STAGE 0/6: Preparations - 0%]
--> Check System Requirements
Please read https://framagit.org/ideascube/pibox-installer/wikis/System-Requirements for details
--> Prepare Image file
Call: ['/usr/bin/udisksctl', 'dump']
/org/freedesktop/UDisks2/Manager:
org.freedesktop.UDisks2.Manager:
Version: 2.1.7
/org/freedesktop/UDisks2/block_devices/loop0:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/loop0
DeviceNumber: 1792
Drive: '/'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/loop0
ReadOnly: false
Size: 0
Symlinks:
org.freedesktop.UDisks2.Loop:
Autoclear: false
BackingFile:
SetupByUID: 0
/org/freedesktop/UDisks2/block_devices/loop1:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/loop1
DeviceNumber: 1793
Drive: '/'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/loop1
ReadOnly: false
Size: 0
Symlinks:
org.freedesktop.UDisks2.Loop:
Autoclear: false
BackingFile:
SetupByUID: 0
/org/freedesktop/UDisks2/block_devices/loop2:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/loop2
DeviceNumber: 1794
Drive: '/'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/loop2
ReadOnly: false
Size: 0
Symlinks:
org.freedesktop.UDisks2.Loop:
Autoclear: false
BackingFile:
SetupByUID: 0
/org/freedesktop/UDisks2/block_devices/loop3:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/loop3
DeviceNumber: 1795
Drive: '/'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/loop3
ReadOnly: false
Size: 0
Symlinks:
org.freedesktop.UDisks2.Loop:
Autoclear: false
BackingFile:
SetupByUID: 0
/org/freedesktop/UDisks2/block_devices/loop4:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/loop4
DeviceNumber: 1796
Drive: '/'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/loop4
ReadOnly: false
Size: 0
Symlinks:
org.freedesktop.UDisks2.Loop:
Autoclear: false
BackingFile:
SetupByUID: 0
/org/freedesktop/UDisks2/block_devices/loop5:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/loop5
DeviceNumber: 1797
Drive: '/'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/loop5
ReadOnly: false
Size: 0
Symlinks:
org.freedesktop.UDisks2.Loop:
Autoclear: false
BackingFile:
SetupByUID: 0
/org/freedesktop/UDisks2/block_devices/loop6:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/loop6
DeviceNumber: 1798
Drive: '/'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/loop6
ReadOnly: false
Size: 0
Symlinks:
org.freedesktop.UDisks2.Loop:
Autoclear: false
BackingFile:
SetupByUID: 0
/org/freedesktop/UDisks2/block_devices/loop7:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/loop7
DeviceNumber: 1799
Drive: '/'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/loop7
ReadOnly: false
Size: 0
Symlinks:
org.freedesktop.UDisks2.Loop:
Autoclear: false
BackingFile:
SetupByUID: 0
/org/freedesktop/UDisks2/block_devices/sda:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sda
DeviceNumber: 2048
Drive: '/org/freedesktop/UDisks2/drives/ADATA_SU650_2I1920036399'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-ADATA_SU650_2I1920036399
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sda
ReadOnly: false
Size: 120034123776
Symlinks: /dev/disk/by-id/ata-ADATA_SU650_2I1920036399
/dev/disk/by-path/pci-0000:00:1f.2-ata-2
org.freedesktop.UDisks2.PartitionTable:
Type: dos
/org/freedesktop/UDisks2/block_devices/sda1:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=3c93998d-f790-4200-884c-3e7774df7fed'>, 'dir': <b'/'>, 'type': <b'ext4'>, 'opts': <b'relatime,errors=remount-ro'>, 'freq': <0>, 'passno': <1>})]
CryptoBackingDevice: '/'
Device: /dev/sda1
DeviceNumber: 2049
Drive: '/org/freedesktop/UDisks2/drives/ADATA_SU650_2I1920036399'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-ADATA_SU650_2I1920036399-part1
IdLabel:
IdType: ext4
IdUUID: 3c93998d-f790-4200-884c-3e7774df7fed
IdUsage: filesystem
IdVersion: 1.0
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sda1
ReadOnly: false
Size: 19999490048
Symlinks: /dev/disk/by-id/ata-ADATA_SU650_2I1920036399-part1
/dev/disk/by-path/pci-0000:00:1f.2-ata-2-part1
/dev/disk/by-uuid/3c93998d-f790-4200-884c-3e7774df7fed
org.freedesktop.UDisks2.Filesystem:
MountPoints: /
org.freedesktop.UDisks2.Partition:
Flags: 128
IsContained: false
IsContainer: false
Name:
Number: 1
Offset: 1048576
Size: 19999490048
Table: '/org/freedesktop/UDisks2/block_devices/sda'
Type: 0x83
UUID: d295db9b-01
/org/freedesktop/UDisks2/block_devices/sda2:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sda2
DeviceNumber: 2050
Drive: '/org/freedesktop/UDisks2/drives/ADATA_SU650_2I1920036399'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-ADATA_SU650_2I1920036399-part2
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sda2
ReadOnly: false
Size: 1024
Symlinks: /dev/disk/by-id/ata-ADATA_SU650_2I1920036399-part2
/dev/disk/by-path/pci-0000:00:1f.2-ata-2-part2
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: true
Name:
Number: 2
Offset: 20001586176
Size: 100032054272
Table: '/org/freedesktop/UDisks2/block_devices/sda'
Type: 0x05
UUID: d295db9b-02
/org/freedesktop/UDisks2/block_devices/sda5:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=a8aa2535-656f-4486-9b7c-1634f91bbadf'>, 'dir': <b'none'>, 'type': <b'swap'>, 'opts': <b'sw'>, 'freq': <0>, 'passno': <0>})]
CryptoBackingDevice: '/'
Device: /dev/sda5
DeviceNumber: 2053
Drive: '/org/freedesktop/UDisks2/drives/ADATA_SU650_2I1920036399'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-ADATA_SU650_2I1920036399-part5
IdLabel:
IdType: swap
IdUUID: a8aa2535-656f-4486-9b7c-1634f91bbadf
IdUsage: other
IdVersion: 1
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sda5
ReadOnly: false
Size: 3118465024
Symlinks: /dev/disk/by-id/ata-ADATA_SU650_2I1920036399-part5
/dev/disk/by-path/pci-0000:00:1f.2-ata-2-part5
/dev/disk/by-uuid/a8aa2535-656f-4486-9b7c-1634f91bbadf
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: true
IsContainer: false
Name:
Number: 5
Offset: 20001587200
Size: 3118465024
Table: '/org/freedesktop/UDisks2/block_devices/sda'
Type: 0x82
UUID: d295db9b-05
org.freedesktop.UDisks2.Swapspace:
Active: true
/org/freedesktop/UDisks2/block_devices/sda6:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=fbfc7fe0-159c-47b9-980f-0822be884764'>, 'dir': <b'/home'>, 'type': <b'xfs'>, 'opts': <b'relatime'>, 'freq': <0>, 'passno': <0>})]
CryptoBackingDevice: '/'
Device: /dev/sda6
DeviceNumber: 2054
Drive: '/org/freedesktop/UDisks2/drives/ADATA_SU650_2I1920036399'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-ADATA_SU650_2I1920036399-part6
IdLabel:
IdType: xfs
IdUUID: fbfc7fe0-159c-47b9-980f-0822be884764
IdUsage: filesystem
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sda6
ReadOnly: false
Size: 96912539648
Symlinks: /dev/disk/by-id/ata-ADATA_SU650_2I1920036399-part6
/dev/disk/by-path/pci-0000:00:1f.2-ata-2-part6
/dev/disk/by-uuid/fbfc7fe0-159c-47b9-980f-0822be884764
org.freedesktop.UDisks2.Filesystem:
MountPoints: /home
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: true
IsContainer: false
Name:
Number: 6
Offset: 23121100800
Size: 96912539648
Table: '/org/freedesktop/UDisks2/block_devices/sda'
Type: 0x83
UUID: d295db9b-06
/org/freedesktop/UDisks2/block_devices/sdb:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdb
DeviceNumber: 2064
Drive: '/org/freedesktop/UDisks2/drives/TOSHIBA_MK6465GSX_51QBT0CKT'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-TOSHIBA_MK6465GSX_51QBT0CKT
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdb
ReadOnly: false
Size: 640135028736
Symlinks: /dev/disk/by-id/ata-TOSHIBA_MK6465GSX_51QBT0CKT
/dev/disk/by-id/wwn-0x500003934150961c
/dev/disk/by-path/pci-0000:00:1f.2-ata-6
org.freedesktop.UDisks2.PartitionTable:
Type: dos
/org/freedesktop/UDisks2/block_devices/sdb1:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdb1
DeviceNumber: 2065
Drive: '/org/freedesktop/UDisks2/drives/TOSHIBA_MK6465GSX_51QBT0CKT'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-TOSHIBA_MK6465GSX_51QBT0CKT-part1
IdLabel:
IdType: ext4
IdUUID: 54223a53-073a-4315-a8a0-ccda02189532
IdUsage: filesystem
IdVersion: 1.0
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdb1
ReadOnly: false
Size: 30478958592
Symlinks: /dev/disk/by-id/ata-TOSHIBA_MK6465GSX_51QBT0CKT-part1
/dev/disk/by-id/wwn-0x500003934150961c-part1
/dev/disk/by-path/pci-0000:00:1f.2-ata-6-part1
/dev/disk/by-uuid/54223a53-073a-4315-a8a0-ccda02189532
org.freedesktop.UDisks2.Filesystem:
MountPoints:
org.freedesktop.UDisks2.Partition:
Flags: 128
IsContained: false
IsContainer: false
Name:
Number: 1
Offset: 1048576
Size: 30478958592
Table: '/org/freedesktop/UDisks2/block_devices/sdb'
Type: 0x83
UUID: 452033a6-01
/org/freedesktop/UDisks2/block_devices/sdb2:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdb2
DeviceNumber: 2066
Drive: '/org/freedesktop/UDisks2/drives/TOSHIBA_MK6465GSX_51QBT0CKT'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-TOSHIBA_MK6465GSX_51QBT0CKT-part2
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdb2
ReadOnly: false
Size: 1024
Symlinks: /dev/disk/by-id/ata-TOSHIBA_MK6465GSX_51QBT0CKT-part2
/dev/disk/by-id/wwn-0x500003934150961c-part2
/dev/disk/by-path/pci-0000:00:1f.2-ata-6-part2
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: true
Name:
Number: 2
Offset: 30481054720
Size: 609653621760
Table: '/org/freedesktop/UDisks2/block_devices/sdb'
Type: 0x05
UUID: 452033a6-02
/org/freedesktop/UDisks2/block_devices/sdb5:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'/dev/sdb5'>, 'dir': <b'/media/data'>, 'type': <b'xfs'>, 'opts': <b'relatime'>, 'freq': <0>, 'passno': <0>})]
CryptoBackingDevice: '/'
Device: /dev/sdb5
DeviceNumber: 2069
Drive: '/org/freedesktop/UDisks2/drives/TOSHIBA_MK6465GSX_51QBT0CKT'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-TOSHIBA_MK6465GSX_51QBT0CKT-part5
IdLabel:
IdType: xfs
IdUUID: 69a2d814-77c2-4a58-be45-9bc394a5034a
IdUsage: filesystem
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdb5
ReadOnly: false
Size: 609653620736
Symlinks: /dev/disk/by-id/ata-TOSHIBA_MK6465GSX_51QBT0CKT-part5
/dev/disk/by-id/wwn-0x500003934150961c-part5
/dev/disk/by-path/pci-0000:00:1f.2-ata-6-part5
/dev/disk/by-uuid/69a2d814-77c2-4a58-be45-9bc394a5034a
org.freedesktop.UDisks2.Filesystem:
MountPoints: /media/data
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: true
IsContainer: false
Name:
Number: 5
Offset: 30481055744
Size: 609653620736
Table: '/org/freedesktop/UDisks2/block_devices/sdb'
Type: 0x83
UUID: 452033a6-05
/org/freedesktop/UDisks2/block_devices/sdc:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdc
DeviceNumber: 2080
Drive: '/org/freedesktop/UDisks2/drives/Generic__Multi_Card_20071114173400000'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdc
ReadOnly: true
Size: 15811477504
Symlinks: /dev/disk/by-id/usb-Generic-_Multi-Card_20071114173400000-0:0
/dev/disk/by-path/pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:0
org.freedesktop.UDisks2.PartitionTable:
Type: dos
/org/freedesktop/UDisks2/block_devices/sdc1:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdc1
DeviceNumber: 2081
Drive: '/org/freedesktop/UDisks2/drives/Generic__Multi_Card_20071114173400000'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-uuid-9016-4EF8
IdLabel:
IdType: vfat
IdUUID: 9016-4EF8
IdUsage: filesystem
IdVersion: FAT32
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdc1
ReadOnly: true
Size: 15807283200
Symlinks: /dev/disk/by-id/usb-Generic-_Multi-Card_20071114173400000-0:0-part1
/dev/disk/by-path/pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:0-part1
/dev/disk/by-uuid/9016-4EF8
org.freedesktop.UDisks2.Filesystem:
MountPoints: /media/ark/9016-4EF8
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name:
Number: 1
Offset: 4194304
Size: 15807283200
Table: '/org/freedesktop/UDisks2/block_devices/sdc'
Type: 0x0c
UUID:
/org/freedesktop/UDisks2/drives/ADATA_SU650_2I1920036399:
org.freedesktop.UDisks2.Drive:
CanPowerOff: false
Configuration: {}
ConnectionBus:
Ejectable: false
Id: ADATA-SU650-2I1920036399
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: false
Model: ADATA SU650
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: false
Revision: Q0922A0
RotationRate: 0
Seat: seat0
Serial: 2I1920036399
SiblingId:
Size: 120034123776
SortKey: 00coldplug/00fixed/sd____a
TimeDetected: 1533402496742702
TimeMediaDetected: 1533402496742702
Vendor:
WWN:
org.freedesktop.UDisks2.Drive.Ata:
AamEnabled: false
AamSupported: false
AamVendorRecommendedValue: 0
ApmEnabled: true
ApmSupported: true
PmEnabled: true
PmSupported: true
ReadLookaheadEnabled: true
ReadLookaheadSupported: true
SecurityEnhancedEraseUnitMinutes: 2
SecurityEraseUnitMinutes: 2
SecurityFrozen: false
SmartEnabled: true
SmartFailing: false
SmartNumAttributesFailedInThePast: 0
SmartNumAttributesFailing: 0
SmartNumBadSectors: 0
SmartPowerOnSeconds: 968400
SmartSelftestPercentRemaining: 0
SmartSelftestStatus: success
SmartSupported: true
SmartTemperature: 313.15000000000003
SmartUpdated: 1533614911
WriteCacheEnabled: true
WriteCacheSupported: true
/org/freedesktop/UDisks2/drives/Generic__Multi_Card_20071114173400000:
org.freedesktop.UDisks2.Drive:
CanPowerOff: true
Configuration: {}
ConnectionBus: usb
Ejectable: true
Id: Generic--Multi-Card-20071114173400000
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: true
Model: Multi-Card
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: true
Revision: 1.00
RotationRate: -1
Seat: seat0
Serial: 20071114173400000
SiblingId: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0
Size: 15811477504
SortKey: 01hotplug/1533614776569336
TimeDetected: 1533614776569336
TimeMediaDetected: 1533614776569336
Vendor: Generic-
WWN:
/org/freedesktop/UDisks2/drives/TOSHIBA_MK6465GSX_51QBT0CKT:
org.freedesktop.UDisks2.Drive:
CanPowerOff: false
Configuration: {}
ConnectionBus:
Ejectable: false
Id: TOSHIBA-MK6465GSX-51QBT0CKT
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: false
Model: TOSHIBA MK6465GSX
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: false
Revision: GJ005E
RotationRate: 5400
Seat: seat0
Serial: 51QBT0CKT
SiblingId:
Size: 640135028736
SortKey: 00coldplug/00fixed/sd____b
TimeDetected: 1533402497030295
TimeMediaDetected: 1533402497030295
Vendor:
WWN: 0x500003934150961c
org.freedesktop.UDisks2.Drive.Ata:
AamEnabled: false
AamSupported: false
AamVendorRecommendedValue: 0
ApmEnabled: true
ApmSupported: true
PmEnabled: true
PmSupported: true
ReadLookaheadEnabled: true
ReadLookaheadSupported: true
SecurityEnhancedEraseUnitMinutes: 178
SecurityEraseUnitMinutes: 178
SecurityFrozen: false
SmartEnabled: true
SmartFailing: false
SmartNumAttributesFailedInThePast: 0
SmartNumAttributesFailing: 0
SmartNumBadSectors: 6
SmartPowerOnSeconds: 86425200
SmartSelftestPercentRemaining: 0
SmartSelftestStatus: success
SmartSupported: true
SmartTemperature: 309.15000000000003
SmartUpdated: 1533614911
WriteCacheEnabled: true
WriteCacheSupported: true
--> Change loop device mode (/dev/sdc)
Call: ['pkexec', 'chmod', '-v', 'o+rw', '/dev/loop0']
el modo de '/dev/loop0' cambia de 0660 (rw-rw----) a 0666 (rw-rw-rw-)
--> Change SD-card device mode (/dev/sdc)
Call: ['pkexec', 'chmod', '-v', 'o+rw', '/dev/sdc']
el modo de '/dev/sdc' cambia de 0660 (rw-rw----) a 0666 (rw-rw-rw-)
[STAGE 1/6: Retrieve Master Image - 0%]
--> Retrieving base image file
[ ] 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: /home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img
[STAGE 1/6: Retrieve Master Image - 15%]
--> Testing mount procedure
Call: ['/tmp/_MEItVFB8q/qemu-img', 'info', '-f', 'raw', '/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img']
image: /home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img
file format: raw
virtual size: 7.5G (8000000000 bytes)
disk size: 7.5G
Call: ['/usr/bin/udisksctl', 'loop-setup', '--offset', '7000031744', '--size', '995805696', '--file', '/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img', '--no-user-interaction']
Mapped file /home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img as /dev/loop0.
Call: ['/usr/bin/udisksctl', 'mount', '--block-device', '/dev/loop0', '--no-user-interaction']
Mounted /dev/loop0 at /media/ark/4046-F2C5.
Call: ['/usr/bin/udisksctl', 'unmount', '--block-device', '/dev/loop0', '--no-user-interaction']
Unmounted /dev/loop0.
Call: ['/usr/bin/udisksctl', 'loop-delete', '--block-device', '/dev/loop0', '--no-user-interaction']
Call: ['/tmp/_MEItVFB8q/qemu-img', 'info', '-f', 'raw', '/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img']
image: /home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img
file format: raw
virtual size: 7.5G (8000000000 bytes)
disk size: 7.5G
Call: ['/usr/bin/udisksctl', 'loop-setup', '--offset', '7000031744', '--size', '995805696', '--file', '/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img', '--no-user-interaction']
Mapped file /home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img as /dev/loop0.
Call: ['/usr/bin/udisksctl', 'mount', '--block-device', '/dev/loop0', '--no-user-interaction']
Error mounting /dev/loop0: GDBus.Error:org.freedesktop.UDisks2.Error.AlreadyMounted: Device /dev/loop0 is already mounted at `/media/ark/4046-F2C5'.
Call: ['/usr/bin/udisksctl', 'unmount', '--block-device', '/dev/loop0', '--no-user-interaction']
Unmounted /dev/loop0.
Call: ['/usr/bin/udisksctl', 'loop-delete', '--block-device', '/dev/loop0', '--no-user-interaction']
Error deleting loop device /dev/loop0: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation
[STAGE 3/6: Image configuration (virtualized) - 33%]
--> Starting all content downloads
[STAGE 3/6: Image configuration (virtualized) - 33%]
--> Preparing qemu VM
using 2 GiB RAM
Call: ['/tmp/_MEItVFB8q/qemu-img', 'info', '-f', 'raw', '/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img']
image: /home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img
file format: raw
virtual size: 7.5G (8000000000 bytes)
disk size: 7.5G
--> Resizing image file to 7.45 GiB
Call: ['/tmp/_MEItVFB8q/qemu-img', 'info', '-f', 'raw', '/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img']
image: /home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img
file format: raw
virtual size: 7.5G (8000000000 bytes)
disk size: 7.5G
Call: ['/tmp/_MEItVFB8q/qemu-img', 'resize', '-f', 'raw', '/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img', '15811477504']
Image resized.
Call: ['/tmp/_MEItVFB8q/qemu-img', 'info', '-f', 'raw', '/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img']
image: /home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img
file format: raw
virtual size: 15G (15811477504 bytes)
disk size: 7.5G
--> Starting-up VM
--> Launch qemu
ssh on port 50923
--
/tmp/_MEItVFB8q/qemu-system-arm -m 2048M -M vexpress-a15 -kernel /tmp/_MEItVFB8q/pibox-installer-vexpress-boot/zImage -dtb /tmp/_MEItVFB8q/pibox-installer-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=/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img -display none -no-reboot -netdev user,id=eth1,hostfwd=tcp::50923-:22 -device virtio-net-device,netdev=eth1 -smp 3 --accel tcg,thread=multi
--
audio: Could not init `oss' audio driver
Booting Linux on ph
ysical 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 Fri May 18 11:38:47 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 writealloc
percpu: Embedded 13 pages/cpu @ef1a8000 s23692 r8192 d21364 u53248
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 455168
Kernel 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, 16
384 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 : 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 adjustment 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
Failed 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: 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 processors activated (125.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
c
locksource: 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+0x
174/0x1a8
Modules 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 [<803fee4c>] (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 b2d54b1553b58b45 ]---
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-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
1c0c0000.uart: ttyAMA3 at MMI
O 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
SCSI subsystem initialized
u
sbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
A
dvanced Linux Sound Architecture Driver Initialized.
clocksource:
Switched to clocksource arch_sys_counter
NET: Register
ed 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)
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 NFS
v4.1 backchannel transport module.
hw perfevents: enabled with armv7
_cortex_a15 PMU driver, 1 counters available
hw perfevents: /pmu_a
7: failed to probe PMU!
hw perfevents: /pmu_a7: failed to register PMU devices!
failed to bui
ld OPP table
wo
rkingset: 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)
9p: In
stalling v9fs 9p2000 file system support
e
xFAT: Version 1.2.9
io sche
duler 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
Co
nsole: 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
Using 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
isp1760 1b
000000.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
mmci-pl18x 1c050000.mmci: Go
t CD GPIO
mmci-pl18x 1
c050000.mmci: Got WP GPIO
mmci-pl18
x 1c050000.mmci: mmc0: PL181 manf 41 rev0 at 0x1c050000 irq 44,45 (pio)
input: AT Raw Set 2 keyboard as /devices/platform/smb@08000000/smb@08000000:motherboard/smb@08000000:motherboard:iofpga@3,00000000/1c060000.kmi/serio0/input/input0
ledtrig-cpu:
registered to indicate activity on CPUs
usb
core: registered new interface driver usbhid
u
sbhid: USB HID core driver
mmc0: new
SDHC card at address 4567
mmcblk0: mmc0:4567 QEMU!
14.7 GiB
mmcblk0: p1 p2 p3
aaci-pl041
1c040000.aaci: ARM AC'97 Interface PL041 rev0 at 0x1c040000, irq 43
aac
i-pl041 1c040000.aaci: FIFO 512 entries
op
rofile: using timer interrupt.
N
etfilter messages via NETLINK v0.30.
n
fnl_acct: registering with nfnetlink.
nf
_conntrack version 0.5.0 (16384 buckets, 65536 max)
c
tnetlink v0.93: registering with nfnetlink.
nf
_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
nf_tables_compat
: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
xt_time: kern
el 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)
IPVS: Creati
ng netns size=1296 id=0
IPV
S: ipvs loaded.
I
PVS: [rr] scheduler registered.
I
PVS: [wrr] scheduler registered.
IPVS: [lc]
scheduler registered.
I
PVS: [wlc] scheduler registered.
I
PVS: [fo] scheduler registered.
I
PVS: [ovf] scheduler registered.
I
PVS: [lblc] scheduler registered.
IPVS: [lblcr] scheduler registered.
I
PVS: [dh] scheduler registered.
I
PVS: [sh] scheduler registered.
I
PVS: [sed] scheduler registered.
I
PVS: [nq] scheduler registered.
IPVS:
ftp: loaded support on port[0] = 21
IPVS: [sip]
pe registered.
ip_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
NE
T: Registered protocol family 10
S
egment Routing with IPv6
ip6_tables: (C) 2000-2006 Netfilter
Core Team
sit: IPv6,
IPv4 and MPLS over IPv4 tunneling driver
NET: Regis
tered protocol family 17
9
pnet: Installing 9P2000 support
R
egistering SWP/SWPB emulation handler
rtc-pl031 1c1700
00.rtc: setting system clock to 2018-08-07 04:31:37 UTC (1533616297)
AL
SA 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
EXT4-fs (mmcblk0p2): mounted fil
esystem with ordered data mode. Opts: (null)
V
FS: Mounted root (ext4 filesystem) readonly on device 179:2.
F
reeing unused kernel memory: 1024K
random: crng i
nit done
systemd[1]: Failed t
o insert module 'autofs4': No such file or directory
systemd[1]: systemd 232 ru
nning 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.
systemd[1]: Set
hostname to <default.lan>.
s
ystemd[1]: Created slice System Slice.
s
ystemd[1]: Mounting Debug File System...
systemd[
1]: dev-hugepages.mount: Couldn't determine result for ConditionVirtualization=!private-users, assuming failed: No such file or directory
s
ystemd[1]: Created slice system-serial\x2dgetty.slice.
systemd[1]: Listening on Syslog Socket.
s
ystemd[1]: Listening on fsck to fsckd communication Socket.
s
ystemd[1]: Listening on udev Kernel Socket.
systemd[1]: Start
ed Forward Password Requests to Wall Directory Watch.
s
ystemd[1]: Listening on udev Control Socket.
systemd[1]: Created slice User and Session Slice.
sy
stemd[1]: Started File System Check Daemon to report status.
s
ystemd[1]: Mounting FUSE Control File System...
syste
md[1]: Starting Apply Kernel Variables...
s
ystemd[1]: Mounted FUSE Control File System.
s
ystemd[1]: Started Journal Service.
[
 OK ] Found device /dev/ttyAMA0.
[ OK ] Reached target Sound Card.
[
 OK ] Started Show Plymouth Boot Screen.
[
[0;32m OK ] Started Forward Password Requests to Plymouth Directory Watch.
[
 OK ] Reached target Paths.
[ OK [0
m] Reached target Encrypted Volumes.
[ *** ] (2 of 2) A start job is running for dev-mmcblk0p3.device (47s / 3min)
[ **
* ] (2 of 2) A start job is running for dev-mmcblk0p3.device (47s / 3min)

[K[*** ] (1 of 2) A start job is running for /dev/mmcblk0p1 (48s / 3min)
[[0;1;
31m** ] (1 of 2) A start job is running for /dev/mmcblk0p1 (48s / 3min)
[
K[* ] (1 of 2) A start job is running for /dev/mmcblk0p1 (49s / 3min)
[** ] (2 of 2) A start job is running for dev-mmcblk0p3.device (50s / 3min)
[*** ] (2 of 2) A start job is running for dev-mmcblk0p3.device (50s / 3min)

[K[ *** ] (2 of 2) A start job is running for dev-mmcblk0p3.device (51s / 3min)
[ *** ] (1 of 2) A start job is running for /dev/mmcblk0p1 (52s / 3min)
[ OK
] Found device /dev/mmcblk0p1.
[
 OK ] Found device /dev/mmcblk0p3.
Mounting /data...
Star
ting File System Check on /dev/mmcblk0p1...
[
OK ] Started File System Check Daemon to report status.
[[0
;32m OK ] Mounted /data.
[ OK [
0m] Reached target Local File Systems.
Starting Preprocess NFS
configuration...
Startin
g Create Volatile Files and Directories...
Starting Tell Plymouth To Write Out Runtime Data...
St
arting Raise network interfaces...
Starting Set console font and keymap...
[
 OK ] Started File System Check on /dev/mmcblk0p1.
[
[0;32m OK ] Started Tell Plymouth To Write Out Runtime Data.
[
 OK ] Started Preprocess NFS configuration.
[
[0;32m OK ] Started Set console font and keymap.
[
 OK ] Reached target NFS client services.
[
OK ] Reached target Remote File Systems (Pre).
[
 OK ] Reached target Remote File Systems.
[ OK [
0m] Started Raise network interfaces.
[
OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK
] Started Update UTMP about System Boot/Shutdown.
[ OK 
] Started Network Time Synchronization.
[ OK
] Reached target System Time Synchronized.
[ OK ] Reached target Sy
stem Initialization.
[ OK ] Started R
un ideascube clean leftover-files weekly and on boot.
[
 OK ] Started Daily apt download activities.
[
 OK ] Started Clean PHP session files every 30 mins.
[ OK ] Listening
on Avahi mDNS/DNS-SD Stack Activation Socket.
[
 OK ] Started Daily Cleanup of Temporary Directories.
[
 OK ] Listening on D-Bus System Message Bus Socket.
[ OK
] Listening on triggerhappy.socket.
[ OK ] Reached target Sockets.
[ OK
] Reached target Basic System.
[
[0;32m OK ] Started Regular background program processing daemon.
Starting Login Service...
S
tarting Boot-only system-wide cleanup script...
Sta
rting LSB: Switch to ondemand cp…r (unless shift key is pressed)...
Starting LSB: Autogenerate and use a swap file...
Starting Modem Manager...
[
 OK ] Started D-Bus System Message Bus.
Starting Save/Restore Sound Card State...
Starting Avahi mDNS/DNS-SD Stack...
Starting Ne
twork Manager...
Starting Restore /etc/resolv.conf i…fore the ppp link was shut down...
Starting triggerhappy global hotkey daemon...
St
arting System Logging Service...
Starting dhcpcd on all interfaces...
Sta
rting Disable WiFi if country not set...
[
[0;32m OK ] Started Daily apt upgrade and clean activities.
[ O
K ] Reached target Timers.
[ OK 
] Started Boot-only system-wide cleanup script.
[
 OK ] Started Save/Restore Sound Card State.
[
[0;32m OK ] Started Restore /etc/resolv.conf if…before the ppp link was shut down.
[
[0;1;31mFAILED] Failed to start dhcpcd on all interfaces.
See 'syst
emctl status dhcpcd.service' for details.
[[0;32
m OK ] Started Disable WiFi if country not set.
[[
0;32m OK ] Started triggerhappy global hotkey daemon.
Starting Clean php session files...
[
[0;32m OK ] Started Login Service.
Starting Authorization Manager...
[
[0;32m OK ] Started LSB: Switch to ondemand cpu…nor (unless shift key is pressed).
[ OK [
0m] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started System
Logging Service.
[
 OK ] Started LSB: Autogenerate and use a swap file.
[ OK
] Started Authorization Manager.
[ [
0;31m***] (1 of 3) A start job is running for Network Manager (20s / 1min 28s)
[ *** ] (1 of 3) A start job is running for Network Manager (20s / 1min 28s)
[ *[0;1;31
m** ] (2 of 3) A start job is running for…php session files (20s / no limit)
[*[0;1;3
1m** ] (2 of 3) A start job is running for…php session files (21s / no limit)
[** ] (2 of 3) A start job is running for…php session files (21s / no limit)
[[0;3
1m* ] (3 of 3) A start job is running for…odem Manager (1min 47s / 2min 45s)
[ OK ] Started Modem Manager.
[[0;
32m OK ] Started Network Manager.
Star
ting Network Manager Wait Online...
[
 OK ] Reached target Network.
S
tarting dnsmasq - A lightweight DHCP and caching DNS server...
S
tarting Permit User Sessions...
Sta
rting The PHP 7.0 FastCGI Process Manager...
Starting OpenBSD Secure Shell server...
[ OK
] Started memcached daemon.
Starting A high performance web server and a reverse proxy server...
Starting Advanced key-va
lue store...
[
 OK ] Started Launch hostapd.
[
 OK ] Started Permit User Sessions.
Starting Hold until boot process finishes up...
Starting Terminate Plymouth Boot Screen...
R
as
pbian GNU/Linux
9 default.lan ttyAMA0
default
login:
p
i
Password:
Last login: Wed
Aug 1 21:51:37 UTC 2018 on ttyAMA0
Li
nux default.lan 4.10.0 #1 SMP Fri May 18 11:38:47 UTC 2018 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
SSH is enabled a
nd the default password for the 'pi' user has not been changed.
This is a sec
urity risk - please login as the 'pi' user and type 'passwd' to set a new password.
p
i@default:~$
su
do systemctl
start ssh;
exit
l
ogout
R
aspbi
an GNU/Linux 9
default.lan
ttyAMA0
d
efault login:
--> Copy ansiblecube
sudo /bin/rm -rf /var/lib/ansible/local
copy local dir /tmp/_MEItVFB8q/ansiblecube to tmp dir /tmp/D628B63D34C92C61C7C5C4661DDA800
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./group_vars
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./tests
copy local file mark_role.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./mark_role.yml
copy local file main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./main.yml
copy local file enable_vhost.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./enable_vhost.yml
copy local file ansible.cfg to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./ansible.cfg
copy local file handlers.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./handlers.yml
copy local file enable_service.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./enable_service.yml
copy local file partition_boundaries.py to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./partition_boundaries.py
copy local file README.md to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./README.md
copy local file clean_apt.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./clean_apt.yml
copy local file disable_service.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./disable_service.yml
copy local file hosts to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./hosts
copy local file group_vars/all to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./group_vars/all
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kalite_content
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/uwsgi
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/clock
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/packages
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/dnsmasq
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_content
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/restore
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/nginx
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/iptables
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/resize
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/backup
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/variables
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kiwix
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/hostapd
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/edupi_setup
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/aflatoun_content
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/network-manager
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/services
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/aflatoun_setup
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kalite_setup
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/edupi_content
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kalite_content/tasks
copy local file roles/kalite_content/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kalite_content/tasks/main.yml
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/uwsgi/tasks
copy local file roles/uwsgi/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/uwsgi/tasks/main.yml
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/clock/files
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/clock/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/clock/templates
copy local file roles/clock/files/uwsgi.ini to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/clock/files/uwsgi.ini
copy local file roles/clock/files/clock.py to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/clock/files/clock.py
copy local file roles/clock/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/clock/tasks/main.yml
copy local file roles/clock/templates/nginx.conf.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/clock/templates/nginx.conf.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/files
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/templates
copy local file roles/system/files/vimrc.local to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/files/vimrc.local
copy local file roles/system/files/rc.local to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/files/rc.local
copy local file roles/system/files/sources_jessie.list to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/files/sources_jessie.list
copy local file roles/system/files/sources_stretch.list to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/files/sources_stretch.list
copy local file roles/system/files/bashrc to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/files/bashrc
copy local file roles/system/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/tasks/main.yml
copy local file roles/system/templates/visudo.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/templates/visudo.j2
copy local file roles/system/templates/hosts.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/system/templates/hosts.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/packages/tasks
copy local file roles/packages/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/packages/tasks/main.yml
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/dnsmasq/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/dnsmasq/templates
copy local file roles/dnsmasq/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/dnsmasq/tasks/main.yml
copy local file roles/dnsmasq/templates/interfaces.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/dnsmasq/templates/interfaces.j2
copy local file roles/dnsmasq/templates/dnsmasq-spoof.conf.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/dnsmasq/templates/dnsmasq-spoof.conf.j2
copy local file roles/dnsmasq/templates/dnsmasq.conf.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/dnsmasq/templates/dnsmasq.conf.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_content/tasks
copy local file roles/wikifundi_content/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_content/tasks/main.yml
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/restore/tasks
copy local file roles/restore/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/restore/tasks/main.yml
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/nginx/files
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/nginx/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/nginx/templates
copy local file roles/nginx/files/nginx.conf to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/nginx/files/nginx.conf
copy local file roles/nginx/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/nginx/tasks/main.yml
copy local file roles/nginx/templates/placeholder.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/nginx/templates/placeholder.j2
copy local file roles/nginx/templates/502.html.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/nginx/templates/502.html.j2
copy local file roles/nginx/templates/404.html.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/nginx/templates/404.html.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/iptables/files
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/iptables/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/iptables/templates
copy local file roles/iptables/files/iptables to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/iptables/files/iptables
copy local file roles/iptables/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/iptables/tasks/main.yml
copy local file roles/iptables/templates/iptables.rules.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/iptables/templates/iptables.rules.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/templates
copy local file roles/wikifundi_setup/files/php.conf to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files/php.conf
copy local file roles/wikifundi_setup/files/add_mw_extension.py to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files/add_mw_extension.py
copy local file roles/wikifundi_setup/files/composer.json to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files/composer.json
copy local file roles/wikifundi_setup/files/logo-sq.png to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files/logo-sq.png
copy local file roles/wikifundi_setup/files/cc-by-sa.png to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files/cc-by-sa.png
copy local file roles/wikifundi_setup/files/logo.png to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files/logo.png
copy local file roles/wikifundi_setup/files/empty.php to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files/empty.php
copy local file roles/wikifundi_setup/files/90-wikifundi.ini to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files/90-wikifundi.ini
copy local file roles/wikifundi_setup/files/favicon.ico to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files/favicon.ico
copy local file roles/wikifundi_setup/files/LocalSettings.php to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/files/LocalSettings.php
copy local file roles/wikifundi_setup/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/tasks/main.yml
copy local file roles/wikifundi_setup/tasks/mediawiki.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/tasks/mediawiki.yml
copy local file roles/wikifundi_setup/templates/wikifundi.vhost.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/templates/wikifundi.vhost.j2
copy local file roles/wikifundi_setup/templates/parsoid.service.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/templates/parsoid.service.j2
copy local file roles/wikifundi_setup/templates/config.yaml.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/wikifundi_setup/templates/config.yaml.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/resize/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/resize/templates
copy local file roles/resize/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/resize/tasks/main.yml
copy local file roles/resize/templates/mount-boot-partition.service to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/resize/templates/mount-boot-partition.service
copy local file roles/resize/templates/fstab.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/resize/templates/fstab.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/backup/tasks
copy local file roles/backup/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/backup/tasks/main.yml
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/variables/tasks
copy local file roles/variables/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/variables/tasks/main.yml
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kiwix/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kiwix/templates
copy local file roles/kiwix/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kiwix/tasks/main.yml
copy local file roles/kiwix/templates/nginx.vhost.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kiwix/templates/nginx.vhost.j2
copy local file roles/kiwix/templates/kiwix-server.service.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kiwix/templates/kiwix-server.service.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/hostapd/files
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/hostapd/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/hostapd/templates
copy local file roles/hostapd/files/hostapd to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/hostapd/files/hostapd
copy local file roles/hostapd/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/hostapd/tasks/main.yml
copy local file roles/hostapd/templates/hostapd.conf.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/hostapd/templates/hostapd.conf.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/edupi_setup/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/edupi_setup/templates
copy local file roles/edupi_setup/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/edupi_setup/tasks/main.yml
copy local file roles/edupi_setup/templates/edupi.service.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/edupi_setup/templates/edupi.service.j2
copy local file roles/edupi_setup/templates/edupi.vhost.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/edupi_setup/templates/edupi.vhost.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/meta
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/files
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/templates
copy local file roles/ideascube/meta/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/meta/main.yml
copy local file roles/ideascube/files/uwsgi-cache.ini to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/files/uwsgi-cache.ini
copy local file roles/ideascube/files/ideascube_leftover_files.timer to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/files/ideascube_leftover_files.timer
copy local file roles/ideascube/files/remove_staticfiles_json.sh to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/files/remove_staticfiles_json.sh
copy local file roles/ideascube/files/logoKIWIX-ideascube.png to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/files/logoKIWIX-ideascube.png
copy local file roles/ideascube/files/remove_staticfiles_json.service to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/files/remove_staticfiles_json.service
copy local file roles/ideascube/files/ideascube_leftover_files.service to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/files/ideascube_leftover_files.service
copy local file roles/ideascube/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/tasks/main.yml
copy local file roles/ideascube/templates/ideascube.list.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/templates/ideascube.list.j2
copy local file roles/ideascube/templates/pibox.py.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/ideascube/templates/pibox.py.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/files
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/templates
copy local file roles/captive_portal/files/clean-up-dnsmasq.sh to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/files/clean-up-dnsmasq.sh
copy local file roles/captive_portal/files/clean-up.service to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/files/clean-up.service
copy local file roles/captive_portal/files/captive.ini to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/files/captive.ini
copy local file roles/captive_portal/files/clear_iptables.sh to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/files/clear_iptables.sh
copy local file roles/captive_portal/files/nginx-captiveportal to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/files/nginx-captiveportal
copy local file roles/captive_portal/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/tasks/main.yml
copy local file roles/captive_portal/templates/dnsmasq.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/templates/dnsmasq.j2
copy local file roles/captive_portal/templates/cap.py.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/templates/cap.py.j2
copy local file roles/captive_portal/templates/redirect.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/captive_portal/templates/redirect.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/aflatoun_content/tasks
copy local file roles/aflatoun_content/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/aflatoun_content/tasks/main.yml
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/network-manager/tasks
copy local file roles/network-manager/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/network-manager/tasks/main.yml
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/services/tasks
copy local file roles/services/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/services/tasks/main.yml
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/aflatoun_setup/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/aflatoun_setup/templates
copy local file roles/aflatoun_setup/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/aflatoun_setup/tasks/main.yml
copy local file roles/aflatoun_setup/templates/aflatoun.vhost.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/aflatoun_setup/templates/aflatoun.vhost.j2
copy local file roles/aflatoun_setup/templates/aflatoun.service.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/aflatoun_setup/templates/aflatoun.service.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kalite_setup/tasks
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kalite_setup/templates
copy local file roles/kalite_setup/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kalite_setup/tasks/main.yml
copy local file roles/kalite_setup/templates/kalite.vhost.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kalite_setup/templates/kalite.vhost.j2
copy local file roles/kalite_setup/templates/kalite.service.j2 to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/kalite_setup/templates/kalite.service.j2
make remote dir /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/edupi_content/tasks
copy local file roles/edupi_content/tasks/main.yml to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./roles/edupi_content/tasks/main.yml
copy local file tests/conftest.py to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./tests/conftest.py
copy local file tests/test_ansible.py to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./tests/test_ansible.py
copy local file tests/requirements-dev.txt to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./tests/requirements-dev.txt
copy local file tests/test_syntax.py to tmp file /tmp/D628B63D34C92C61C7C5C4661DDA800/./tests/test_syntax.py
sudo mv -T /tmp/D628B63D34C92C61C7C5C4661DDA800 /var/lib/ansible/local
--> Run ansiblecube
copy local file /tmp/tmpwfrig_lw to tmp file /tmp/FDEDCFAAFE59B5B66D1659C4731CA9D
sudo mv -T /tmp/FDEDCFAAFE59B5B66D1659C4731CA9D /var/lib/ansible/local/extra_vars.json
ansiblecube extra_vars
{
"root_partition_size": 7,
"admin_password": "admin-password",
"timezone": "America/Mexico_City",
"packages": [],
"aflatoun_languages": [],
"custom_branding_path": "/tmp",
"captive_portal": true,
"disk_size": 15,
"kernel_version": "4.14.34",
"has_custom_branding": false,
"language_name": "Espa\u00f1ol",
"catalogs": [
{
"name": "Kiwix",
"description": "Kiwix ZIM Content",
"url": "http://download.kiwix.org/library/ideascube.yml"
},
{
"name": "StaticSites",
"description": "Static sites",
"url": "http://catalog.ideascube.org/static-sites.yml"
}
],
"language": "es",
"edupi_has_resources": false,
"admin_account": "admin",
"project_name": "Kiwix Plug - Poza Rica",
"mirror": "http://download.kiwix.org",
"edupi": false,
"wikifundi_languages": [],
"kalite_languages": []
}
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]^ 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]^ captive_portal : Copy new catch-all redirect 301 vhost TAGS: [master, rename]^ captive_portal : Copy dnsmasq script for NetworkManager 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]^ 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.2
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, Nov 24 2017, 17:33:09) [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-1533617604.7-173467405589284 `" && echo ansible-tmp-1533617604.7-173467405589284="` echo /root/.ansible/tmp/ansible-tmp-1533617604.7-173467405589284 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/setup.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpggVx6a TO /root/.ansible/tmp/ansible-tmp-1533617604.7-173467405589284/setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533617604.7-173467405589284/ /root/.ansible/tmp/ansible-tmp-1533617604.7-173467405589284/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533617604.7-173467405589284/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533617604.7-173467405589284/ > /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-08-07 - 04:54:26"
}
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-1533617699.06-73947442336832 `" && echo ansible-tmp-1533617699.06-73947442336832="` echo /root/.ansible/tmp/ansible-tmp-1533617699.06-73947442336832 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpxJSBQI TO /root/.ansible/tmp/ansible-tmp-1533617699.06-73947442336832/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533617699.06-73947442336832/ /root/.ansible/tmp/ansible-tmp-1533617699.06-73947442336832/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533617699.06-73947442336832/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533617699.06-73947442336832/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ls",
"-lh",
"/data"
],
"delta": "0:00:00.437972",
"end": "2018-08-07 04:55:25.156593",
"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-08-07 04:55:24.718621",
"stderr": "",
"stderr_lines": [],
"stdout": "total 160K\ndrwxrwxr-x 8 ideascube www-data 32K Aug 2 01:54 aflatoun\ndrwxrwxr-x 6 ideascube www-data 32K Aug 2 02:07 edupi\ndrwxrwxr-x 9 ideascube www-data 32K Aug 2 02:36 kalite\ndrwxrwxr-x 2 ideascube www-data 32K Aug 1 23:37 test\ndrwxrwxr-x 2 ideascube www-data 32K Aug 2 01:39 wikifundi",
"stdout_lines": [
"total 160K",
"drwxrwxr-x 8 ideascube www-data 32K Aug 2 01:54 aflatoun",
"drwxrwxr-x 6 ideascube www-data 32K Aug 2 02:07 edupi",
"drwxrwxr-x 9 ideascube www-data 32K Aug 2 02:36 kalite",
"drwxrwxr-x 2 ideascube www-data 32K Aug 1 23:37 test",
"drwxrwxr-x 2 ideascube www-data 32K Aug 2 01:39 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 Plug - Poza Rica",
"project_name_safe": "kiwix-plug---poza-rica"
},
"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": {
"fqdn": "kiwix-plug---poza-rica.lan",
"hostname": "kiwix-plug---poza-rica",
"hotspot_name": "Kiwix Plug - Poza Rica"
},
"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) - 35%]
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:45
ok: [localhost] => {
"ansible_facts": {
"aflatoun_fqdn": "aflatoun.kiwix-plug---poza-rica.lan",
"aflatoun_server_name": "aflatoun.kiwix-plug---poza-rica",
"edupi_fqdn": "edupi.kiwix-plug---poza-rica.lan",
"edupi_server_name": "edupi.kiwix-plug---poza-rica",
"kalite_fqdn": "khanacademy.kiwix-plug---poza-rica.lan",
"kalite_server_name": "khanacademy.kiwix-plug---poza-rica",
"kiwix_fqdn": "kiwix.kiwix-plug---poza-rica.lan",
"kiwix_server_name": "kiwix.kiwix-plug---poza-rica",
"sites_fqdn": "sites.kiwix-plug---poza-rica.lan",
"sites_server_name": "sites.kiwix-plug---poza-rica",
"time_fqdn": "time.kiwix-plug---poza-rica.lan",
"time_server_name": "time.kiwix-plug---poza-rica",
"wikifundi_fqdn": "wikifundi.kiwix-plug---poza-rica.lan",
"wikifundi_server_name": "wikifundi.kiwix-plug---poza-rica"
},
"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:62
<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-1533617763.1-108193919317459 `" && echo ansible-tmp-1533617763.1-108193919317459="` echo /root/.ansible/tmp/ansible-tmp-1533617763.1-108193919317459 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpjat6IJ TO /root/.ansible/tmp/ansible-tmp-1533617763.1-108193919317459/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533617763.1-108193919317459/ /root/.ansible/tmp/ansible-tmp-1533617763.1-108193919317459/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533617763.1-108193919317459/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533617763.1-108193919317459/ > /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-plug---poza-rica kiwix-plug---poza-rica.lan",
"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-plug---poza-rica.lan] ************
--> variables : Set hostname using to kiwix-plug---poza-rica.lan
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:68
<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-1533617793.03-68974440715893 `" && echo ansible-tmp-1533617793.03-68974440715893="` echo /root/.ansible/tmp/ansible-tmp-1533617793.03-68974440715893 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/hostname.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp9Vw2bf TO /root/.ansible/tmp/ansible-tmp-1533617793.03-68974440715893/hostname.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533617793.03-68974440715893/ /root/.ansible/tmp/ansible-tmp-1533617793.03-68974440715893/hostname.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533617793.03-68974440715893/hostname.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533617793.03-68974440715893/ > /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-plug---poza-rica",
"ansible_nodename": "kiwix-plug---poza-rica.lan"
},
"changed": true,
"diff": {
"after": "hostname = kiwix-plug---poza-rica.lan\n",
"before": "hostname = default.lan\n"
},
"invocation": {
"module_args": {
"name": "kiwix-plug---poza-rica.lan"
}
},
"name": "kiwix-plug---poza-rica.lan"
}
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:75
<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-1533617855.6-251674967726762 `" && echo ansible-tmp-1533617855.6-251674967726762="` echo /root/.ansible/tmp/ansible-tmp-1533617855.6-251674967726762 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp0qELKG TO /root/.ansible/tmp/ansible-tmp-1533617855.6-251674967726762/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533617855.6-251674967726762/ /root/.ansible/tmp/ansible-tmp-1533617855.6-251674967726762/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533617855.6-251674967726762/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533617855.6-251674967726762/ > /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:82
<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-1533617888.71-150631929771381 `" && echo ansible-tmp-1533617888.71-150631929771381="` echo /root/.ansible/tmp/ansible-tmp-1533617888.71-150631929771381 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/setup.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpacVdcE TO /root/.ansible/tmp/ansible-tmp-1533617888.71-150631929771381/setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533617888.71-150631929771381/ /root/.ansible/tmp/ansible-tmp-1533617888.71-150631929771381/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533617888.71-150631929771381/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533617888.71-150631929771381/ > /dev/null 2>&1 && sleep 0'
ok: [localhost]
TASK [variables : debug] *******************************************************
--> variables : debug
task path: /var/lib/ansible/local/roles/variables/tasks/main.yml:88
ok: [localhost] => {
"msg": "My name is kiwix-plug---poza-rica -- kiwix-plug---poza-rica.lan"
}
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-1533617932.46-267422789833006 `" && echo ansible-tmp-1533617932.46-267422789833006="` echo /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp17qLSj TO /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/ /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpOZhPUc/hosts.j2 TO /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/ /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/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-3032k_LDF3/tmpFjb6tz TO /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/ /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "f69871ae3ebe46d29fd9356030bd748fd96792df",
"dest": "/etc/hosts",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "hosts.j2",
"attributes": null,
"backup": false,
"checksum": "f69871ae3ebe46d29fd9356030bd748fd96792df",
"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-1533617932.46-267422789833006/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "c19be68653f0d1491291a520ae65b5c5",
"mode": "0644",
"owner": "root",
"size": 676,
"src": "/root/.ansible/tmp/ansible-tmp-1533617932.46-267422789833006/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-1533617988.39-26134855315716 `" && echo ansible-tmp-1533617988.39-26134855315716="` echo /root/.ansible/tmp/ansible-tmp-1533617988.39-26134855315716 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpM799Co TO /root/.ansible/tmp/ansible-tmp-1533617988.39-26134855315716/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533617988.39-26134855315716/ /root/.ansible/tmp/ansible-tmp-1533617988.39-26134855315716/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533617988.39-26134855315716/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533617988.39-26134855315716/ > /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-1533618006.82-2881276315979 `" && echo ansible-tmp-1533618006.82-2881276315979="` echo /root/.ansible/tmp/ansible-tmp-1533618006.82-2881276315979 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp5wxgD1 TO /root/.ansible/tmp/ansible-tmp-1533618006.82-2881276315979/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618006.82-2881276315979/ /root/.ansible/tmp/ansible-tmp-1533618006.82-2881276315979/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618006.82-2881276315979/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618006.82-2881276315979/ > /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/America/Mexico_City",
"state": "link",
"unsafe_writes": null
}
},
"mode": "0777",
"owner": "root",
"size": 39,
"src": "/usr/share/zoneinfo/America/Mexico_City",
"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-1533618023.51-109527150923134 `" && echo ansible-tmp-1533618023.51-109527150923134="` echo /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpNywaiR TO /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/ /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpmEGTHq TO /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/ /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/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-3032k_LDF3/tmp9Olora TO /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/ /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/ > /dev/null 2>&1 && sleep 0'
NOTIFIED HANDLER update timezone for localhost
changed: [localhost] => {
"backup_file": "/etc/timezone.3790.2018-08-07@00:00:43~",
"changed": true,
"checksum": "4febf0d725b5a4f9a55748765721fa729672cf0e",
"dest": "/etc/timezone",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "tmpmEGTHq",
"attributes": null,
"backup": true,
"checksum": "4febf0d725b5a4f9a55748765721fa729672cf0e",
"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-1533618023.51-109527150923134/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "ab53f177965abfb3121defaa476bf039",
"mode": "0644",
"owner": "root",
"size": 19,
"src": "/root/.ansible/tmp/ansible-tmp-1533618023.51-109527150923134/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-1533618051.67-178502590964363 `" && echo ansible-tmp-1533618051.67-178502590964363="` echo /root/.ansible/tmp/ansible-tmp-1533618051.67-178502590964363 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp1MRRr8 TO /root/.ansible/tmp/ansible-tmp-1533618051.67-178502590964363/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618051.67-178502590964363/ /root/.ansible/tmp/ansible-tmp-1533618051.67-178502590964363/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618051.67-178502590964363/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618051.67-178502590964363/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"umount",
"/data"
],
"delta": "0:00:00.909587",
"end": "2018-08-07 00:01:00.988299",
"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-08-07 00:01:00.078712",
"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-1533618069.04-178729608191655 `" && echo ansible-tmp-1533618069.04-178729608191655="` echo /root/.ansible/tmp/ansible-tmp-1533618069.04-178729608191655 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpLp7Jj9 TO /root/.ansible/tmp/ansible-tmp-1533618069.04-178729608191655/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618069.04-178729608191655/ /root/.ansible/tmp/ansible-tmp-1533618069.04-178729608191655/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618069.04-178729608191655/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618069.04-178729608191655/ > /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-1533618084.7-277803684819927 `" && echo ansible-tmp-1533618084.7-277803684819927="` echo /root/.ansible/tmp/ansible-tmp-1533618084.7-277803684819927 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpDjc3HA TO /root/.ansible/tmp/ansible-tmp-1533618084.7-277803684819927/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618084.7-277803684819927/ /root/.ansible/tmp/ansible-tmp-1533618084.7-277803684819927/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618084.7-277803684819927/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618084.7-277803684819927/ > /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-1533618103.42-172862881561763 `" && echo ansible-tmp-1533618103.42-172862881561763="` echo /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpn65HhO TO /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/ /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/stat.py && sleep 0'
<localhost> PUT /var/lib/ansible/local/partition_boundaries.py TO /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/ /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/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-3032k_LDF3/tmpLZVQlF TO /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/ /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "9f617f36eb0f4acb61169c4a3d5158ee79124635",
"dest": "/tmp/partition_boundaries.py",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "partition_boundaries.py",
"attributes": null,
"backup": false,
"checksum": "9f617f36eb0f4acb61169c4a3d5158ee79124635",
"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-1533618103.42-172862881561763/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "701576f156a1a3449393af85866fc40a",
"mode": "0644",
"owner": "root",
"size": 3809,
"src": "/root/.ansible/tmp/ansible-tmp-1533618103.42-172862881561763/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-1533618130.74-186830477943292 `" && echo ansible-tmp-1533618130.74-186830477943292="` echo /root/.ansible/tmp/ansible-tmp-1533618130.74-186830477943292 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpFhT2mO TO /root/.ansible/tmp/ansible-tmp-1533618130.74-186830477943292/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618130.74-186830477943292/ /root/.ansible/tmp/ansible-tmp-1533618130.74-186830477943292/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618130.74-186830477943292/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618130.74-186830477943292/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"fdisk",
"-l",
"/dev/mmcblk0"
],
"delta": "0:00:00.664191",
"end": "2018-08-07 00:02:20.128214",
"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-08-07 00:02:19.464023",
"stderr": "",
"stderr_lines": [],
"stdout": "Disk /dev/mmcblk0: 14.7 GiB, 15811477504 bytes, 30881792 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 15616870 1944934 949.7M 7 HPFS/NTFS/exFAT",
"stdout_lines": [
"Disk /dev/mmcblk0: 14.7 GiB, 15811477504 bytes, 30881792 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 15616870 1944934 949.7M 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-1533618147.72-232332618727068 `" && echo ansible-tmp-1533618147.72-232332618727068="` echo /root/.ansible/tmp/ansible-tmp-1533618147.72-232332618727068 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpEXugcb TO /root/.ansible/tmp/ansible-tmp-1533618147.72-232332618727068/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618147.72-232332618727068/ /root/.ansible/tmp/ansible-tmp-1533618147.72-232332618727068/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618147.72-232332618727068/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618147.72-232332618727068/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "fdisk -l /dev/mmcblk0 | python /tmp/partition_boundaries.py 7 15",
"delta": "0:00:01.304177",
"end": "2018-08-07 00:02:38.197143",
"invocation": {
"module_args": {
"_raw_params": "fdisk -l /dev/mmcblk0 | python /tmp/partition_boundaries.py 7 15",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-08-07 00:02:36.892966",
"stderr": "",
"stderr_lines": [],
"stdout": "98304 13671936 13671937 29288745",
"stdout_lines": [
"98304 13671936 13671937 29288745"
]
}
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-1533618165.41-111359609210633 `" && echo ansible-tmp-1533618165.41-111359609210633="` echo /root/.ansible/tmp/ansible-tmp-1533618165.41-111359609210633 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpFwmK6A TO /root/.ansible/tmp/ansible-tmp-1533618165.41-111359609210633/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618165.41-111359609210633/ /root/.ansible/tmp/ansible-tmp-1533618165.41-111359609210633/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618165.41-111359609210633/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618165.41-111359609210633/ > /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-1533618182.5-22744760486396 `" && echo ansible-tmp-1533618182.5-22744760486396="` echo /root/.ansible/tmp/ansible-tmp-1533618182.5-22744760486396 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpWo5Nml TO /root/.ansible/tmp/ansible-tmp-1533618182.5-22744760486396/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618182.5-22744760486396/ /root/.ansible/tmp/ansible-tmp-1533618182.5-22744760486396/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618182.5-22744760486396/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618182.5-22744760486396/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "ls -l /dev/mmcblk0p* |wc -l",
"delta": "0:00:00.569979",
"end": "2018-08-07 00:03:12.804695",
"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-08-07 00:03:12.234716",
"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-1533618200.66-9034813677880 `" && echo ansible-tmp-1533618200.66-9034813677880="` echo /root/.ansible/tmp/ansible-tmp-1533618200.66-9034813677880 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpO1OAkj TO /root/.ansible/tmp/ansible-tmp-1533618200.66-9034813677880/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618200.66-9034813677880/ /root/.ansible/tmp/ansible-tmp-1533618200.66-9034813677880/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618200.66-9034813677880/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618200.66-9034813677880/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "/bin/echo -e \"d\\n3\\nw\" | fdisk /dev/mmcblk0",
"delta": "0:00:01.151615",
"end": "2018-08-07 00:03:30.166117",
"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-08-07 00:03:29.014502",
"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-1533618217.93-186370904871606 `" && echo ansible-tmp-1533618217.93-186370904871606="` echo /root/.ansible/tmp/ansible-tmp-1533618217.93-186370904871606 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpmvJaUp TO /root/.ansible/tmp/ansible-tmp-1533618217.93-186370904871606/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618217.93-186370904871606/ /root/.ansible/tmp/ansible-tmp-1533618217.93-186370904871606/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618217.93-186370904871606/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618217.93-186370904871606/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"partprobe",
"-s"
],
"delta": "0:00:05.773145",
"end": "2018-08-07 00:03:51.999567",
"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-08-07 00:03:46.226422",
"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-1533618241.09-227814217413559 `" && echo ansible-tmp-1533618241.09-227814217413559="` echo /root/.ansible/tmp/ansible-tmp-1533618241.09-227814217413559 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpNX6F4v TO /root/.ansible/tmp/ansible-tmp-1533618241.09-227814217413559/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618241.09-227814217413559/ /root/.ansible/tmp/ansible-tmp-1533618241.09-227814217413559/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618241.09-227814217413559/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618241.09-227814217413559/ > /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:01.161627",
"end": "2018-08-07 00:04:12.215120",
"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-08-07 00:04:11.053493",
"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-30881791, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (98304-30881791, default 30881791): \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-30881791, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (98304-30881791, default 30881791): ",
"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-1533618261.03-193791657901849 `" && echo ansible-tmp-1533618261.03-193791657901849="` echo /root/.ansible/tmp/ansible-tmp-1533618261.03-193791657901849 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp1EGtXd TO /root/.ansible/tmp/ansible-tmp-1533618261.03-193791657901849/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618261.03-193791657901849/ /root/.ansible/tmp/ansible-tmp-1533618261.03-193791657901849/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618261.03-193791657901849/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618261.03-193791657901849/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"partprobe",
"-s"
],
"delta": "0:00:05.038854",
"end": "2018-08-07 00:04:34.848262",
"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-08-07 00:04:29.809408",
"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-1533618283.23-190841001727371 `" && echo ansible-tmp-1533618283.23-190841001727371="` echo /root/.ansible/tmp/ansible-tmp-1533618283.23-190841001727371 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp12LVw9 TO /root/.ansible/tmp/ansible-tmp-1533618283.23-190841001727371/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618283.23-190841001727371/ /root/.ansible/tmp/ansible-tmp-1533618283.23-190841001727371/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618283.23-190841001727371/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618283.23-190841001727371/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"resize2fs",
"/dev/mmcblk0p2"
],
"delta": "0:00:00.561094",
"end": "2018-08-07 00:04:53.478936",
"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-08-07 00:04:52.917842",
"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-1533618301.01-210728567024234 `" && echo ansible-tmp-1533618301.01-210728567024234="` echo /root/.ansible/tmp/ansible-tmp-1533618301.01-210728567024234 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpMs4P9J TO /root/.ansible/tmp/ansible-tmp-1533618301.01-210728567024234/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618301.01-210728567024234/ /root/.ansible/tmp/ansible-tmp-1533618301.01-210728567024234/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618301.01-210728567024234/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618301.01-210728567024234/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "/bin/echo -e \"n\\np\\n3\\n13671937\\n29288745\\nt\\n3\\n7\\nw\" | fdisk /dev/mmcblk0",
"delta": "0:00:01.508111",
"end": "2018-08-07 00:05:13.713187",
"invocation": {
"module_args": {
"_raw_params": "/bin/echo -e \"n\\np\\n3\\n13671937\\n29288745\\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-08-07 00:05:12.205076",
"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-30881791, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (13671937-30881791, default 30881791): \nCreated a new partition 3 of type 'Linux' and of size 7.5 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-30881791, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (13671937-30881791, default 30881791): ",
"Created a new partition 3 of type 'Linux' and of size 7.5 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) - 39%]
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-1533618320.78-113676222852003 `" && echo ansible-tmp-1533618320.78-113676222852003="` echo /root/.ansible/tmp/ansible-tmp-1533618320.78-113676222852003 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpMCQW1i TO /root/.ansible/tmp/ansible-tmp-1533618320.78-113676222852003/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618320.78-113676222852003/ /root/.ansible/tmp/ansible-tmp-1533618320.78-113676222852003/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618320.78-113676222852003/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618320.78-113676222852003/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"partprobe",
"-s"
],
"delta": "0:00:05.789349",
"end": "2018-08-07 00:05:36.146151",
"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-08-07 00:05:30.356802",
"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-1533618346.47-37881184373397 `" && echo ansible-tmp-1533618346.47-37881184373397="` echo /root/.ansible/tmp/ansible-tmp-1533618346.47-37881184373397 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpBheXQh TO /root/.ansible/tmp/ansible-tmp-1533618346.47-37881184373397/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618346.47-37881184373397/ /root/.ansible/tmp/ansible-tmp-1533618346.47-37881184373397/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618346.47-37881184373397/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618346.47-37881184373397/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"mkfs.exfat",
"/dev/mmcblk0p3"
],
"delta": "0:00:01.055629",
"end": "2018-08-07 00:05:56.615184",
"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-08-07 00:05:55.559555",
"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-1533618364.05-255840630273970 `" && echo ansible-tmp-1533618364.05-255840630273970="` echo /root/.ansible/tmp/ansible-tmp-1533618364.05-255840630273970 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpoZfG4T TO /root/.ansible/tmp/ansible-tmp-1533618364.05-255840630273970/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618364.05-255840630273970/ /root/.ansible/tmp/ansible-tmp-1533618364.05-255840630273970/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618364.05-255840630273970/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618364.05-255840630273970/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"fdisk",
"-l",
"/dev/mmcblk0"
],
"delta": "0:00:00.336462",
"end": "2018-08-07 00:06:13.785386",
"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-08-07 00:06:13.448924",
"stderr": "",
"stderr_lines": [],
"stdout": "Disk /dev/mmcblk0: 14.7 GiB, 15811477504 bytes, 30881792 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 29288745 15616809 7.5G 7 HPFS/NTFS/exFAT",
"stdout_lines": [
"Disk /dev/mmcblk0: 14.7 GiB, 15811477504 bytes, 30881792 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 29288745 15616809 7.5G 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-1533618381.05-34543759159795 `" && echo ansible-tmp-1533618381.05-34543759159795="` echo /root/.ansible/tmp/ansible-tmp-1533618381.05-34543759159795 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpJMWlrp TO /root/.ansible/tmp/ansible-tmp-1533618381.05-34543759159795/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618381.05-34543759159795/ /root/.ansible/tmp/ansible-tmp-1533618381.05-34543759159795/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618381.05-34543759159795/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618381.05-34543759159795/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"fdisk",
"-l",
"/dev/mmcblk0p3"
],
"delta": "0:00:00.648687",
"end": "2018-08-07 00:06:30.946654",
"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-08-07 00:06:30.297967",
"stderr": "",
"stderr_lines": [],
"stdout": "Disk /dev/mmcblk0p3: 7.5 GiB, 7995806208 bytes, 15616809 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: 7.5 GiB, 7995806208 bytes, 15616809 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-1533618399.81-139327412622438 `" && echo ansible-tmp-1533618399.81-139327412622438="` echo /root/.ansible/tmp/ansible-tmp-1533618399.81-139327412622438 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpIKJPt9 TO /root/.ansible/tmp/ansible-tmp-1533618399.81-139327412622438/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618399.81-139327412622438/ /root/.ansible/tmp/ansible-tmp-1533618399.81-139327412622438/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618399.81-139327412622438/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618399.81-139327412622438/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"dumpexfat",
"-s",
"/dev/mmcblk0p3"
],
"delta": "0:00:00.299059",
"end": "2018-08-07 00:06:50.077649",
"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-08-07 00:06:49.778590",
"stderr": "",
"stderr_lines": [],
"stdout": "Volume serial number 0x8b414c80\nFS version 1.0\nSector size 512\nCluster size 32768\nSectors count 15616809\nClusters count 243980\nFirst sector 0\nFAT first sector 128\nFAT sectors count 1920\nFirst cluster sector 2048\nRoot directory cluster 4\nVolume state 0x0000\nFATs count 1\nDrive number 0x80\nAllocated space 0%",
"stdout_lines": [
"Volume serial number 0x8b414c80",
"FS version 1.0",
"Sector size 512",
"Cluster size 32768",
"Sectors count 15616809",
"Clusters count 243980",
"First sector 0",
"FAT first sector 128",
"FAT sectors count 1920",
"First cluster sector 2048",
"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) - 40%]
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-1533618417.77-72524213793390 `" && echo ansible-tmp-1533618417.77-72524213793390="` echo /root/.ansible/tmp/ansible-tmp-1533618417.77-72524213793390 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpM_3K_k TO /root/.ansible/tmp/ansible-tmp-1533618417.77-72524213793390/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618417.77-72524213793390/ /root/.ansible/tmp/ansible-tmp-1533618417.77-72524213793390/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618417.77-72524213793390/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618417.77-72524213793390/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"fsck.exfat",
"/dev/mmcblk0p3"
],
"delta": "0:00:01.066268",
"end": "2018-08-07 00:07:08.323104",
"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-08-07 00:07:07.256836",
"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 32 KB\nVolume size 7625 MB\nUsed space 1141 KB\nAvailable space 7624 MB\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 32 KB",
"Volume size 7625 MB",
"Used space 1141 KB",
"Available space 7624 MB",
"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-1533618436.18-61521653377541 `" && echo ansible-tmp-1533618436.18-61521653377541="` echo /root/.ansible/tmp/ansible-tmp-1533618436.18-61521653377541 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpHJF_hV TO /root/.ansible/tmp/ansible-tmp-1533618436.18-61521653377541/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618436.18-61521653377541/ /root/.ansible/tmp/ansible-tmp-1533618436.18-61521653377541/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618436.18-61521653377541/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618436.18-61521653377541/ > /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-1533618453.52-240450042842773 `" && echo ansible-tmp-1533618453.52-240450042842773="` echo /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpjl6won TO /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/ /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpTELYBU/fstab.j2 TO /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/ /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/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-3032k_LDF3/tmp7u6kfP TO /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/ /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/ > /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-1533618453.52-240450042842773/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "cc77a248ca62d14925a3748a92f5e360",
"mode": "0644",
"owner": "root",
"size": 526,
"src": "/root/.ansible/tmp/ansible-tmp-1533618453.52-240450042842773/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-1533618480.62-10401367040276 `" && echo ansible-tmp-1533618480.62-10401367040276="` echo /root/.ansible/tmp/ansible-tmp-1533618480.62-10401367040276 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpA74Aza TO /root/.ansible/tmp/ansible-tmp-1533618480.62-10401367040276/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618480.62-10401367040276/ /root/.ansible/tmp/ansible-tmp-1533618480.62-10401367040276/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618480.62-10401367040276/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618480.62-10401367040276/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": [
"mount",
"/data"
],
"delta": "0:00:00.438817",
"end": "2018-08-07 00:08:10.524856",
"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-08-07 00:08:10.086039",
"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-1533618498.76-223534688294806 `" && echo ansible-tmp-1533618498.76-223534688294806="` echo /var/tmp/ansible-tmp-1533618498.76-223534688294806 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpJXdnva TO /var/tmp/ansible-tmp-1533618498.76-223534688294806/file.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1533618498.76-223534688294806/ /var/tmp/ansible-tmp-1533618498.76-223534688294806/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1533618498.76-223534688294806/ /var/tmp/ansible-tmp-1533618498.76-223534688294806/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1533618498.76-223534688294806/ /var/tmp/ansible-tmp-1533618498.76-223534688294806/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-njxfmbapgsvoslhssgeuodnhbazwzfcd; /usr/bin/python /var/tmp/ansible-tmp-1533618498.76-223534688294806/file.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1533618498.76-223534688294806/ > /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-1533618518.15-163352815391973 `" && echo ansible-tmp-1533618518.15-163352815391973="` echo /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpuEr3Xp TO /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/ /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpxbxE4U/502.html.j2 TO /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/ /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/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-3032k_LDF3/tmpCzMgv0 TO /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/ /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "502d170efda449661a321b69fd85a7290847cdd9",
"dest": "/var/www/502.html",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "502.html.j2",
"attributes": null,
"backup": false,
"checksum": "502d170efda449661a321b69fd85a7290847cdd9",
"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-1533618518.15-163352815391973/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "adcd66d6cba7b8c5f2611f8fe5f6e390",
"mode": "0644",
"owner": "root",
"size": 2171,
"src": "/root/.ansible/tmp/ansible-tmp-1533618518.15-163352815391973/source",
"state": "file",
"uid": 0
}
TASK [nginx : install 404.html] ************************************************
--> nginx : install 404.html
[STAGE 3/6: Image configuration (virtualized) - 41%]
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-1533618549.87-128632255011856 `" && echo ansible-tmp-1533618549.87-128632255011856="` echo /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpJ54aIk TO /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/ /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpRTje6L/404.html.j2 TO /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/ /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/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-3032k_LDF3/tmpLSRU5r TO /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/ /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "c3aeaca37967f2753c07d0bfc9199bcbb1431523",
"dest": "/var/www/404.html",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "404.html.j2",
"attributes": null,
"backup": false,
"checksum": "c3aeaca37967f2753c07d0bfc9199bcbb1431523",
"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-1533618549.87-128632255011856/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "19fcb9c26c9fdbbb791f197cee12e434",
"mode": "0644",
"owner": "root",
"size": 2044,
"src": "/root/.ansible/tmp/ansible-tmp-1533618549.87-128632255011856/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:16
<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-1533618585.56-70314483040577 `" && echo ansible-tmp-1533618585.56-70314483040577="` echo /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp49lQV6 TO /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/ /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpeKf6DT/dnsmasq.conf.j2 TO /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/ /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/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-3032k_LDF3/tmp7vt6pg TO /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/ /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"backup_file": "/etc/dnsmasq.conf.4965.2018-08-07@00:10:07~",
"changed": true,
"checksum": "b1f96b41e9704bc6994d2773544f2cb41e52737a",
"dest": "/etc/dnsmasq.conf",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "dnsmasq.conf.j2",
"attributes": null,
"backup": true,
"checksum": "b1f96b41e9704bc6994d2773544f2cb41e52737a",
"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-1533618585.56-70314483040577/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "fba66457fa613ba7ee0fa2dca48eebc2",
"mode": "0644",
"owner": "root",
"size": 352,
"src": "/root/.ansible/tmp/ansible-tmp-1533618585.56-70314483040577/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-1533618615.59-139440979297472 `" && echo ansible-tmp-1533618615.59-139440979297472="` echo /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpLMKJUD TO /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/ /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpZS8OcX/hostapd.conf.j2 TO /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/ /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/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-3032k_LDF3/tmpFhDkSO TO /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/ /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/ > /dev/null 2>&1 && sleep 0'
NOTIFIED HANDLER restart hostapd for localhost
changed: [localhost] => {
"changed": true,
"checksum": "9009fdab9075f39d1dde19c4e55bde095152492a",
"dest": "/etc/hostapd/hostapd.conf",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "hostapd.conf.j2",
"attributes": null,
"backup": false,
"checksum": "9009fdab9075f39d1dde19c4e55bde095152492a",
"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-1533618615.59-139440979297472/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "7cfd638393c2b0bca24377efdbc36cda",
"mode": "0755",
"owner": "root",
"size": 355,
"src": "/root/.ansible/tmp/ansible-tmp-1533618615.59-139440979297472/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-1533618645.93-98468629497100 `" && echo ansible-tmp-1533618645.93-98468629497100="` echo /root/.ansible/tmp/ansible-tmp-1533618645.93-98468629497100 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpu1dfqS TO /root/.ansible/tmp/ansible-tmp-1533618645.93-98468629497100/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618645.93-98468629497100/ /root/.ansible/tmp/ansible-tmp-1533618645.93-98468629497100/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618645.93-98468629497100/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618645.93-98468629497100/ > /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) - 41%]
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-1533618663.49-66647799973490 `" && echo ansible-tmp-1533618663.49-66647799973490="` echo /root/.ansible/tmp/ansible-tmp-1533618663.49-66647799973490 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpxUw_sT TO /root/.ansible/tmp/ansible-tmp-1533618663.49-66647799973490/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618663.49-66647799973490/ /root/.ansible/tmp/ansible-tmp-1533618663.49-66647799973490/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618663.49-66647799973490/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618663.49-66647799973490/ > /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-1533618675.04-280860251736939 `" && echo ansible-tmp-1533618675.04-280860251736939="` echo /root/.ansible/tmp/ansible-tmp-1533618675.04-280860251736939 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpbnBiUL TO /root/.ansible/tmp/ansible-tmp-1533618675.04-280860251736939/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618675.04-280860251736939/ /root/.ansible/tmp/ansible-tmp-1533618675.04-280860251736939/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618675.04-280860251736939/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618675.04-280860251736939/ > /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-1533618686.48-249230303675304 `" && echo ansible-tmp-1533618686.48-249230303675304="` echo /root/.ansible/tmp/ansible-tmp-1533618686.48-249230303675304 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpDb0FrM TO /root/.ansible/tmp/ansible-tmp-1533618686.48-249230303675304/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618686.48-249230303675304/ /root/.ansible/tmp/ansible-tmp-1533618686.48-249230303675304/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618686.48-249230303675304/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618686.48-249230303675304/ > /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) - 41%]
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-1533618706.52-245747789555221 `" && echo ansible-tmp-1533618706.52-245747789555221="` echo /root/.ansible/tmp/ansible-tmp-1533618706.52-245747789555221 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp5wSLhm TO /root/.ansible/tmp/ansible-tmp-1533618706.52-245747789555221/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618706.52-245747789555221/ /root/.ansible/tmp/ansible-tmp-1533618706.52-245747789555221/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618706.52-245747789555221/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618706.52-245747789555221/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=kiwix) => {
"changed": true,
"cmd": [
"mv",
"/var/ideascube/kiwix",
"/data/ideascube/"
],
"delta": "0:00:00.398497",
"end": "2018-08-07 00:11:56.557541",
"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-08-07 00:11:56.159044",
"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-1533618718.39-119900045252980 `" && echo ansible-tmp-1533618718.39-119900045252980="` echo /root/.ansible/tmp/ansible-tmp-1533618718.39-119900045252980 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpdUgOGa TO /root/.ansible/tmp/ansible-tmp-1533618718.39-119900045252980/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618718.39-119900045252980/ /root/.ansible/tmp/ansible-tmp-1533618718.39-119900045252980/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618718.39-119900045252980/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618718.39-119900045252980/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=nginx) => {
"changed": true,
"cmd": [
"mv",
"/var/ideascube/nginx",
"/data/ideascube/"
],
"delta": "0:00:00.305506",
"end": "2018-08-07 00:12:08.364096",
"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-08-07 00:12:08.058590",
"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-1533618730.1-220264694076223 `" && echo ansible-tmp-1533618730.1-220264694076223="` echo /root/.ansible/tmp/ansible-tmp-1533618730.1-220264694076223 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpLnTNZD TO /root/.ansible/tmp/ansible-tmp-1533618730.1-220264694076223/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618730.1-220264694076223/ /root/.ansible/tmp/ansible-tmp-1533618730.1-220264694076223/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618730.1-220264694076223/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618730.1-220264694076223/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=mediacenter) => {
"changed": true,
"cmd": [
"mv",
"/var/ideascube/mediacenter",
"/data/ideascube/"
],
"delta": "0:00:01.677140",
"end": "2018-08-07 00:12:20.296061",
"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-08-07 00:12:18.618921",
"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-1533618748.68-66433184661476 `" && echo ansible-tmp-1533618748.68-66433184661476="` echo /root/.ansible/tmp/ansible-tmp-1533618748.68-66433184661476 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp53rGqs TO /root/.ansible/tmp/ansible-tmp-1533618748.68-66433184661476/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618748.68-66433184661476/ /root/.ansible/tmp/ansible-tmp-1533618748.68-66433184661476/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618748.68-66433184661476/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618748.68-66433184661476/ > /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-1533618760.23-260627812019439 `" && echo ansible-tmp-1533618760.23-260627812019439="` echo /root/.ansible/tmp/ansible-tmp-1533618760.23-260627812019439 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpUiXtRD TO /root/.ansible/tmp/ansible-tmp-1533618760.23-260627812019439/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618760.23-260627812019439/ /root/.ansible/tmp/ansible-tmp-1533618760.23-260627812019439/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618760.23-260627812019439/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618760.23-260627812019439/ > /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-1533618771.01-93363947475794 `" && echo ansible-tmp-1533618771.01-93363947475794="` echo /root/.ansible/tmp/ansible-tmp-1533618771.01-93363947475794 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpambe6S TO /root/.ansible/tmp/ansible-tmp-1533618771.01-93363947475794/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618771.01-93363947475794/ /root/.ansible/tmp/ansible-tmp-1533618771.01-93363947475794/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618771.01-93363947475794/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618771.01-93363947475794/ > /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) - 42%]
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-1533618806.1-110430577606637 `" && echo ansible-tmp-1533618806.1-110430577606637="` echo /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpCgDZTx TO /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/ /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpbWaSWT/pibox.py.j2 TO /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/ /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/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-3032k_LDF3/tmp_DnjTL TO /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/ /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/ > /dev/null 2>&1 && sleep 0'
NOTIFIED HANDLER restart uwsgi for localhost
changed: [localhost] => {
"changed": true,
"checksum": "3036c6f8d800721567950f1993b315991900ae1b",
"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": "3036c6f8d800721567950f1993b315991900ae1b",
"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-1533618806.1-110430577606637/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "dc4922960a815b74fc3672bd9ed50a1f",
"mode": "0644",
"owner": "root",
"size": 533,
"src": "/root/.ansible/tmp/ansible-tmp-1533618806.1-110430577606637/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-1533618834.09-3599754646002 `" && echo ansible-tmp-1533618834.09-3599754646002="` echo /root/.ansible/tmp/ansible-tmp-1533618834.09-3599754646002 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpAySTpX TO /root/.ansible/tmp/ansible-tmp-1533618834.09-3599754646002/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618834.09-3599754646002/ /root/.ansible/tmp/ansible-tmp-1533618834.09-3599754646002/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618834.09-3599754646002/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618834.09-3599754646002/ > /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-plug---poza-rica.lan\", \"kiwix-plug---poza-rica.lan\", \"kiwix-plug---poza-rica\", \"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-1533618863.48-48151811780188 `" && echo ansible-tmp-1533618863.48-48151811780188="` echo /root/.ansible/tmp/ansible-tmp-1533618863.48-48151811780188 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp0gl1Jq TO /root/.ansible/tmp/ansible-tmp-1533618863.48-48151811780188/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618863.48-48151811780188/ /root/.ansible/tmp/ansible-tmp-1533618863.48-48151811780188/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618863.48-48151811780188/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618863.48-48151811780188/ > /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-plug---poza-rica.lan\"",
"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-1533618881.64-27646293086100 `" && echo ansible-tmp-1533618881.64-27646293086100="` echo /root/.ansible/tmp/ansible-tmp-1533618881.64-27646293086100 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpCCo09C TO /root/.ansible/tmp/ansible-tmp-1533618881.64-27646293086100/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618881.64-27646293086100/ /root/.ansible/tmp/ansible-tmp-1533618881.64-27646293086100/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618881.64-27646293086100/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618881.64-27646293086100/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item={u'slug': u'fr.wikifundi', u'fqdn': u'fr.wikifundi.kiwix-plug---poza-rica.lan'}) => {
"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-plug---poza-rica.lan\",",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"unsafe_writes": null,
"validate": null
}
},
"item": {
"fqdn": "fr.wikifundi.kiwix-plug---poza-rica.lan",
"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-1533618891.78-31915117543777 `" && echo ansible-tmp-1533618891.78-31915117543777="` echo /root/.ansible/tmp/ansible-tmp-1533618891.78-31915117543777 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpOr7UAW TO /root/.ansible/tmp/ansible-tmp-1533618891.78-31915117543777/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618891.78-31915117543777/ /root/.ansible/tmp/ansible-tmp-1533618891.78-31915117543777/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618891.78-31915117543777/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618891.78-31915117543777/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item={u'slug': u'en.wikifundi', u'fqdn': u'en.wikifundi.kiwix-plug---poza-rica.lan'}) => {
"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-plug---poza-rica.lan\",",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"unsafe_writes": null,
"validate": null
}
},
"item": {
"fqdn": "en.wikifundi.kiwix-plug---poza-rica.lan",
"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-1533618904.24-193820078913450 `" && echo ansible-tmp-1533618904.24-193820078913450="` echo /root/.ansible/tmp/ansible-tmp-1533618904.24-193820078913450 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpKT7poD TO /root/.ansible/tmp/ansible-tmp-1533618904.24-193820078913450/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618904.24-193820078913450/ /root/.ansible/tmp/ansible-tmp-1533618904.24-193820078913450/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618904.24-193820078913450/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618904.24-193820078913450/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item={u'slug': u'aflatoun', u'fqdn': u'aflatoun.kiwix-plug---poza-rica.lan'}) => {
"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-plug---poza-rica.lan\",",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"unsafe_writes": null,
"validate": null
}
},
"item": {
"fqdn": "aflatoun.kiwix-plug---poza-rica.lan",
"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-1533618915.23-69027020993526 `" && echo ansible-tmp-1533618915.23-69027020993526="` echo /root/.ansible/tmp/ansible-tmp-1533618915.23-69027020993526 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/replace.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp45RNgJ TO /root/.ansible/tmp/ansible-tmp-1533618915.23-69027020993526/replace.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533618915.23-69027020993526/ /root/.ansible/tmp/ansible-tmp-1533618915.23-69027020993526/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533618915.23-69027020993526/replace.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533618915.23-69027020993526/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item={u'slug': u'edupi', u'fqdn': u'edupi.kiwix-plug---poza-rica.lan'}) => {
"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-plug---poza-rica.lan\",",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"unsafe_writes": null,
"validate": null
}
},
"item": {
"fqdn": "edupi.kiwix-plug---poza-rica.lan",
"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-1533618931.99-92925096116717 `" && echo ansible-tmp-1533618931.99-92925096116717="` echo /var/tmp/ansible-tmp-1533618931.99-92925096116717 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpuFJg5s TO /var/tmp/ansible-tmp-1533618931.99-92925096116717/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1533618931.99-92925096116717/ /var/tmp/ansible-tmp-1533618931.99-92925096116717/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1533618931.99-92925096116717/ /var/tmp/ansible-tmp-1533618931.99-92925096116717/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1533618931.99-92925096116717/ /var/tmp/ansible-tmp-1533618931.99-92925096116717/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-udesmstytmwzrievhrmpzuaurkptabpf; /usr/bin/python /var/tmp/ansible-tmp-1533618931.99-92925096116717/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1533618931.99-92925096116717/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ideascube",
"shell",
"-c",
"from ideascube.models import User; print('****{}****'.format(User.objects.filter(serial='admin').count()))"
],
"delta": "0:01:11.518319",
"end": "2018-08-07 00:16:53.806682",
"invocation": {
"module_args": {
"_raw_params": "ideascube shell -c \"from ideascube.models import User; print('****{}****'.format(User.objects.filter(serial='admin').count()))\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-08-07 00:15:42.288363",
"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:171
<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-1533619024.23-156060719212298 `" && echo ansible-tmp-1533619024.23-156060719212298="` echo /var/tmp/ansible-tmp-1533619024.23-156060719212298 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpgLqj8P TO /var/tmp/ansible-tmp-1533619024.23-156060719212298/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1533619024.23-156060719212298/ /var/tmp/ansible-tmp-1533619024.23-156060719212298/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1533619024.23-156060719212298/ /var/tmp/ansible-tmp-1533619024.23-156060719212298/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1533619024.23-156060719212298/ /var/tmp/ansible-tmp-1533619024.23-156060719212298/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-dgehxtjglyblxkdvlzyxvbpbtiytmsyg; /usr/bin/python /var/tmp/ansible-tmp-1533619024.23-156060719212298/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1533619024.23-156060719212298/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ideascube",
"shell",
"-c",
"from ideascube.models import User; User.objects.create_superuser('admin', 'admin-password')"
],
"delta": "0:01:10.408736",
"end": "2018-08-07 00:18:25.735175",
"invocation": {
"module_args": {
"_raw_params": "ideascube shell -c \"from ideascube.models import User; User.objects.create_superuser('admin', 'admin-password')\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-08-07 00:17:15.326439",
"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) - 43%]
task path: /var/lib/ansible/local/roles/ideascube/tasks/main.yml:196
<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-1533619114.78-265960750870000 `" && echo ansible-tmp-1533619114.78-265960750870000="` echo /var/tmp/ansible-tmp-1533619114.78-265960750870000 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpGizEK8 TO /var/tmp/ansible-tmp-1533619114.78-265960750870000/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1533619114.78-265960750870000/ /var/tmp/ansible-tmp-1533619114.78-265960750870000/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1533619114.78-265960750870000/ /var/tmp/ansible-tmp-1533619114.78-265960750870000/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1533619114.78-265960750870000/ /var/tmp/ansible-tmp-1533619114.78-265960750870000/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-ctwckuwyayverczmksahhihntwurzrmx; /usr/bin/python /var/tmp/ansible-tmp-1533619114.78-265960750870000/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1533619114.78-265960750870000/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ideascube",
"config",
"set",
"server",
"site-name",
"kiwix-plug---poza-rica"
],
"delta": "0:01:31.791828",
"end": "2018-08-07 00:20:16.695617",
"invocation": {
"module_args": {
"_raw_params": "ideascube config set server site-name kiwix-plug---poza-rica",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-08-07 00:18:44.903789",
"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:202
<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-1533619225.31-209421769730648 `" && echo ansible-tmp-1533619225.31-209421769730648="` echo /var/tmp/ansible-tmp-1533619225.31-209421769730648 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpdEmRmy TO /var/tmp/ansible-tmp-1533619225.31-209421769730648/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1533619225.31-209421769730648/ /var/tmp/ansible-tmp-1533619225.31-209421769730648/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1533619225.31-209421769730648/ /var/tmp/ansible-tmp-1533619225.31-209421769730648/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1533619225.31-209421769730648/ /var/tmp/ansible-tmp-1533619225.31-209421769730648/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-ywhhifuqwluxjybucierpazxgvbjnzvb; /usr/bin/python /var/tmp/ansible-tmp-1533619225.31-209421769730648/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1533619225.31-209421769730648/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"ideascube",
"shell",
"-c",
"from ideascube.serveradmin.catalog import Kiwix ; Kiwix.commit()"
],
"delta": "0:01:24.180706",
"end": "2018-08-07 00:21:59.454535",
"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-08-07 00:20:35.273829",
"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:243
<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-1533619327.95-106215247018776 `" && echo ansible-tmp-1533619327.95-106215247018776="` echo /root/.ansible/tmp/ansible-tmp-1533619327.95-106215247018776 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpRZZUz6 TO /root/.ansible/tmp/ansible-tmp-1533619327.95-106215247018776/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619327.95-106215247018776/ /root/.ansible/tmp/ansible-tmp-1533619327.95-106215247018776/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619327.95-106215247018776/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619327.95-106215247018776/ > /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:249
<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-1533619345.03-200696096215721 `" && echo ansible-tmp-1533619345.03-200696096215721="` echo /root/.ansible/tmp/ansible-tmp-1533619345.03-200696096215721 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpjao2_J TO /root/.ansible/tmp/ansible-tmp-1533619345.03-200696096215721/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619345.03-200696096215721/ /root/.ansible/tmp/ansible-tmp-1533619345.03-200696096215721/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619345.03-200696096215721/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619345.03-200696096215721/ > /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-plug---poza-rica.lan kiwix-plug---poza-rica;",
"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:257
<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-1533619362.7-93501925045515 `" && echo ansible-tmp-1533619362.7-93501925045515="` echo /root/.ansible/tmp/ansible-tmp-1533619362.7-93501925045515 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/lineinfile.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmppz6aCA TO /root/.ansible/tmp/ansible-tmp-1533619362.7-93501925045515/lineinfile.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619362.7-93501925045515/ /root/.ansible/tmp/ansible-tmp-1533619362.7-93501925045515/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619362.7-93501925045515/lineinfile.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619362.7-93501925045515/ > /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-plug---poza-rica.lan sites.kiwix-plug---poza-rica;",
"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-1533619381.64-195535417638497 `" && echo ansible-tmp-1533619381.64-195535417638497="` echo /root/.ansible/tmp/ansible-tmp-1533619381.64-195535417638497 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpgZvhso TO /root/.ansible/tmp/ansible-tmp-1533619381.64-195535417638497/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619381.64-195535417638497/ /root/.ansible/tmp/ansible-tmp-1533619381.64-195535417638497/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619381.64-195535417638497/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619381.64-195535417638497/ > /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-1533619398.98-90034103739353 `" && echo ansible-tmp-1533619398.98-90034103739353="` echo /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpp1oI_J TO /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/ /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp0tWFo2/nginx.vhost.j2 TO /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/ /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/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-3032k_LDF3/tmpzSGKCJ TO /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/ /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "a33e9417e21717bfc0b9b1aef264665546da662a",
"dest": "/etc/nginx/sites-available/kiwix",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "nginx.vhost.j2",
"attributes": null,
"backup": false,
"checksum": "a33e9417e21717bfc0b9b1aef264665546da662a",
"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-1533619398.98-90034103739353/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "899d540eb42bd8ae348f9b940f3352a3",
"mode": "0644",
"owner": "root",
"size": 598,
"src": "/root/.ansible/tmp/ansible-tmp-1533619398.98-90034103739353/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-1533619427.39-192797916015390 `" && echo ansible-tmp-1533619427.39-192797916015390="` echo /root/.ansible/tmp/ansible-tmp-1533619427.39-192797916015390 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpoBGZF5 TO /root/.ansible/tmp/ansible-tmp-1533619427.39-192797916015390/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619427.39-192797916015390/ /root/.ansible/tmp/ansible-tmp-1533619427.39-192797916015390/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619427.39-192797916015390/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619427.39-192797916015390/ > /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-1533619444.87-99230367225294 `" && echo ansible-tmp-1533619444.87-99230367225294="` echo /root/.ansible/tmp/ansible-tmp-1533619444.87-99230367225294 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmphSk3TP TO /root/.ansible/tmp/ansible-tmp-1533619444.87-99230367225294/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619444.87-99230367225294/ /root/.ansible/tmp/ansible-tmp-1533619444.87-99230367225294/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'USERNAME=admin PASSWORD=admin-password /usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619444.87-99230367225294/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619444.87-99230367225294/ > /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(\"USERNAME\", \"admin\"), p=crypt(os.environ.get(\"PASSWORD\", \"admin\"), salt)))' > /var/www/.admin-passwd",
"delta": "0:00:01.681988",
"end": "2018-08-07 00:24:17.198382",
"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(\"USERNAME\", \"admin\"), p=crypt(os.environ.get(\"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-08-07 00:24:15.516394",
"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-1533619465.37-231400367693540 `" && echo ansible-tmp-1533619465.37-231400367693540="` echo /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpvW6J6K TO /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/ /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpiHRZ7i/nginx.conf.j2 TO /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/ /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/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-3032k_LDF3/tmp4uo20B TO /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/ /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "9c46006b55e5a6d5b4587524505c084f1deca594",
"dest": "/etc/nginx/sites-available/clock",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "nginx.conf.j2",
"attributes": null,
"backup": false,
"checksum": "9c46006b55e5a6d5b4587524505c084f1deca594",
"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-1533619465.37-231400367693540/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "8aaa8960a52ee64b3a7a5adc833d5021",
"mode": "0644",
"owner": "root",
"size": 398,
"src": "/root/.ansible/tmp/ansible-tmp-1533619465.37-231400367693540/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: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-1533619495.25-34394442895949 `" && echo ansible-tmp-1533619495.25-34394442895949="` echo /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp5v7Qcy TO /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/ /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpymgZai/cap.py.j2 TO /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/ /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/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-3032k_LDF3/tmpuAfRxM TO /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/ /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "f4822ac28b803071198ebda967057991e356b552",
"dest": "/var/www/captiveportal/cap.py",
"diff": [],
"gid": 1001,
"group": "ideascube",
"invocation": {
"module_args": {
"_original_basename": "cap.py.j2",
"attributes": null,
"backup": false,
"checksum": "f4822ac28b803071198ebda967057991e356b552",
"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-1533619495.25-34394442895949/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "dff7da23b6fbc994da4017e1d44eeddf",
"mode": "0755",
"owner": "ideascube",
"size": 2326,
"src": "/root/.ansible/tmp/ansible-tmp-1533619495.25-34394442895949/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: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-1533619526.71-254134023046519 `" && echo ansible-tmp-1533619526.71-254134023046519="` echo /root/.ansible/tmp/ansible-tmp-1533619526.71-254134023046519 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpSJTKPX TO /root/.ansible/tmp/ansible-tmp-1533619526.71-254134023046519/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619526.71-254134023046519/ /root/.ansible/tmp/ansible-tmp-1533619526.71-254134023046519/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619526.71-254134023046519/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619526.71-254134023046519/ > /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 Plug/CN=kiwix-plug---poza-rica.lan"
],
"delta": "0:00:01.032776",
"end": "2018-08-07 00:25:37.746036",
"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 Plug/CN=kiwix-plug---poza-rica.lan\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"rc": 0,
"start": "2018-08-07 00:25:36.713260",
"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:82
<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-1533619545.66-21592064908713 `" && echo ansible-tmp-1533619545.66-21592064908713="` echo /root/.ansible/tmp/ansible-tmp-1533619545.66-21592064908713 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpdwaBst TO /root/.ansible/tmp/ansible-tmp-1533619545.66-21592064908713/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619545.66-21592064908713/ /root/.ansible/tmp/ansible-tmp-1533619545.66-21592064908713/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619545.66-21592064908713/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619545.66-21592064908713/ > /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.756695",
"end": "2018-08-07 00:25:56.322311",
"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-08-07 00:25:55.565616",
"stderr": "Signature ok\nsubject=C = CH, ST = Vaud, L = Lausanne, O = Kiwix, OU = Kiwix Plug, CN = kiwix-plug---poza-rica.lan\nGetting Private key",
"stderr_lines": [
"Signature ok",
"subject=C = CH, ST = Vaud, L = Lausanne, O = Kiwix, OU = Kiwix Plug, CN = kiwix-plug---poza-rica.lan",
"Getting Private key"
],
"stdout": "",
"stdout_lines": []
}
TASK [captive_portal : Copy new catch-all redirect 301 vhost] ******************
--> captive_portal : Copy new catch-all redirect 301 vhost
[STAGE 3/6: Image configuration (virtualized) - 46%]
task path: /var/lib/ansible/local/roles/captive_portal/tasks/main.yml:86
<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-1533619564.33-7882942795755 `" && echo ansible-tmp-1533619564.33-7882942795755="` echo /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpBzPXqW TO /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/ /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/stat.py && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpL0RhT6/redirect.j2 TO /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/ /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/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-3032k_LDF3/tmpdeo12k TO /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/ /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "8e7478366a9674a11794d6398cb1b5c933a0e516",
"dest": "/etc/nginx/sites-enabled/redirect",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "redirect.j2",
"attributes": null,
"backup": false,
"checksum": "8e7478366a9674a11794d6398cb1b5c933a0e516",
"content": null,
"delimiter": null,
"dest": "/etc/nginx/sites-enabled/redirect",
"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-1533619564.33-7882942795755/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "fe0b9ca8e3eb0628671a2b46b43501c4",
"mode": "0644",
"owner": "root",
"size": 278,
"src": "/root/.ansible/tmp/ansible-tmp-1533619564.33-7882942795755/source",
"state": "file",
"uid": 0
}
TASK [captive_portal : Copy dnsmasq script for NetworkManager] *****************
--> captive_portal : Copy dnsmasq script for NetworkManager
[STAGE 3/6: Image configuration (virtualized) - 46%]
task path: /var/lib/ansible/local/roles/captive_portal/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-1533619593.17-231134685706811 `" && echo ansible-tmp-1533619593.17-231134685706811="` echo /root/.ansible/tmp/ansible-tmp-1533619593.17-231134685706811 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpNEOIxX TO /root/.ansible/tmp/ansible-tmp-1533619593.17-231134685706811/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619593.17-231134685706811/ /root/.ansible/tmp/ansible-tmp-1533619593.17-231134685706811/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619593.17-231134685706811/stat.py && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpCwBwM5 TO /root/.ansible/tmp/ansible-tmp-1533619593.17-231134685706811/file.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619593.17-231134685706811/ /root/.ansible/tmp/ansible-tmp-1533619593.17-231134685706811/file.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619593.17-231134685706811/file.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619593.17-231134685706811/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"checksum": "5381cb31165ffbbc3455946edb3befe92db3a9db",
"dest": "/etc/NetworkManager/dispatcher.d/03dnsmasq",
"diff": {
"after": {
"path": "/etc/NetworkManager/dispatcher.d/03dnsmasq"
},
"before": {
"path": "/etc/NetworkManager/dispatcher.d/03dnsmasq"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": "dnsmasq.j2",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "/etc/NetworkManager/dispatcher.d/03dnsmasq",
"directory_mode": null,
"follow": false,
"force": false,
"group": null,
"mode": 493,
"owner": null,
"path": "/etc/NetworkManager/dispatcher.d/03dnsmasq",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "file",
"unsafe_writes": null
}
},
"mode": "0755",
"owner": "root",
"path": "/etc/NetworkManager/dispatcher.d/03dnsmasq",
"size": 502,
"state": "file",
"uid": 0
}
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:261
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) - 47%]
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) - 47%]
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:43
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:50
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) - 48%]
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:121
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:128
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) - 49%]
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) - 49%]
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:49
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:61
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:25
TASK [wikifundi_content : Add wikifundi CSS hack] ******************************
--> wikifundi_content : Add wikifundi CSS hack
[STAGE 3/6: Image configuration (virtualized) - 49%]
task path: /var/lib/ansible/local/roles/wikifundi_content/tasks/main.yml:72
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-1533619711.74-132237715058059 `" && echo ansible-tmp-1533619711.74-132237715058059="` echo /var/tmp/ansible-tmp-1533619711.74-132237715058059 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpKdZGCm TO /var/tmp/ansible-tmp-1533619711.74-132237715058059/command.py
<localhost> EXEC /bin/sh -c 'setfacl -m u:ideascube:r-x /var/tmp/ansible-tmp-1533619711.74-132237715058059/ /var/tmp/ansible-tmp-1533619711.74-132237715058059/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1533619711.74-132237715058059/ /var/tmp/ansible-tmp-1533619711.74-132237715058059/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'chown ideascube /var/tmp/ansible-tmp-1533619711.74-132237715058059/ /var/tmp/ansible-tmp-1533619711.74-132237715058059/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u ideascube /bin/sh -c '"'"'echo BECOME-SUCCESS-ydelhskntdkizaxajczcvdfvllqnqheq; /usr/bin/python /var/tmp/ansible-tmp-1533619711.74-132237715058059/command.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1533619711.74-132237715058059/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "tar --dereference --hard-dereference -cf /home/ideascube/data_part.tar *",
"delta": "0:00:01.320090",
"end": "2018-08-07 00:28:45.488762",
"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-08-07 00:28:44.168672",
"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-1533619734.06-23553948989021 `" && echo ansible-tmp-1533619734.06-23553948989021="` echo /root/.ansible/tmp/ansible-tmp-1533619734.06-23553948989021 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp4Kgxz8 TO /root/.ansible/tmp/ansible-tmp-1533619734.06-23553948989021/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619734.06-23553948989021/ /root/.ansible/tmp/ansible-tmp-1533619734.06-23553948989021/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619734.06-23553948989021/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619734.06-23553948989021/ > /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": "Mon 2018-08-06 23:33:20 CDT",
"ActiveEnterTimestampMonotonic": "106424130",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "active",
"After": "system.slice user.slice systemd-journald.socket basic.target nss-user-lookup.target dbus.socket sysinit.target",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Mon 2018-08-06 23:33:06 CDT",
"AssertTimestampMonotonic": "92569171",
"Before": "user-1000.slice user-1001.slice session-c3.scope shutdown.target session-c2.scope multi-user.target",
"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": "Mon 2018-08-06 23:33:06 CDT",
"ConditionTimestampMonotonic": "92568580",
"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": "1518",
"ExecMainStartTimestamp": "Mon 2018-08-06 23:33:06 CDT",
"ExecMainStartTimestampMonotonic": "92646750",
"ExecMainStatus": "0",
"ExecStart": "{ path=/lib/systemd/systemd-logind ; argv[]=/lib/systemd/systemd-logind ; ignore_errors=no ; start_time=[Mon 2018-08-06 23:33:06 CDT] ; stop_time=[n/a] ; pid=1518 ; 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": "Mon 2018-08-06 23:33:06 CDT",
"InactiveExitTimestampMonotonic": "92649136",
"InvocationID": "1c7c118da0ed45adbfb3672d34bcb70f",
"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": "1518",
"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": "dbus.socket sysinit.target system.slice",
"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": "Mon 2018-08-06 23:33:20 CDT",
"StateChangeTimestampMonotonic": "106424130",
"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": "Tue 2018-08-07 00:28:44 CDT",
"WatchdogTimestampMonotonic": "3429865065",
"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-1533619770.56-131102323345725 `" && echo ansible-tmp-1533619770.56-131102323345725="` echo /root/.ansible/tmp/ansible-tmp-1533619770.56-131102323345725 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpnpDYXI TO /root/.ansible/tmp/ansible-tmp-1533619770.56-131102323345725/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619770.56-131102323345725/ /root/.ansible/tmp/ansible-tmp-1533619770.56-131102323345725/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619770.56-131102323345725/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619770.56-131102323345725/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"dpkg-reconfigure",
"--frontend",
"noninteractive",
"tzdata"
],
"delta": "0:00:34.580566",
"end": "2018-08-07 00:30:14.063247",
"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-08-07 00:29:39.482681",
"stderr": "\nCurrent default time zone: 'America/Mexico_City'\nLocal time is now: Tue Aug 7 00:30:08 CDT 2018.\nUniversal Time is now: Tue Aug 7 05:30:08 UTC 2018.",
"stderr_lines": [
"",
"Current default time zone: 'America/Mexico_City'",
"Local time is now: Tue Aug 7 00:30:08 CDT 2018.",
"Universal Time is now: Tue Aug 7 05:30:08 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-1533619821.63-207697165333202 `" && echo ansible-tmp-1533619821.63-207697165333202="` echo /root/.ansible/tmp/ansible-tmp-1533619821.63-207697165333202 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmp08STq8 TO /root/.ansible/tmp/ansible-tmp-1533619821.63-207697165333202/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619821.63-207697165333202/ /root/.ansible/tmp/ansible-tmp-1533619821.63-207697165333202/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619821.63-207697165333202/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619821.63-207697165333202/ > /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": "Tue 2018-08-07 00:30:31 CDT",
"ActiveEnterTimestampMonotonic": "3536469417",
"ActiveExitTimestamp": "Tue 2018-08-07 00:30:32 CDT",
"ActiveExitTimestampMonotonic": "3537417201",
"ActiveState": "activating",
"After": "network.target systemd-journald.socket basic.target sysinit.target syslog.target system.slice",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Tue 2018-08-07 00:30:31 CDT",
"AssertTimestampMonotonic": "3536405932",
"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": "Tue 2018-08-07 00:30:31 CDT",
"ConditionTimestampMonotonic": "3536405920",
"Conflicts": "shutdown.target",
"ControlPID": "0",
"DefaultDependencies": "yes",
"Delegate": "no",
"Description": "Launch hostapd",
"DevicePolicy": "auto",
"DynamicUser": "no",
"ExecMainCode": "1",
"ExecMainExitTimestamp": "Tue 2018-08-07 00:30:32 CDT",
"ExecMainExitTimestampMonotonic": "3537267518",
"ExecMainPID": "6886",
"ExecMainStartTimestamp": "Tue 2018-08-07 00:30:31 CDT",
"ExecMainStartTimestampMonotonic": "3536465928",
"ExecMainStatus": "1",
"ExecStart": "{ path=/usr/sbin/hostapd ; argv[]=/usr/sbin/hostapd -P /var/run/hostapd.pid /etc/hostapd/hostapd.conf ; ignore_errors=no ; start_time=[Tue 2018-08-07 00:30:31 CDT] ; stop_time=[Tue 2018-08-07 00:30:32 CDT] ; pid=6886 ; code=exited ; status=1 }",
"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": "Tue 2018-08-07 00:30:32 CDT",
"InactiveEnterTimestampMonotonic": "3537417201",
"InactiveExitTimestamp": "Tue 2018-08-07 00:30:32 CDT",
"InactiveExitTimestampMonotonic": "3537475925",
"InvocationID": "4673ce4663594dd3b9580b9a5ca2a617",
"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": "0",
"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": "exit-code",
"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": "Tue 2018-08-07 00:30:32 CDT",
"StateChangeTimestampMonotonic": "3537475925",
"StatusErrno": "0",
"StopWhenUnneeded": "no",
"SubState": "auto-restart",
"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",
"WatchdogTimestampMonotonic": "0",
"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-1533619844.44-254794267989568 `" && echo ansible-tmp-1533619844.44-254794267989568="` echo /root/.ansible/tmp/ansible-tmp-1533619844.44-254794267989568 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpyoanZc TO /root/.ansible/tmp/ansible-tmp-1533619844.44-254794267989568/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619844.44-254794267989568/ /root/.ansible/tmp/ansible-tmp-1533619844.44-254794267989568/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619844.44-254794267989568/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619844.44-254794267989568/ > /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": "Mon 2018-08-06 23:34:17 CDT",
"ActiveEnterTimestampMonotonic": "162918588",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "active",
"After": "network.target systemd-journald.socket basic.target sysinit.target system.slice",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Mon 2018-08-06 23:33:41 CDT",
"AssertTimestampMonotonic": "127773424",
"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": "Mon 2018-08-06 23:33:41 CDT",
"ConditionTimestampMonotonic": "127773401",
"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": "1711",
"ExecMainStartTimestamp": "Mon 2018-08-06 23:34:17 CDT",
"ExecMainStartTimestampMonotonic": "162917636",
"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=[Mon 2018-08-06 23:34:12 CDT] ; stop_time=[Mon 2018-08-06 23:34:17 CDT] ; pid=1691 ; 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=[Mon 2018-08-06 23:33:41 CDT] ; stop_time=[Mon 2018-08-06 23:34:12 CDT] ; pid=1607 ; 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": "Mon 2018-08-06 23:33:41 CDT",
"InactiveExitTimestampMonotonic": "127901259",
"InvocationID": "dc32874d168643b1af27245004e9fb58",
"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": "1711",
"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": "Mon 2018-08-06 23:34:17 CDT",
"StateChangeTimestampMonotonic": "162918588",
"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": "Mon 2018-08-06 23:34:17 CDT",
"WatchdogTimestampMonotonic": "162918550",
"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-1533619868.73-196812729237909 `" && echo ansible-tmp-1533619868.73-196812729237909="` echo /root/.ansible/tmp/ansible-tmp-1533619868.73-196812729237909 `" ) && sleep 0'
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/systemd.py
<localhost> PUT /root/.ansible/tmp/ansible-local-3032k_LDF3/tmpKcRwJi TO /root/.ansible/tmp/ansible-tmp-1533619868.73-196812729237909/systemd.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1533619868.73-196812729237909/ /root/.ansible/tmp/ansible-tmp-1533619868.73-196812729237909/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1533619868.73-196812729237909/systemd.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1533619868.73-196812729237909/ > /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": "Mon 2018-08-06 23:36:34 CDT",
"ActiveEnterTimestampMonotonic": "299717531",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "active",
"After": "network-online.target systemd-journald.socket basic.target remote-fs.target sysinit.target system.slice",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "yes",
"AssertTimestamp": "Mon 2018-08-06 23:34:15 CDT",
"AssertTimestampMonotonic": "161296455",
"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": "Mon 2018-08-06 23:34:15 CDT",
"ConditionTimestampMonotonic": "161296422",
"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=[Mon 2018-08-06 23:34:15 CDT] ; stop_time=[Mon 2018-08-06 23:36:34 CDT] ; pid=1707 ; 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": "Mon 2018-08-06 23:34:15 CDT",
"InactiveExitTimestampMonotonic": "161472390",
"InvocationID": "8d6a3b81d774460b8db08e637181619d",
"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": "Mon 2018-08-06 23:36:34 CDT",
"StateChangeTimestampMonotonic": "299717531",
"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": "Mon 2018-08-06 23:36:34 CDT",
"WatchdogTimestampMonotonic": "299716132",
"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:81
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: ran handlers
PLAY RECAP *********************************************************************
localhost : ok=75 changed=60 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 Tue 2018-08-07 00:33:07 CDT, use 'shutdown -c' to cancel.
VM is off.
[STAGE 4/6: Copy contents onto image - 50%]
--> Formating data partition on host
Call: ['/tmp/_MEItVFB8q/qemu-img', 'info', '-f', 'raw', '/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img']
image: /home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img
file format: raw
virtual size: 15G (15811477504 bytes)
disk size: 7.5G
Call: ['/usr/bin/udisksctl', 'loop-setup', '--offset', '7000031744', '--size', '8807283200', '--file', '/home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img', '--no-user-interaction']
Mapped file /home/ark/kiwix-plug/plug-2018_08_06-23_10_58.BUILDING.img as /dev/loop0.
Call: ['/usr/bin/udisksctl', 'unmount', '--block-device', '/dev/loop0', '--no-user-interaction']
Unmounted /dev/loop0.
Call: ['/sbin/mkfs.exfat', '-n', 'data', '/dev/loop0']
mkexfatfs 1.2.3
ERROR: failed to get size of '/dev/loop0'.
Call: ['/usr/bin/udisksctl', 'loop-delete', '--block-device', '/dev/loop0', '--no-user-interaction']
Error deleting loop device /dev/loop0: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation
--> Restoring loop device (/dev/loop0) mode
--> Failed: Process ['/sbin/mkfs.exfat', '-n', 'data', '/dev/loop0'] failed
Installation failed: Process ['/sbin/mkfs.exfat', '-n', 'data', '/dev/loop0'] failed
[STAGE 4/6: Copy contents onto image - 67%]
Call: ['pkexec', 'chmod', '-v', '0660', '/dev/loop0']
el modo de '/dev/loop0' cambia de 0666 (rw-rw-rw-) a 0660 (rw-rw----)
--> Restoring SD-card device (/dev/sdc) mode
Call: ['pkexec', 'chmod', '-v', '0660', '/dev/sdc']
el modo de '/dev/sdc' cambia de 0666 (rw-rw-rw-) a 0660 (rw-rw----)
*** DURATIONS SUMMARY ***
[1/6] Retrieve Master Image: 20 minutes and 23.07 seconds (lun 06 ago 2018 23:11:10 to lun 06 ago 2018 23:31:33 )
[2/6] Download contents: 0 seconds (lun 06 ago 2018 23:31:33 to lun 06 ago 2018 23:31:33 )
[3/6] Image configuration (virtualized): 1 hour, 2 minutes and 26.44 seconds (lun 06 ago 2018 23:31:33 to mar 07 ago 2018 00:33:59 )
[4/6] Copy contents onto image: 5.59 seconds (mar 07 ago 2018 00:33:59 to mar 07 ago 2018 00:34:05 )
TOTAL: 1 hour, 23 minutes and 7.45 seconds (lun 06 ago 2018 23:10:58 to mar 07 ago 2018 00:34:05 )
##########################################################################################################################
terminal log:
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "topmenu-gtk-module"
/tmp/_MEIBtx3PN/gi/overrides/GLib.py:523: Warning: g_value_set_object: assertion 'G_VALUE_HOLDS_OBJECT (value)' failed
Exception in thread Thread-1:
Traceback (most recent call last):
File "run_installation.py", line 34, in run_installation
SystemError: Your system does not matches system requirements:
- exfat-fuse is required.
- exfat-utils is required.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run_installation.py", line 277, in run_installation
UnboundLocalError: local variable 'image_building_path' referenced before assignment
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "threading.py", line 920, in _bootstrap_inner
File "threading.py", line 868, in run
File "gui.py", line 972, in target
File "run_installation.py", line 291, in run_installation
UnboundLocalError: local variable 'loop_dev' referenced before assignment
ark@tempest:~/Descargas$ ./kiwix-plug_installer
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "topmenu-gtk-module"
/tmp/_MEItVFB8q/paramiko/rsakey.py:129: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 920, in _bootstrap_inner
File "threading.py", line 868, in run
File "gui.py", line 972, in target
File "run_installation.py", line 227, in run_installation
File "backend/mount.py", line 330, in format_data_partition
File "backend/util.py", line 74, in subprocess_pretty_check_call
File "backend/util.py", line 66, in subprocess_pretty_call
backend.util.CheckCallException: Process ['/sbin/mkfs.exfat', '-n', 'data', '/dev/loop0'] failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment