From e90c58b8e785aebc4432b53fe08935d3f16012ad Mon Sep 17 00:00:00 2001 From: Chris Short Date: Mon, 15 Jan 2018 17:43:53 -0500 Subject: [PATCH 1/3] Initial rak8s Commit --- .cache/.gitkeep | 0 .cache/pik8s000 | 1847 ++++++++++++++++++++ .cp/.gitkeep | 0 .gitignore | 0 .log/.gitkeep | 0 .log/ansible.log | 63 + README.md | 31 + ansible.cfg | 24 + cluster.yml | 13 + group_vars/all.yml | 2 + inventory | 9 + roles/common/files/cmdline.txt | 1 + roles/common/tasks/main.yml | 52 + roles/dashboard/files/dashboard-admin.yaml | 15 + roles/dashboard/tasks/main.yml | 13 + roles/kubeadm/files/get-docker.sh | 440 +++++ roles/kubeadm/tasks/main.yml | 50 + roles/kubeadm/templates/kubernetes.list | 1 + roles/master/tasks/main.yml | 44 + roles/workers/tasks/main.yml | 18 + 20 files changed, 2623 insertions(+) create mode 100644 .cache/.gitkeep create mode 100644 .cache/pik8s000 create mode 100644 .cp/.gitkeep create mode 100644 .gitignore create mode 100644 .log/.gitkeep create mode 100644 .log/ansible.log create mode 100644 README.md create mode 100644 ansible.cfg create mode 100644 cluster.yml create mode 100644 group_vars/all.yml create mode 100644 inventory create mode 100644 roles/common/files/cmdline.txt create mode 100644 roles/common/tasks/main.yml create mode 100644 roles/dashboard/files/dashboard-admin.yaml create mode 100644 roles/dashboard/tasks/main.yml create mode 100644 roles/kubeadm/files/get-docker.sh create mode 100644 roles/kubeadm/tasks/main.yml create mode 100644 roles/kubeadm/templates/kubernetes.list create mode 100644 roles/master/tasks/main.yml create mode 100644 roles/workers/tasks/main.yml diff --git a/.cache/.gitkeep b/.cache/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.cache/pik8s000 b/.cache/pik8s000 new file mode 100644 index 0000000..10bc7f2 --- /dev/null +++ b/.cache/pik8s000 @@ -0,0 +1,1847 @@ +{ + "ansible_all_ipv4_addresses": [ + "172.17.0.1", + "169.254.250.68", + "169.254.176.36", + "10.32.0.1", + "169.254.96.145", + "169.254.56.231", + "192.168.86.200", + "169.254.134.5" + ], + "ansible_all_ipv6_addresses": [ + "fe80::6c36:9778:e702:c7d3", + "fe80::a4dd:3ff:fe82:a677", + "fe80::a4ba:1eff:fefe:ae85", + "fe80::e1e8:9b85:2cdf:e9fc", + "fe80::257f:fcbc:10b1:fb08", + "fe80::a87f:84ff:fe67:ee52", + "fe80::4c3b:7f9:78fb:736f", + "fe80::bca6:7bb5:82bc:3297" + ], + "ansible_apparmor": { + "status": "disabled" + }, + "ansible_architecture": "armv7l", + "ansible_bios_date": "", + "ansible_bios_version": "", + "ansible_cmdline": { + "8250.nr_uarts": "0", + "bcm2708_fb.fbdepth": "16", + "bcm2708_fb.fbheight": "416", + "bcm2708_fb.fbswap": "1", + "bcm2708_fb.fbwidth": "656", + "cgroup_enable": "memory", + "console": "tty1", + "dwc_otg.lpm_enable": "0", + "elevator": "deadline", + "fsck.repair": "yes", + "root": "/dev/mmcblk0p2", + "rootfstype": "ext4", + "rootwait": true, + "vc_mem.mem_base": "0x3f000000", + "vc_mem.mem_size": "0x3f600000" + }, + "ansible_datapath": { + "active": true, + "device": "datapath", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "on", + "highdma": "on", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "on [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "off [fixed]", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "off [fixed]", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "off [fixed]", + "scatter_gather": "on", + "tcp_segmentation_offload": "on", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "on", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "off [fixed]", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "off [fixed]", + "tx_gre_csum_segmentation": "on", + "tx_gre_segmentation": "on", + "tx_gso_partial": "off [fixed]", + "tx_gso_robust": "off [fixed]", + "tx_ipxip4_segmentation": "on", + "tx_ipxip6_segmentation": "on", + "tx_lockless": "on [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "on", + "tx_scatter_gather_fraglist": "on", + "tx_sctp_segmentation": "on", + "tx_tcp6_segmentation": "on", + "tx_tcp_ecn_segmentation": "on", + "tx_tcp_mangleid_segmentation": "on", + "tx_tcp_segmentation": "on", + "tx_udp_tnl_csum_segmentation": "on", + "tx_udp_tnl_segmentation": "on", + "tx_vlan_offload": "on", + "tx_vlan_stag_hw_insert": "on", + "udp_fragmentation_offload": "on", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "ipv4": { + "address": "169.254.250.68", + "broadcast": "169.254.255.255", + "netmask": "255.255.0.0", + "network": "169.254.0.0" + }, + "ipv6": [ + { + "address": "fe80::6c36:9778:e702:c7d3", + "prefix": "64", + "scope": "link" + } + ], + "macaddress": "96:b9:89:21:81:bc", + "mtu": 1376, + "promisc": true, + "timestamping": [ + "rx_software", + "software" + ], + "type": "ether" + }, + "ansible_date_time": { + "date": "2018-01-15", + "day": "15", + "epoch": "1516031147", + "hour": "10", + "iso8601": "2018-01-15T15:45:47Z", + "iso8601_basic": "20180115T104547695903", + "iso8601_basic_short": "20180115T104547", + "iso8601_micro": "2018-01-15T15:45:47.696263Z", + "minute": "45", + "month": "01", + "second": "47", + "time": "10:45:47", + "tz": "EST", + "tz_offset": "-0500", + "weekday": "Monday", + "weekday_number": "1", + "weeknumber": "03", + "year": "2018" + }, + "ansible_default_ipv4": { + "address": "192.168.86.200", + "alias": "wlan0", + "broadcast": "192.168.86.255", + "gateway": "192.168.86.1", + "interface": "wlan0", + "macaddress": "b8:27:eb:c4:e3:5d", + "mtu": 1500, + "netmask": "255.255.255.0", + "network": "192.168.86.0", + "type": "ether" + }, + "ansible_default_ipv6": {}, + "ansible_device_links": { + "ids": { + "mmcblk0": [ + "mmc-SC32G_0x93430082" + ], + "mmcblk0p1": [ + "mmc-SC32G_0x93430082-part1" + ], + "mmcblk0p2": [ + "mmc-SC32G_0x93430082-part2" + ] + }, + "labels": { + "mmcblk0p1": [ + "boot" + ], + "mmcblk0p2": [ + "rootfs" + ] + }, + "masters": {}, + "uuids": { + "mmcblk0p1": [ + "CDD4-B453" + ], + "mmcblk0p2": [ + "72bfc10d-73ec-4d9e-a54a-1cc507ee7ed2" + ] + } + }, + "ansible_devices": { + "loop0": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "0", + "sectorsize": "512", + "size": "0.00 Bytes", + "support_discard": "0", + "vendor": null, + "virtual": 1 + }, + "loop1": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "0", + "sectorsize": "512", + "size": "0.00 Bytes", + "support_discard": "0", + "vendor": null, + "virtual": 1 + }, + "loop2": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "0", + "sectorsize": "512", + "size": "0.00 Bytes", + "support_discard": "0", + "vendor": null, + "virtual": 1 + }, + "loop3": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "0", + "sectorsize": "512", + "size": "0.00 Bytes", + "support_discard": "0", + "vendor": null, + "virtual": 1 + }, + "loop4": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "0", + "sectorsize": "512", + "size": "0.00 Bytes", + "support_discard": "0", + "vendor": null, + "virtual": 1 + }, + "loop5": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "0", + "sectorsize": "512", + "size": "0.00 Bytes", + "support_discard": "0", + "vendor": null, + "virtual": 1 + }, + "loop6": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "0", + "sectorsize": "512", + "size": "0.00 Bytes", + "support_discard": "0", + "vendor": null, + "virtual": 1 + }, + "loop7": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "0", + "sectorsize": "512", + "size": "0.00 Bytes", + "support_discard": "0", + "vendor": null, + "virtual": 1 + }, + "mmcblk0": { + "holders": [], + "host": "", + "links": { + "ids": [ + "mmc-SC32G_0x93430082" + ], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "0", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "deadline", + "sectors": "62333952", + "sectorsize": "512", + "size": "29.72 GB", + "support_discard": "4194304", + "vendor": null, + "virtual": 1 + }, + "ram0": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram1": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram10": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram11": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram12": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram13": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram14": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram15": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram2": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram3": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram4": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram5": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram6": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram7": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram8": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + }, + "ram9": { + "holders": [], + "host": "", + "links": { + "ids": [], + "labels": [], + "masters": [], + "uuids": [] + }, + "model": null, + "partitions": {}, + "removable": "0", + "rotational": "1", + "sas_address": null, + "sas_device_handle": null, + "scheduler_mode": "", + "sectors": "8192", + "sectorsize": "512", + "size": "4.00 MB", + "support_discard": "4096", + "vendor": null, + "virtual": 1 + } + }, + "ansible_distribution": "Debian", + "ansible_distribution_file_parsed": true, + "ansible_distribution_file_path": "/etc/os-release", + "ansible_distribution_file_variety": "Debian", + "ansible_distribution_major_version": "9", + "ansible_distribution_release": "stretch", + "ansible_distribution_version": "9.3", + "ansible_dns": { + "domain": "lan", + "nameservers": [ + "192.168.86.1" + ] + }, + "ansible_docker0": { + "active": false, + "device": "docker0", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "on", + "highdma": "on", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "on [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "off [fixed]", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "off [fixed]", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "off [fixed]", + "scatter_gather": "on", + "tcp_segmentation_offload": "on", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "on", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "off [fixed]", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "on", + "tx_gre_csum_segmentation": "on", + "tx_gre_segmentation": "on", + "tx_gso_partial": "on", + "tx_gso_robust": "on", + "tx_ipxip4_segmentation": "on", + "tx_ipxip6_segmentation": "on", + "tx_lockless": "on [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "on", + "tx_scatter_gather_fraglist": "on", + "tx_sctp_segmentation": "on", + "tx_tcp6_segmentation": "on", + "tx_tcp_ecn_segmentation": "on", + "tx_tcp_mangleid_segmentation": "on", + "tx_tcp_segmentation": "on", + "tx_udp_tnl_csum_segmentation": "on", + "tx_udp_tnl_segmentation": "on", + "tx_vlan_offload": "on", + "tx_vlan_stag_hw_insert": "on", + "udp_fragmentation_offload": "on", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "id": "8000.0242399d59b8", + "interfaces": [], + "ipv4": { + "address": "172.17.0.1", + "broadcast": "172.17.255.255", + "netmask": "255.255.0.0", + "network": "172.17.0.0" + }, + "macaddress": "02:42:39:9d:59:b8", + "mtu": 1500, + "promisc": false, + "stp": false, + "timestamping": [ + "rx_software", + "software" + ], + "type": "bridge" + }, + "ansible_domain": "", + "ansible_dummy0": { + "active": true, + "device": "dummy0", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "on", + "highdma": "on", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "off [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "off [fixed]", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "off [fixed]", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "off [fixed]", + "scatter_gather": "on", + "tcp_segmentation_offload": "on", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "on", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "off [fixed]", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "off [fixed]", + "tx_gre_csum_segmentation": "on", + "tx_gre_segmentation": "on", + "tx_gso_partial": "off [fixed]", + "tx_gso_robust": "off [fixed]", + "tx_ipxip4_segmentation": "on", + "tx_ipxip6_segmentation": "on", + "tx_lockless": "on [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "on", + "tx_scatter_gather_fraglist": "on", + "tx_sctp_segmentation": "off [fixed]", + "tx_tcp6_segmentation": "on", + "tx_tcp_ecn_segmentation": "on", + "tx_tcp_mangleid_segmentation": "on", + "tx_tcp_segmentation": "on", + "tx_udp_tnl_csum_segmentation": "on", + "tx_udp_tnl_segmentation": "on", + "tx_vlan_offload": "off [fixed]", + "tx_vlan_stag_hw_insert": "off [fixed]", + "udp_fragmentation_offload": "on", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "ipv6": [ + { + "address": "fe80::e1e8:9b85:2cdf:e9fc", + "prefix": "64", + "scope": "link" + } + ], + "macaddress": "42:6a:c8:fd:46:c4", + "mtu": 1500, + "promisc": false, + "timestamping": [ + "rx_software", + "software" + ], + "type": "ether" + }, + "ansible_effective_group_id": 0, + "ansible_effective_user_id": 0, + "ansible_env": { + "HOME": "/root", + "LANG": "en_US.UTF-8", + "LOGNAME": "root", + "MAIL": "/var/mail/root", + "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", + "PWD": "/home/pi", + "SHELL": "/bin/bash", + "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-vorzqcoxgbesitremejnkgxlntbwznzn; /usr/bin/python", + "SUDO_GID": "1000", + "SUDO_UID": "1000", + "SUDO_USER": "pi", + "TERM": "unknown", + "USER": "root", + "USERNAME": "root" + }, + "ansible_eth0": { + "active": false, + "device": "eth0", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "off [requested on]", + "highdma": "off [fixed]", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "off [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "on", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "off [fixed]", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "off [fixed]", + "scatter_gather": "off", + "tcp_segmentation_offload": "off", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "off [fixed]", + "tx_checksum_ipv4": "on", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "off [fixed]", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "off [fixed]", + "tx_gre_csum_segmentation": "off [fixed]", + "tx_gre_segmentation": "off [fixed]", + "tx_gso_partial": "off [fixed]", + "tx_gso_robust": "off [fixed]", + "tx_ipxip4_segmentation": "off [fixed]", + "tx_ipxip6_segmentation": "off [fixed]", + "tx_lockless": "off [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "off [fixed]", + "tx_scatter_gather_fraglist": "off [fixed]", + "tx_sctp_segmentation": "off [fixed]", + "tx_tcp6_segmentation": "off [fixed]", + "tx_tcp_ecn_segmentation": "off [fixed]", + "tx_tcp_mangleid_segmentation": "off [fixed]", + "tx_tcp_segmentation": "off [fixed]", + "tx_udp_tnl_csum_segmentation": "off [fixed]", + "tx_udp_tnl_segmentation": "off [fixed]", + "tx_vlan_offload": "off [fixed]", + "tx_vlan_stag_hw_insert": "off [fixed]", + "udp_fragmentation_offload": "off [fixed]", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "macaddress": "b8:27:eb:91:b6:08", + "module": "smsc95xx", + "mtu": 1500, + "pciid": "1-1.1:1.0", + "promisc": false, + "speed": 10, + "timestamping": [ + "rx_software", + "software" + ], + "type": "ether" + }, + "ansible_fips": false, + "ansible_form_factor": "", + "ansible_fqdn": "pik8s000", + "ansible_hostname": "pik8s000", + "ansible_interfaces": [ + "vethwepl9bebc3a", + "vethwe-datapath", + "docker0", + "lo", + "vethwepl885ea3c", + "vethwe-bridge", + "datapath", + "wlan0", + "weave", + "dummy0", + "vxlan-6784", + "eth0" + ], + "ansible_kernel": "4.9.76-v7+", + "ansible_lo": { + "active": true, + "device": "lo", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "on", + "highdma": "on [fixed]", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "on [fixed]", + "netns_local": "on [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "on [fixed]", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "off [fixed]", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "off [fixed]", + "scatter_gather": "on", + "tcp_segmentation_offload": "on", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "on [fixed]", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "on [fixed]", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "off [fixed]", + "tx_gre_csum_segmentation": "off [fixed]", + "tx_gre_segmentation": "off [fixed]", + "tx_gso_partial": "off [fixed]", + "tx_gso_robust": "off [fixed]", + "tx_ipxip4_segmentation": "off [fixed]", + "tx_ipxip6_segmentation": "off [fixed]", + "tx_lockless": "on [fixed]", + "tx_nocache_copy": "off [fixed]", + "tx_scatter_gather": "on [fixed]", + "tx_scatter_gather_fraglist": "on [fixed]", + "tx_sctp_segmentation": "on", + "tx_tcp6_segmentation": "on", + "tx_tcp_ecn_segmentation": "on", + "tx_tcp_mangleid_segmentation": "on", + "tx_tcp_segmentation": "on", + "tx_udp_tnl_csum_segmentation": "off [fixed]", + "tx_udp_tnl_segmentation": "off [fixed]", + "tx_vlan_offload": "off [fixed]", + "tx_vlan_stag_hw_insert": "off [fixed]", + "udp_fragmentation_offload": "on", + "vlan_challenged": "on [fixed]" + }, + "hw_timestamp_filters": [], + "ipv4": { + "address": "127.0.0.1", + "broadcast": "host", + "netmask": "255.0.0.0", + "network": "127.0.0.0" + }, + "ipv6": [ + { + "address": "::1", + "prefix": "128", + "scope": "host" + } + ], + "mtu": 65536, + "promisc": false, + "timestamping": [ + "rx_software", + "software" + ], + "type": "loopback" + }, + "ansible_local": {}, + "ansible_lsb": { + "codename": "stretch", + "description": "Raspbian GNU/Linux 9.3 (stretch)", + "id": "Raspbian", + "major_release": "9", + "release": "9.3" + }, + "ansible_machine": "armv7l", + "ansible_machine_id": "8f332830f3b64f32bbf40909ef396e9a", + "ansible_memfree_mb": 35, + "ansible_memory_mb": { + "nocache": { + "free": 411, + "used": 565 + }, + "real": { + "free": 35, + "total": 976, + "used": 941 + }, + "swap": { + "cached": 0, + "free": 0, + "total": 0, + "used": 0 + } + }, + "ansible_memtotal_mb": 976, + "ansible_mounts": [ + { + "block_available": 6531386, + "block_size": 4096, + "block_total": 7653695, + "block_used": 1122309, + "device": "/dev/root", + "fstype": "ext4", + "inode_available": 1825138, + "inode_total": 1881152, + "inode_used": 56014, + "mount": "/", + "options": "rw,noatime,data=ordered", + "size_available": 26752557056, + "size_total": 31349534720, + "uuid": "N/A" + }, + { + "block_available": 40972, + "block_size": 512, + "block_total": 83705, + "block_used": 42733, + "device": "/dev/mmcblk0p1", + "fstype": "vfat", + "inode_available": 0, + "inode_total": 0, + "inode_used": 0, + "mount": "/boot", + "options": "rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro", + "size_available": 20977664, + "size_total": 42856960, + "uuid": "CDD4-B453" + }, + { + "block_available": 6531386, + "block_size": 4096, + "block_total": 7653695, + "block_used": 1122309, + "device": "/dev/root", + "fstype": "ext4", + "inode_available": 1825138, + "inode_total": 1881152, + "inode_used": 56014, + "mount": "/var/lib/docker/plugins", + "options": "rw,noatime,data=ordered,bind", + "size_available": 26752557056, + "size_total": 31349534720, + "uuid": "N/A" + }, + { + "block_available": 6531386, + "block_size": 4096, + "block_total": 7653695, + "block_used": 1122309, + "device": "/dev/root", + "fstype": "ext4", + "inode_available": 1825138, + "inode_total": 1881152, + "inode_used": 56014, + "mount": "/var/lib/docker/overlay2", + "options": "rw,noatime,data=ordered,bind", + "size_available": 26752557056, + "size_total": 31349534720, + "uuid": "N/A" + } + ], + "ansible_nodename": "pik8s000", + "ansible_os_family": "Debian", + "ansible_pkg_mgr": "apt", + "ansible_processor": [ + "0", + "ARMv7 Processor rev 4 (v7l)", + "1", + "ARMv7 Processor rev 4 (v7l)", + "2", + "ARMv7 Processor rev 4 (v7l)", + "3", + "ARMv7 Processor rev 4 (v7l)" + ], + "ansible_processor_cores": 1, + "ansible_processor_count": 8, + "ansible_processor_threads_per_core": 1, + "ansible_processor_vcpus": 8, + "ansible_product_name": "", + "ansible_product_serial": "", + "ansible_product_uuid": "", + "ansible_product_version": "", + "ansible_python": { + "executable": "/usr/bin/python", + "has_sslcontext": true, + "type": "CPython", + "version": { + "major": 2, + "micro": 13, + "minor": 7, + "releaselevel": "final", + "serial": 0 + }, + "version_info": [ + 2, + 7, + 13, + "final", + 0 + ] + }, + "ansible_python_version": "2.7.13", + "ansible_real_group_id": 0, + "ansible_real_user_id": 0, + "ansible_selinux": { + "status": "Missing selinux Python library" + }, + "ansible_selinux_python_present": false, + "ansible_service_mgr": "systemd", + "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBALpIBJkfC807z/ly6tqy/wvfSBZjrMMAXprZmHcQOkifqCaP9zaWaU7C8m3PWbEklxyLJpDMhA5kK94pfEedVxUrIzLTBqUjpIzpn7KHzxQe+0RC8RInkOfmQjwXIZo/PqtBfYwF6lHh4pzWo3HISewClIecxhSG3M0KJhWO3ep3AAAAFQCkiL3G9+E6Nr95r8Lw9RvTIplgoQAAAIApHNTRrFJlzaWkIwxvQi1w4cjbZQj0OZ9+g6XoWgKz1ChUWnNpIbjKvYMQ+VOdR0A+hOd8iHDfYRMPggSYmjjKSL0mSRQ9yDPYfCdF4AgIxlxYoTtEmjVLEb+B5E/Z/8QjlYgc5W7f/PXwOaH11XnuGnjGjVC6hIfZ931CbL9SDwAAAIEAm+gmgktiXxE4Cb2+c//J9EABRSW27kTVJb0i+DvyCWJ2yj0zy2i4pqQE4EpwCWGfNACNpsLzdpk6p6va2iZUEBtg5O3SWhV7Iz/UF87FfsjgRyZRz+mJbYsVmvzpC+VCjaeH3s/Y45JziCG2qEuQpj29IF55e14lOhHpW/dckF0=", + "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBE+perb6Y7s7y2QSAPQ7gkFIrH1rEbhnmQIcOA+nCYEKGH0diNuhjiL/IPTdduqYBuf3XfOhgajmPRBOo0QZ5TU=", + "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIGs7tOKJPhWPU9kBn/O4YEY6s9BCIbqa5pckTiWJQ6sX", + "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCVnzw3r5GzJm5BCwKvnpcgrRpRDLg9SSsNOrkNws+tE5f2+vCZHjfWTg1AgD6oy5OkFsD6PYDtwzaPYG+uHLSkv9rmo5pErxek/OYqdnzjwuYPYDbA6wlvntF0MGx6AGKipCH9C5f+EFAJGDY8AWGu1mYYWFtAxny3KhcvezLqyRl0d8JaL/A7KfjvBhK3sB397Q9CZsYhq/VcDglJaQGnQ67LeEDhUsOhnQzsO5EJg8hpFfWZ99tJltvGhev/i1H4mod97YKXuZPHN+XAtcCGjER0VgUGbqveC9g8Iye1hxHCxtZeZIxTgsUi5qwOUMRZHpa0x3BTlbz+W0Tr+Ndp", + "ansible_swapfree_mb": 0, + "ansible_swaptotal_mb": 0, + "ansible_system": "Linux", + "ansible_system_capabilities": [ + "cap_chown", + "cap_dac_override", + "cap_dac_read_search", + "cap_fowner", + "cap_fsetid", + "cap_kill", + "cap_setgid", + "cap_setuid", + "cap_setpcap", + "cap_linux_immutable", + "cap_net_bind_service", + "cap_net_broadcast", + "cap_net_admin", + "cap_net_raw", + "cap_ipc_lock", + "cap_ipc_owner", + "cap_sys_module", + "cap_sys_rawio", + "cap_sys_chroot", + "cap_sys_ptrace", + "cap_sys_pacct", + "cap_sys_admin", + "cap_sys_boot", + "cap_sys_nice", + "cap_sys_resource", + "cap_sys_time", + "cap_sys_tty_config", + "cap_mknod", + "cap_lease", + "cap_audit_write", + "cap_audit_control", + "cap_setfcap", + "cap_mac_override", + "cap_mac_admin", + "cap_syslog", + "cap_wake_alarm", + "cap_block_suspend", + "cap_audit_read+ep" + ], + "ansible_system_capabilities_enforced": "True", + "ansible_system_vendor": "", + "ansible_uptime_seconds": 138533, + "ansible_user_dir": "/root", + "ansible_user_gecos": "root", + "ansible_user_gid": 0, + "ansible_user_id": "root", + "ansible_user_shell": "/bin/bash", + "ansible_user_uid": 0, + "ansible_userspace_bits": "32", + "ansible_vethwe_bridge": { + "active": true, + "device": "vethwe-bridge", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "on", + "highdma": "on", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "off [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "on", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "on", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "on", + "scatter_gather": "on", + "tcp_segmentation_offload": "on", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "on", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "on", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "off [fixed]", + "tx_gre_csum_segmentation": "on", + "tx_gre_segmentation": "on", + "tx_gso_partial": "off [fixed]", + "tx_gso_robust": "off [fixed]", + "tx_ipxip4_segmentation": "on", + "tx_ipxip6_segmentation": "on", + "tx_lockless": "on [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "on", + "tx_scatter_gather_fraglist": "on", + "tx_sctp_segmentation": "on", + "tx_tcp6_segmentation": "on", + "tx_tcp_ecn_segmentation": "on", + "tx_tcp_mangleid_segmentation": "on", + "tx_tcp_segmentation": "on", + "tx_udp_tnl_csum_segmentation": "on", + "tx_udp_tnl_segmentation": "on", + "tx_vlan_offload": "on", + "tx_vlan_stag_hw_insert": "on", + "udp_fragmentation_offload": "on", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "ipv4": { + "address": "169.254.56.231", + "broadcast": "169.254.255.255", + "netmask": "255.255.0.0", + "network": "169.254.0.0" + }, + "ipv6": [ + { + "address": "fe80::a87f:84ff:fe67:ee52", + "prefix": "64", + "scope": "link" + } + ], + "macaddress": "aa:7f:84:67:ee:52", + "mtu": 1376, + "promisc": true, + "speed": 10000, + "timestamping": [ + "rx_software", + "software" + ], + "type": "ether" + }, + "ansible_vethwe_datapath": { + "active": true, + "device": "vethwe-datapath", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "on", + "highdma": "on", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "off [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "on", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "on", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "on", + "scatter_gather": "on", + "tcp_segmentation_offload": "on", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "on", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "on", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "off [fixed]", + "tx_gre_csum_segmentation": "on", + "tx_gre_segmentation": "on", + "tx_gso_partial": "off [fixed]", + "tx_gso_robust": "off [fixed]", + "tx_ipxip4_segmentation": "on", + "tx_ipxip6_segmentation": "on", + "tx_lockless": "on [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "on", + "tx_scatter_gather_fraglist": "on", + "tx_sctp_segmentation": "on", + "tx_tcp6_segmentation": "on", + "tx_tcp_ecn_segmentation": "on", + "tx_tcp_mangleid_segmentation": "on", + "tx_tcp_segmentation": "on", + "tx_udp_tnl_csum_segmentation": "on", + "tx_udp_tnl_segmentation": "on", + "tx_vlan_offload": "on", + "tx_vlan_stag_hw_insert": "on", + "udp_fragmentation_offload": "on", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "ipv4": { + "address": "169.254.176.36", + "broadcast": "169.254.255.255", + "netmask": "255.255.0.0", + "network": "169.254.0.0" + }, + "ipv6": [ + { + "address": "fe80::a4dd:3ff:fe82:a677", + "prefix": "64", + "scope": "link" + } + ], + "macaddress": "a6:dd:03:82:a6:77", + "mtu": 1376, + "promisc": true, + "speed": 10000, + "timestamping": [ + "rx_software", + "software" + ], + "type": "ether" + }, + "ansible_vethwepl885ea3c": { + "active": true, + "device": "vethwepl885ea3c", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "on", + "highdma": "on", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "off [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "on", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "on", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "on", + "scatter_gather": "on", + "tcp_segmentation_offload": "on", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "on", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "on", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "off [fixed]", + "tx_gre_csum_segmentation": "on", + "tx_gre_segmentation": "on", + "tx_gso_partial": "off [fixed]", + "tx_gso_robust": "off [fixed]", + "tx_ipxip4_segmentation": "on", + "tx_ipxip6_segmentation": "on", + "tx_lockless": "on [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "on", + "tx_scatter_gather_fraglist": "on", + "tx_sctp_segmentation": "on", + "tx_tcp6_segmentation": "on", + "tx_tcp_ecn_segmentation": "on", + "tx_tcp_mangleid_segmentation": "on", + "tx_tcp_segmentation": "on", + "tx_udp_tnl_csum_segmentation": "on", + "tx_udp_tnl_segmentation": "on", + "tx_vlan_offload": "on", + "tx_vlan_stag_hw_insert": "on", + "udp_fragmentation_offload": "on", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "ipv4": { + "address": "169.254.134.5", + "broadcast": "169.254.255.255", + "netmask": "255.255.0.0", + "network": "169.254.0.0" + }, + "ipv6": [ + { + "address": "fe80::bca6:7bb5:82bc:3297", + "prefix": "64", + "scope": "link" + } + ], + "macaddress": "22:aa:8d:93:d2:01", + "mtu": 1376, + "promisc": true, + "speed": 10000, + "timestamping": [ + "rx_software", + "software" + ], + "type": "ether" + }, + "ansible_vethwepl9bebc3a": { + "active": true, + "device": "vethwepl9bebc3a", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "on", + "highdma": "on", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "off [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "on", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "on", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "on", + "scatter_gather": "on", + "tcp_segmentation_offload": "on", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "on", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "on", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "off [fixed]", + "tx_gre_csum_segmentation": "on", + "tx_gre_segmentation": "on", + "tx_gso_partial": "off [fixed]", + "tx_gso_robust": "off [fixed]", + "tx_ipxip4_segmentation": "on", + "tx_ipxip6_segmentation": "on", + "tx_lockless": "on [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "on", + "tx_scatter_gather_fraglist": "on", + "tx_sctp_segmentation": "on", + "tx_tcp6_segmentation": "on", + "tx_tcp_ecn_segmentation": "on", + "tx_tcp_mangleid_segmentation": "on", + "tx_tcp_segmentation": "on", + "tx_udp_tnl_csum_segmentation": "on", + "tx_udp_tnl_segmentation": "on", + "tx_vlan_offload": "on", + "tx_vlan_stag_hw_insert": "on", + "udp_fragmentation_offload": "on", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "ipv4": { + "address": "169.254.96.145", + "broadcast": "169.254.255.255", + "netmask": "255.255.0.0", + "network": "169.254.0.0" + }, + "ipv6": [ + { + "address": "fe80::257f:fcbc:10b1:fb08", + "prefix": "64", + "scope": "link" + } + ], + "macaddress": "aa:90:1f:b0:a0:8b", + "mtu": 1376, + "promisc": true, + "speed": 10000, + "timestamping": [ + "rx_software", + "software" + ], + "type": "ether" + }, + "ansible_virtualization_role": "NA", + "ansible_virtualization_type": "NA", + "ansible_vxlan_6784": { + "active": true, + "device": "vxlan-6784", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "on", + "highdma": "off [fixed]", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "off [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "on", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "off [fixed]", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "off [fixed]", + "scatter_gather": "on", + "tcp_segmentation_offload": "on", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "on", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "off [fixed]", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "off [fixed]", + "tx_gre_csum_segmentation": "off [fixed]", + "tx_gre_segmentation": "off [fixed]", + "tx_gso_partial": "off [fixed]", + "tx_gso_robust": "off [fixed]", + "tx_ipxip4_segmentation": "off [fixed]", + "tx_ipxip6_segmentation": "off [fixed]", + "tx_lockless": "on [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "on", + "tx_scatter_gather_fraglist": "off [fixed]", + "tx_sctp_segmentation": "on", + "tx_tcp6_segmentation": "on", + "tx_tcp_ecn_segmentation": "on", + "tx_tcp_mangleid_segmentation": "on", + "tx_tcp_segmentation": "on", + "tx_udp_tnl_csum_segmentation": "off [fixed]", + "tx_udp_tnl_segmentation": "off [fixed]", + "tx_vlan_offload": "on", + "tx_vlan_stag_hw_insert": "on", + "udp_fragmentation_offload": "on", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "ipv6": [ + { + "address": "fe80::a4ba:1eff:fefe:ae85", + "prefix": "64", + "scope": "link" + } + ], + "macaddress": "a6:ba:1e:fe:ae:85", + "mtu": 65485, + "promisc": true, + "timestamping": [ + "rx_software", + "software" + ], + "type": "ether" + }, + "ansible_weave": { + "active": true, + "device": "weave", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "on", + "highdma": "on", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "on [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "off [fixed]", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "off [fixed]", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "off [fixed]", + "scatter_gather": "on", + "tcp_segmentation_offload": "on", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "on", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "off [fixed]", + "tx_checksumming": "on", + "tx_fcoe_segmentation": "off [requested on]", + "tx_gre_csum_segmentation": "on", + "tx_gre_segmentation": "on", + "tx_gso_partial": "on", + "tx_gso_robust": "off [requested on]", + "tx_ipxip4_segmentation": "on", + "tx_ipxip6_segmentation": "on", + "tx_lockless": "on [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "on", + "tx_scatter_gather_fraglist": "on", + "tx_sctp_segmentation": "on", + "tx_tcp6_segmentation": "on", + "tx_tcp_ecn_segmentation": "on", + "tx_tcp_mangleid_segmentation": "on", + "tx_tcp_segmentation": "on", + "tx_udp_tnl_csum_segmentation": "on", + "tx_udp_tnl_segmentation": "on", + "tx_vlan_offload": "on", + "tx_vlan_stag_hw_insert": "on", + "udp_fragmentation_offload": "on", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "id": "8000.4ad57808b556", + "interfaces": [ + "vethwepl885ea3c", + "vethwe-bridge", + "vethwepl9bebc3a" + ], + "ipv4": { + "address": "10.32.0.1", + "broadcast": "global", + "netmask": "255.240.0.0", + "network": "10.32.0.0" + }, + "macaddress": "4a:d5:78:08:b5:56", + "mtu": 1376, + "promisc": false, + "stp": false, + "timestamping": [ + "rx_software", + "software" + ], + "type": "bridge" + }, + "ansible_wlan0": { + "active": true, + "device": "wlan0", + "features": { + "busy_poll": "off [fixed]", + "fcoe_mtu": "off [fixed]", + "generic_receive_offload": "on", + "generic_segmentation_offload": "off [requested on]", + "highdma": "off [fixed]", + "hw_tc_offload": "off [fixed]", + "l2_fwd_offload": "off [fixed]", + "large_receive_offload": "off [fixed]", + "loopback": "off [fixed]", + "netns_local": "on [fixed]", + "ntuple_filters": "off [fixed]", + "receive_hashing": "off [fixed]", + "rx_all": "off [fixed]", + "rx_checksumming": "off [fixed]", + "rx_fcs": "off [fixed]", + "rx_vlan_filter": "off [fixed]", + "rx_vlan_offload": "off [fixed]", + "rx_vlan_stag_filter": "off [fixed]", + "rx_vlan_stag_hw_parse": "off [fixed]", + "scatter_gather": "off", + "tcp_segmentation_offload": "off", + "tx_checksum_fcoe_crc": "off [fixed]", + "tx_checksum_ip_generic": "off [fixed]", + "tx_checksum_ipv4": "off [fixed]", + "tx_checksum_ipv6": "off [fixed]", + "tx_checksum_sctp": "off [fixed]", + "tx_checksumming": "off", + "tx_fcoe_segmentation": "off [fixed]", + "tx_gre_csum_segmentation": "off [fixed]", + "tx_gre_segmentation": "off [fixed]", + "tx_gso_partial": "off [fixed]", + "tx_gso_robust": "off [fixed]", + "tx_ipxip4_segmentation": "off [fixed]", + "tx_ipxip6_segmentation": "off [fixed]", + "tx_lockless": "off [fixed]", + "tx_nocache_copy": "off", + "tx_scatter_gather": "off [fixed]", + "tx_scatter_gather_fraglist": "off [fixed]", + "tx_sctp_segmentation": "off [fixed]", + "tx_tcp6_segmentation": "off [fixed]", + "tx_tcp_ecn_segmentation": "off [fixed]", + "tx_tcp_mangleid_segmentation": "off [fixed]", + "tx_tcp_segmentation": "off [fixed]", + "tx_udp_tnl_csum_segmentation": "off [fixed]", + "tx_udp_tnl_segmentation": "off [fixed]", + "tx_vlan_offload": "off [fixed]", + "tx_vlan_stag_hw_insert": "off [fixed]", + "udp_fragmentation_offload": "off [fixed]", + "vlan_challenged": "off [fixed]" + }, + "hw_timestamp_filters": [], + "ipv4": { + "address": "192.168.86.200", + "broadcast": "192.168.86.255", + "netmask": "255.255.255.0", + "network": "192.168.86.0" + }, + "ipv6": [ + { + "address": "fe80::4c3b:7f9:78fb:736f", + "prefix": "64", + "scope": "link" + } + ], + "macaddress": "b8:27:eb:c4:e3:5d", + "module": "brcmfmac", + "mtu": 1500, + "pciid": "mmc1:0001:1", + "promisc": false, + "timestamping": [ + "rx_software", + "software" + ], + "type": "ether" + }, + "gather_subset": [ + "all" + ], + "module_setup": true +} \ No newline at end of file diff --git a/.cp/.gitkeep b/.cp/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.log/.gitkeep b/.log/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.log/ansible.log b/.log/ansible.log new file mode 100644 index 0000000..58235d6 --- /dev/null +++ b/.log/ansible.log @@ -0,0 +1,63 @@ +2018-01-12 20:41:13,930 p=11818 u=cshort | - dashboard was created successfully +2018-01-12 20:55:37,360 p=12488 u=cshort | PLAY [master] ****************************************************************************************************************************************** +2018-01-12 20:55:37,594 p=12488 u=cshort | TASK [Gathering Facts] ********************************************************************************************************************************* +2018-01-12 20:55:38,275 p=12488 u=cshort | fatal: [pik8s000]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be sent to remote host \"192.168.86.200\". Make sure this host can be reached over ssh", "unreachable": true} +2018-01-12 20:55:38,277 p=12488 u=cshort | PLAY RECAP ********************************************************************************************************************************************* +2018-01-12 20:55:38,277 p=12488 u=cshort | pik8s000 : ok=0 changed=0 unreachable=1 failed=0 +2018-01-12 20:56:12,647 p=12499 u=cshort | PLAY [master] ****************************************************************************************************************************************** +2018-01-12 20:56:12,679 p=12499 u=cshort | TASK [Gathering Facts] ********************************************************************************************************************************* +2018-01-12 20:56:16,837 p=12499 u=cshort | ok: [pik8s000] +2018-01-12 20:56:16,846 p=12499 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** +2018-01-12 20:56:17,669 p=12499 u=cshort | skipping: [pik8s000] +2018-01-12 20:56:17,685 p=12499 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** +2018-01-12 20:56:17,726 p=12499 u=cshort | skipping: [pik8s000] +2018-01-12 20:56:17,728 p=12499 u=cshort | PLAY RECAP ********************************************************************************************************************************************* +2018-01-12 20:56:17,728 p=12499 u=cshort | pik8s000 : ok=1 changed=0 unreachable=0 failed=0 +2018-01-12 20:56:22,187 p=12513 u=cshort | PLAY [master] ****************************************************************************************************************************************** +2018-01-12 20:56:22,227 p=12513 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** +2018-01-12 20:56:26,578 p=12513 u=cshort | changed: [pik8s000] +2018-01-12 20:56:26,589 p=12513 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** +2018-01-12 20:56:27,477 p=12513 u=cshort | changed: [pik8s000] +2018-01-12 20:56:27,480 p=12513 u=cshort | PLAY RECAP ********************************************************************************************************************************************* +2018-01-12 20:56:27,481 p=12513 u=cshort | pik8s000 : ok=2 changed=2 unreachable=0 failed=0 +2018-01-12 21:18:09,926 p=12859 u=cshort | PLAY [master] ****************************************************************************************************************************************** +2018-01-12 21:18:10,022 p=12859 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** +2018-01-12 21:18:14,019 p=12859 u=cshort | fatal: [pik8s000]: FAILED! => {"changed": true, "cmd": "kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml", "delta": "0:00:02.639921", "end": "2018-01-12 21:18:13.930595", "msg": "non-zero return code", "rc": 1, "start": "2018-01-12 21:18:11.290674", "stderr": "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": secrets \"kubernetes-dashboard-certs\" already exists\nError from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": serviceaccounts \"kubernetes-dashboard\" already exists\nError from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": roles.rbac.authorization.k8s.io \"kubernetes-dashboard-minimal\" already exists\nError from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": rolebindings.rbac.authorization.k8s.io \"kubernetes-dashboard-minimal\" already exists\nError from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": deployments.apps \"kubernetes-dashboard\" already exists\nError from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": services \"kubernetes-dashboard\" already exists", "stderr_lines": ["Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": secrets \"kubernetes-dashboard-certs\" already exists", "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": serviceaccounts \"kubernetes-dashboard\" already exists", "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": roles.rbac.authorization.k8s.io \"kubernetes-dashboard-minimal\" already exists", "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": rolebindings.rbac.authorization.k8s.io \"kubernetes-dashboard-minimal\" already exists", "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": deployments.apps \"kubernetes-dashboard\" already exists", "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": services \"kubernetes-dashboard\" already exists"], "stdout": "", "stdout_lines": []} +2018-01-12 21:18:14,023 p=12859 u=cshort | PLAY RECAP ********************************************************************************************************************************************* +2018-01-12 21:18:14,023 p=12859 u=cshort | pik8s000 : ok=0 changed=0 unreachable=0 failed=1 +2018-01-12 21:43:56,061 p=12940 u=cshort | PLAY [master] ****************************************************************************************************************************************** +2018-01-12 21:43:56,127 p=12940 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** +2018-01-12 21:44:02,217 p=12940 u=cshort | changed: [pik8s000] +2018-01-12 21:44:02,230 p=12940 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** +2018-01-12 21:44:03,028 p=12940 u=cshort | ok: [pik8s000] +2018-01-12 21:44:03,031 p=12940 u=cshort | PLAY RECAP ********************************************************************************************************************************************* +2018-01-12 21:44:03,032 p=12940 u=cshort | pik8s000 : ok=2 changed=1 unreachable=0 failed=0 +2018-01-15 10:45:44,546 p=20275 u=cshort | PLAY [master] ****************************************************************************************************************************************** +2018-01-15 10:45:44,609 p=20275 u=cshort | TASK [Gathering Facts] ********************************************************************************************************************************* +2018-01-15 10:45:48,693 p=20275 u=cshort | ok: [pik8s000] +2018-01-15 10:45:48,706 p=20275 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** +2018-01-15 10:45:53,565 p=20275 u=cshort | changed: [pik8s000] +2018-01-15 10:45:53,575 p=20275 u=cshort | TASK [dashboard : Configure Dashboard Access] ********************************************************************************************************** +2018-01-15 10:45:56,661 p=20275 u=cshort | changed: [pik8s000] +2018-01-15 10:45:56,672 p=20275 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** +2018-01-15 10:45:57,499 p=20275 u=cshort | ok: [pik8s000] +2018-01-15 10:45:57,502 p=20275 u=cshort | PLAY RECAP ********************************************************************************************************************************************* +2018-01-15 10:45:57,502 p=20275 u=cshort | pik8s000 : ok=4 changed=2 unreachable=0 failed=0 +2018-01-15 13:52:03,596 p=21471 u=cshort | PLAY [master] ****************************************************************************************************************************************** +2018-01-15 13:52:03,782 p=21471 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** +2018-01-15 13:52:08,530 p=21471 u=cshort | changed: [pik8s000] +2018-01-15 13:52:08,540 p=21471 u=cshort | TASK [dashboard : Configure Dashboard Access] ********************************************************************************************************** +2018-01-15 13:52:11,446 p=21471 u=cshort | changed: [pik8s000] +2018-01-15 13:52:11,460 p=21471 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** +2018-01-15 13:52:12,452 p=21471 u=cshort | ok: [pik8s000] +2018-01-15 13:52:12,455 p=21471 u=cshort | PLAY RECAP ********************************************************************************************************************************************* +2018-01-15 13:52:12,455 p=21471 u=cshort | pik8s000 : ok=3 changed=2 unreachable=0 failed=0 +2018-01-15 13:53:07,039 p=21510 u=cshort | PLAY [master] ****************************************************************************************************************************************** +2018-01-15 13:53:07,105 p=21510 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** +2018-01-15 13:53:10,574 p=21510 u=cshort | changed: [pik8s000] +2018-01-15 13:53:10,591 p=21510 u=cshort | TASK [dashboard : Configure Dashboard Access] ********************************************************************************************************** +2018-01-15 13:53:13,554 p=21510 u=cshort | changed: [pik8s000] +2018-01-15 13:53:13,566 p=21510 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** +2018-01-15 13:53:14,481 p=21510 u=cshort | ok: [pik8s000] +2018-01-15 13:53:14,485 p=21510 u=cshort | PLAY RECAP ********************************************************************************************************************************************* +2018-01-15 13:53:14,485 p=21510 u=cshort | pik8s000 : ok=3 changed=2 unreachable=0 failed=0 diff --git a/README.md b/README.md new file mode 100644 index 0000000..9bed9d2 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# rak8s (pronounced rackets - /ˈrækɪts/) + +## Stand up a Raspberry Pi based Kubernetes cluster with Ansible + +### Why? + +Because Raspberry Pis are rad, Ansible is awesome, and Kubernetes is a killer app! Also, it's cheaper than a year of GKE. + +### Prerequisites + +* Raspberry Pi 3 (3 or more) +* [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) +* Raspberry Pis should have static IPs (requirement for Kubernetes and Ansible inventory) +* Ability to SSH into all Raspberry Pis and escalate privileges with sudo + * The pi user is fine just change its password +* [Ansible](http://docs.ansible.com/ansible/latest/intro_installation.html) 2.2 or higher + +### Recommendations + +* Since Raspbian Lite is being used it's recommended that the video memory of the Raspberry Pi 3s be set to its lowest setting (16 MB). + +### References & Credits + +These playbooks were assembled using a handful of very helpful guides: + +* [K8s on (vanilla) Raspbian Lite](https://gist.github.com/alexellis/fdbc90de7691a1b9edb545c17da2d975) by [Alex Ellis](https://www.alexellis.io/) +* [Installing kubeadm](https://kubernetes.io/docs/setup/independent/install-kubeadm/) +* [kubernetes/dashboard - Access control - Admin privileges](https://github.com/kubernetes/dashboard/wiki/Access-control#admin-privileges) +* [Install using the convenience script](https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-convenience-script) + +A very special thanks to [**Alex Ellis**](https://www.alexellis.io/) and the [OpenFaaS](https://www.openfaas.com/) community for their assitance in answering questions and making sense of some errors. \ No newline at end of file diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..043249d --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,24 @@ +# http://docs.ansible.com/intro_configuration.html + +[defaults] +callback_plugins = callback_plugins +fact_caching = jsonfile +fact_caching_connection = .cache/ +fact_caching_timeout = 14400 +force_color = 1 +gathering = smart +host_key_checking = False +http_user_agent = ansible-agent +inventory = inventory +log_path = .log/ansible.log +remote_user = pi +retry_files_enabled = False + +[privilege_escalation] +become = True + +[ssh_connection] +ssh_args = -o ControlMaster=auto -o ControlPersist=60s +control_path = %(directory)s/ansible-ssh-%%h-%%p-%%r +control_path_dir = .cp +pipelining = True \ No newline at end of file diff --git a/cluster.yml b/cluster.yml new file mode 100644 index 0000000..b376f55 --- /dev/null +++ b/cluster.yml @@ -0,0 +1,13 @@ +- hosts: all + roles: + - common + - kubeadm + +- hosts: master + roles: + - master + - dashboard + +- hosts: all:!master + roles: + - workers \ No newline at end of file diff --git a/group_vars/all.yml b/group_vars/all.yml new file mode 100644 index 0000000..78ee36d --- /dev/null +++ b/group_vars/all.yml @@ -0,0 +1,2 @@ +token: udy29x.ugyyk3tumg27atmr +podnet: 10.244.0.0/16 \ No newline at end of file diff --git a/inventory b/inventory new file mode 100644 index 0000000..a91ef35 --- /dev/null +++ b/inventory @@ -0,0 +1,9 @@ +pik8s000 ansible_host=192.168.86.200 +pik8s001 ansible_host=192.168.86.201 +pik8s002 ansible_host=192.168.86.202 +pik8s003 ansible_host=192.168.86.203 +pik8s004 ansible_host=192.168.86.204 +pik8s005 ansible_host=192.168.86.205 + +[master] +pik8s000 \ No newline at end of file diff --git a/roles/common/files/cmdline.txt b/roles/common/files/cmdline.txt new file mode 100644 index 0000000..45d9849 --- /dev/null +++ b/roles/common/files/cmdline.txt @@ -0,0 +1 @@ +dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait cgroup_enable=cpuset cgroup_enable=memory \ No newline at end of file diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml new file mode 100644 index 0000000..f7585b7 --- /dev/null +++ b/roles/common/tasks/main.yml @@ -0,0 +1,52 @@ +--- +# tasks file for common +- name: Enabling cgroup options at boot + copy: + src: cmdline.txt + dest: /boot/cmdline.txt + owner: root + group: root + mode: 0755 + register: cmdline + tags: + - boot + +- name: Pass bridged IPv4 traffic to iptables' chains + sysctl: + name: net.bridge.bridge-nf-call-iptables + value: 1 + state: present + +- name: apt-get update + apt: + update_cache=yes + autoclean=yes + autoremove=yes + cache_valid_time=86400 + +- name: apt-get upgrade + apt: + upgrade=full + +- name: Reboot + shell: sleep 2 && shutdown -r now "Ansible Reboot for /boot/cmdline.txt Change" + async: 1 + poll: 0 + ignore_errors: True + when: cmdline|changed + tags: + - boot + - shutdown + +- name: Wait for Reboot + local_action: wait_for + args: + host: "{{ inventory_hostname }}" + port: 22 + delay: 15 + timeout: 90 + become: False + when: cmdline|changed + tags: + - boot + - shutdown \ No newline at end of file diff --git a/roles/dashboard/files/dashboard-admin.yaml b/roles/dashboard/files/dashboard-admin.yaml new file mode 100644 index 0000000..b07f42c --- /dev/null +++ b/roles/dashboard/files/dashboard-admin.yaml @@ -0,0 +1,15 @@ +# Doc: https://github.com/kubernetes/dashboard/wiki/Access-control#admin-privileges +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRoleBinding +metadata: + name: kubernetes-dashboard + labels: + k8s-app: kubernetes-dashboard +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: +- kind: ServiceAccount + name: kubernetes-dashboard + namespace: kube-system \ No newline at end of file diff --git a/roles/dashboard/tasks/main.yml b/roles/dashboard/tasks/main.yml new file mode 100644 index 0000000..bf5c674 --- /dev/null +++ b/roles/dashboard/tasks/main.yml @@ -0,0 +1,13 @@ +--- +# tasks file for dashboard +- name: Install k8s Dashboard + shell: kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard-arm.yaml + +- name: Configure Dashboard Access + shell: kubectl apply -f https://raw.githubusercontent.com/chris-short/pik8s/master/roles/dashboard/files/dashboard-admin.yaml + +- name: Fetch kubeconfig file + fetch: + src: /root/.kube/config + dest: ~/.kube/config + flat: yes diff --git a/roles/kubeadm/files/get-docker.sh b/roles/kubeadm/files/get-docker.sh new file mode 100644 index 0000000..b3c84ef --- /dev/null +++ b/roles/kubeadm/files/get-docker.sh @@ -0,0 +1,440 @@ +#!/bin/sh +set -e + +# This script is meant for quick & easy install via: +# $ curl -fsSL get.docker.com -o get-docker.sh +# $ sh get-docker.sh +# +# For test builds (ie. release candidates): +# $ curl -fsSL test.docker.com -o test-docker.sh +# $ sh test-docker.sh +# +# NOTE: Make sure to verify the contents of the script +# you downloaded matches the contents of install.sh +# located at https://github.com/docker/docker-install +# before executing. +# +# Git commit from https://github.com/docker/docker-install when +# the script was uploaded (Should only be modified by upload job): +SCRIPT_COMMIT_SHA=1d31602 + + +# This value will automatically get changed for: +# * edge +# * test +# * experimental +DEFAULT_CHANNEL_VALUE="edge" +if [ -z "$CHANNEL" ]; then + CHANNEL=$DEFAULT_CHANNEL_VALUE +fi + +DOWNLOAD_URL="https://download.docker.com" + +SUPPORT_MAP=" +x86_64-centos-7 +x86_64-fedora-24 +x86_64-fedora-25 +x86_64-fedora-26 +x86_64-fedora-27 +x86_64-debian-wheezy +x86_64-debian-jessie +x86_64-debian-stretch +x86_64-debian-buster +x86_64-ubuntu-trusty +x86_64-ubuntu-xenial +x86_64-ubuntu-zesty +x86_64-ubuntu-artful +s390x-ubuntu-xenial +s390x-ubuntu-zesty +s390x-ubuntu-artful +ppc64le-ubuntu-xenial +ppc64le-ubuntu-zesty +ppc64le-ubuntu-artful +aarch64-ubuntu-xenial +aarch64-ubuntu-zesty +aarch64-debian-jessie +aarch64-debian-stretch +armv6l-raspbian-jessie +armv7l-raspbian-jessie +armv6l-raspbian-stretch +armv7l-raspbian-stretch +armv7l-debian-jessie +armv7l-debian-stretch +armv7l-debian-buster +armv7l-ubuntu-trusty +armv7l-ubuntu-xenial +armv7l-ubuntu-zesty +armv7l-ubuntu-artful +" + +mirror='' +DRY_RUN=${DRY_RUN:-} +while [ $# -gt 0 ]; do + case "$1" in + --mirror) + mirror="$2" + shift + ;; + --dry-run) + DRY_RUN=1 + ;; + --*) + echo "Illegal option $1" + ;; + esac + shift $(( $# > 0 ? 1 : 0 )) +done + +case "$mirror" in + Aliyun) + DOWNLOAD_URL="https://mirrors.aliyun.com/docker-ce" + ;; + AzureChinaCloud) + DOWNLOAD_URL="https://mirror.azure.cn/docker-ce" + ;; +esac + +command_exists() { + command -v "$@" > /dev/null 2>&1 +} + +is_dry_run() { + if [ -z "$DRY_RUN" ]; then + return 1 + else + return 0 + fi +} + +get_distribution() { + lsb_dist="" + # Every system that we officially support has /etc/os-release + if [ -r /etc/os-release ]; then + lsb_dist="$(. /etc/os-release && echo "$ID")" + fi + # Returning an empty string here should be alright since the + # case statements don't act unless you provide an actual value + echo "$lsb_dist" +} + +add_debian_backport_repo() { + debian_version="$1" + backports="deb http://ftp.debian.org/debian $debian_version-backports main" + if ! grep -Fxq "$backports" /etc/apt/sources.list; then + (set -x; $sh_c "echo \"$backports\" >> /etc/apt/sources.list") + fi +} + +echo_docker_as_nonroot() { + if is_dry_run; then + return + fi + if command_exists docker && [ -e /var/run/docker.sock ]; then + ( + set -x + $sh_c 'docker version' + ) || true + fi + your_user=your-user + [ "$user" != 'root' ] && your_user="$user" + # intentionally mixed spaces and tabs here -- tabs are stripped by "<<-EOF", spaces are kept in the output + echo "If you would like to use Docker as a non-root user, you should now consider" + echo "adding your user to the \"docker\" group with something like:" + echo + echo " sudo usermod -aG docker $your_user" + echo + echo "Remember that you will have to log out and back in for this to take effect!" + echo + echo "WARNING: Adding a user to the \"docker\" group will grant the ability to run" + echo " containers which can be used to obtain root privileges on the" + echo " docker host." + echo " Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface" + echo " for more information." + +} + +# Check if this is a forked Linux distro +check_forked() { + + # Check for lsb_release command existence, it usually exists in forked distros + if command_exists lsb_release; then + # Check if the `-u` option is supported + set +e + lsb_release -a -u > /dev/null 2>&1 + lsb_release_exit_code=$? + set -e + + # Check if the command has exited successfully, it means we're in a forked distro + if [ "$lsb_release_exit_code" = "0" ]; then + # Print info about current distro + cat <<-EOF + You're using '$lsb_dist' version '$dist_version'. + EOF + + # Get the upstream release info + lsb_dist=$(lsb_release -a -u 2>&1 | tr '[:upper:]' '[:lower:]' | grep -E 'id' | cut -d ':' -f 2 | tr -d '[:space:]') + dist_version=$(lsb_release -a -u 2>&1 | tr '[:upper:]' '[:lower:]' | grep -E 'codename' | cut -d ':' -f 2 | tr -d '[:space:]') + + # Print info about upstream distro + cat <<-EOF + Upstream release is '$lsb_dist' version '$dist_version'. + EOF + else + if [ -r /etc/debian_version ] && [ "$lsb_dist" != "ubuntu" ] && [ "$lsb_dist" != "raspbian" ]; then + # We're Debian and don't even know it! + lsb_dist=debian + dist_version="$(sed 's/\/.*//' /etc/debian_version | sed 's/\..*//')" + case "$dist_version" in + 9) + dist_version="stretch" + ;; + 8|'Kali Linux 2') + dist_version="jessie" + ;; + 7) + dist_version="wheezy" + ;; + esac + fi + fi + fi +} + +semverParse() { + major="${1%%.*}" + minor="${1#$major.}" + minor="${minor%%.*}" + patch="${1#$major.$minor.}" + patch="${patch%%[-.]*}" +} + +ee_notice() { + echo + echo + echo " WARNING: $1 is now only supported by Docker EE" + echo " Check https://store.docker.com for information on Docker EE" + echo + echo +} + +do_install() { + echo "# Executing docker install script, commit: $SCRIPT_COMMIT_SHA" + + if command_exists docker; then + version="$(docker -v | cut -d ' ' -f3 | cut -d ',' -f1)" + MAJOR_W=1 + MINOR_W=10 + + semverParse "$version" + + shouldWarn=0 + if [ "$major" -lt "$MAJOR_W" ]; then + shouldWarn=1 + fi + + if [ "$major" -le "$MAJOR_W" ] && [ "$minor" -lt "$MINOR_W" ]; then + shouldWarn=1 + fi + + cat >&2 <<-'EOF' + Warning: the "docker" command appears to already exist on this system. + + If you already have Docker installed, this script can cause trouble, which is + why we're displaying this warning and provide the opportunity to cancel the + installation. + + If you installed the current Docker package using this script and are using it + EOF + + if [ $shouldWarn -eq 1 ]; then + cat >&2 <<-'EOF' + again to update Docker, we urge you to migrate your image store before upgrading + to v1.10+. + + You can find instructions for this here: + https://github.com/docker/docker/wiki/Engine-v1.10.0-content-addressability-migration + EOF + else + cat >&2 <<-'EOF' + again to update Docker, you can safely ignore this message. + EOF + fi + + cat >&2 <<-'EOF' + + You may press Ctrl+C now to abort this script. + EOF + ( set -x; sleep 20 ) + fi + + user="$(id -un 2>/dev/null || true)" + + sh_c='sh -c' + if [ "$user" != 'root' ]; then + if command_exists sudo; then + sh_c='sudo -E sh -c' + elif command_exists su; then + sh_c='su -c' + else + cat >&2 <<-'EOF' + Error: this installer needs the ability to run commands as root. + We are unable to find either "sudo" or "su" available to make this happen. + EOF + exit 1 + fi + fi + + if is_dry_run; then + sh_c="echo" + fi + + # perform some very rudimentary platform detection + lsb_dist=$( get_distribution ) + lsb_dist="$(echo "$lsb_dist" | tr '[:upper:]' '[:lower:]')" + + case "$lsb_dist" in + + ubuntu) + if command_exists lsb_release; then + dist_version="$(lsb_release --codename | cut -f2)" + fi + if [ -z "$dist_version" ] && [ -r /etc/lsb-release ]; then + dist_version="$(. /etc/lsb-release && echo "$DISTRIB_CODENAME")" + fi + ;; + + debian|raspbian) + dist_version="$(sed 's/\/.*//' /etc/debian_version | sed 's/\..*//')" + case "$dist_version" in + 9) + dist_version="stretch" + ;; + 8) + dist_version="jessie" + ;; + 7) + dist_version="wheezy" + ;; + esac + ;; + + centos) + if [ -z "$dist_version" ] && [ -r /etc/os-release ]; then + dist_version="$(. /etc/os-release && echo "$VERSION_ID")" + fi + ;; + + rhel|ol|sles) + ee_notice "$lsb_dist" + exit 1 + ;; + + *) + if command_exists lsb_release; then + dist_version="$(lsb_release --release | cut -f2)" + fi + if [ -z "$dist_version" ] && [ -r /etc/os-release ]; then + dist_version="$(. /etc/os-release && echo "$VERSION_ID")" + fi + ;; + + esac + + # Check if this is a forked Linux distro + check_forked + + # Check if we actually support this configuration + if ! echo "$SUPPORT_MAP" | grep "$(uname -m)-$lsb_dist-$dist_version" >/dev/null; then + cat >&2 <<-'EOF' + + Either your platform is not easily detectable or is not supported by this + installer script. + Please visit the following URL for more detailed installation instructions: + + https://docs.docker.com/engine/installation/ + + EOF + exit 1 + fi + + # Run setup for each distro accordingly + case "$lsb_dist" in + ubuntu|debian|raspbian) + pre_reqs="apt-transport-https ca-certificates curl" + if [ "$lsb_dist" = "debian" ]; then + if [ "$dist_version" = "wheezy" ]; then + add_debian_backport_repo "$dist_version" + fi + # libseccomp2 does not exist for debian jessie main repos for aarch64 + if [ "$(uname -m)" = "aarch64" ] && [ "$dist_version" = "jessie" ]; then + add_debian_backport_repo "$dist_version" + fi + fi + if ! command -v gpg > /dev/null; then + pre_reqs="$pre_reqs gnupg" + fi + apt_repo="deb [arch=$(dpkg --print-architecture)] $DOWNLOAD_URL/linux/$lsb_dist $dist_version $CHANNEL" + ( + if ! is_dry_run; then + set -x + fi + $sh_c 'apt-get update -qq >/dev/null' + $sh_c "apt-get install -y -qq $pre_reqs >/dev/null" + $sh_c "curl -fsSL \"$DOWNLOAD_URL/linux/$lsb_dist/gpg\" | apt-key add -qq - >/dev/null" + $sh_c "echo \"$apt_repo\" > /etc/apt/sources.list.d/docker.list" + if [ "$lsb_dist" = "debian" ] && [ "$dist_version" = "wheezy" ]; then + $sh_c 'sed -i "/deb-src.*download\.docker/d" /etc/apt/sources.list.d/docker.list' + fi + $sh_c 'apt-get update -qq >/dev/null' + $sh_c 'apt-get install -y -qq --no-install-recommends docker-ce >/dev/null' + ) + echo_docker_as_nonroot + exit 0 + ;; + centos|fedora) + yum_repo="$DOWNLOAD_URL/linux/$lsb_dist/docker-ce.repo" + if [ "$lsb_dist" = "fedora" ]; then + if [ "$dist_version" = "24" ]; then + echo + echo "Warning: Fedora 24 has reached EOL" + echo " Support for Fedora 24 for this installation script will be removed on October 1, 2017" + echo + sleep 10 + fi + if [ "$dist_version" -lt "24" ]; then + echo "Error: Only Fedora >=24 are supported" + exit 1 + fi + pkg_manager="dnf" + config_manager="dnf config-manager" + enable_channel_flag="--set-enabled" + pre_reqs="dnf-plugins-core" + else + pkg_manager="yum" + config_manager="yum-config-manager" + enable_channel_flag="--enable" + pre_reqs="yum-utils" + fi + ( + if ! is_dry_run; then + set -x + fi + $sh_c "$pkg_manager install -y -q $pre_reqs" + $sh_c "$config_manager --add-repo $yum_repo" + + if [ "$CHANNEL" != "stable" ]; then + $sh_c "$config_manager $enable_channel_flag docker-ce-$CHANNEL" + fi + $sh_c "$pkg_manager makecache" + $sh_c "$pkg_manager install -y -q docker-ce" + ) + echo_docker_as_nonroot + exit 0 + ;; + esac + exit 1 +} + +# wrapped up in a function so that we have some protection against only getting +# half the file during "curl | sh" +do_install diff --git a/roles/kubeadm/tasks/main.yml b/roles/kubeadm/tasks/main.yml new file mode 100644 index 0000000..4c8c814 --- /dev/null +++ b/roles/kubeadm/tasks/main.yml @@ -0,0 +1,50 @@ +--- +# tasks file for kubeadm + +# https://gist.github.com/alexellis/fdbc90de7691a1b9edb545c17da2d975 +- name: Disable Swap + shell: dphys-swapfile swapoff && dphys-swapfile uninstall && update-rc.d dphys-swapfile remove + +# Docker Convenience Script Can Only Be Run Once +- name: Determine if docker is installed + stat: + path: /usr/bin/docker + register: docker_there + ignore_errors: True + +# https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-convenience-script +- name: Run Docker Install Script + script: files/get-docker.sh + when: docker_there.stat.exists == False + +# https://kubernetes.io/docs/setup/independent/install-kubeadm/ +- name: Install apt-transport-https + apt: + name: apt-transport-https + state: latest + +- name: Add Google Cloud Repo Key + shell: curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - + +- name: Add Kubernetes to Available apt Sources + template: + src: kubernetes.list + dest: /etc/apt/sources.list.d/kubernetes.list + owner: root + group: root + mode: 0644 + +- name: apt-get update + apt: + update_cache: yes + autoclean: yes + autoremove: yes + +- name: Install k8s Y'all + apt: + name: "{{ item }}" + state: latest + with_items: + - kubelet + - kubeadm + - kubectl \ No newline at end of file diff --git a/roles/kubeadm/templates/kubernetes.list b/roles/kubeadm/templates/kubernetes.list new file mode 100644 index 0000000..afbf3e6 --- /dev/null +++ b/roles/kubeadm/templates/kubernetes.list @@ -0,0 +1 @@ +deb http://apt.kubernetes.io/ kubernetes-xenial main \ No newline at end of file diff --git a/roles/master/tasks/main.yml b/roles/master/tasks/main.yml new file mode 100644 index 0000000..6ed7207 --- /dev/null +++ b/roles/master/tasks/main.yml @@ -0,0 +1,44 @@ +--- +# tasks file for master +- name: Reset Kubernetes Master + shell: kubeadm reset + register: kubeadm_reset + +- name: Initialize Master + shell: kubeadm init --apiserver-advertise-address={{ ansible_default_ipv4.address }} --token={{ token }} + register: kubeadm_init + when: kubeadm_reset|succeeded + +- name: Create Kubernetes config directory + file: + path: /root/.kube/ + state: directory + owner: root + group: root + mode: 0755 + +- name: Copy admin.conf to config directory + copy: + src: /etc/kubernetes/admin.conf + dest: /root/.kube/config + owner: root + group: root + mode: 0755 + remote_src: yes + when: kubeadm_init + +- name: Join Kubernetes Cluster + shell: kubeadm join --skip-preflight-checks --token {{ token }} {{ groups['master'][0] }}:6443 --discovery-token-unsafe-skip-ca-verification + when: kubeadm_reset|succeeded + register: kubeadm_join + +- name: Install Weave (Networking) + shell: kubectl apply -f https://git.io/weave-kube-1.6 + +- name: Poke kubelet + systemd: + name: kubelet + state: restarted + daemon_reload: yes + enabled: yes + register: kubelet_poke \ No newline at end of file diff --git a/roles/workers/tasks/main.yml b/roles/workers/tasks/main.yml new file mode 100644 index 0000000..d78e05c --- /dev/null +++ b/roles/workers/tasks/main.yml @@ -0,0 +1,18 @@ +--- +# tasks file for minions +- name: Reset Kubernetes + shell: kubeadm reset + register: kubeadm_reset + +- name: Join Kubernetes Cluster + shell: kubeadm join --skip-preflight-checks --token {{ token }} {{ groups['master'][0] }}:6443 --discovery-token-unsafe-skip-ca-verification + when: kubeadm_reset|succeeded + register: kubeadm_join + +- name: Poke kubelet + systemd: + name: kubelet + state: restarted + daemon_reload: yes + enabled: yes + register: kubelet_poke \ No newline at end of file From 89e1199ccbd24ba495789b79fcffcdae90010f57 Mon Sep 17 00:00:00 2001 From: Chris Short Date: Mon, 15 Jan 2018 17:47:06 -0500 Subject: [PATCH 2/3] Updating .gitignore Signed-off-by: Chris Short --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index e69de29..9047360 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +.log/* +.cache/* +.cp/* \ No newline at end of file From 22cad03f2d0fe03da1abed89a3f11e5cf684b0b5 Mon Sep 17 00:00:00 2001 From: Chris Short Date: Mon, 15 Jan 2018 17:52:36 -0500 Subject: [PATCH 3/3] removing ignorable files --- .cache/pik8s000 | 1847 ---------------------------------------------- .log/ansible.log | 63 -- 2 files changed, 1910 deletions(-) delete mode 100644 .cache/pik8s000 delete mode 100644 .log/ansible.log diff --git a/.cache/pik8s000 b/.cache/pik8s000 deleted file mode 100644 index 10bc7f2..0000000 --- a/.cache/pik8s000 +++ /dev/null @@ -1,1847 +0,0 @@ -{ - "ansible_all_ipv4_addresses": [ - "172.17.0.1", - "169.254.250.68", - "169.254.176.36", - "10.32.0.1", - "169.254.96.145", - "169.254.56.231", - "192.168.86.200", - "169.254.134.5" - ], - "ansible_all_ipv6_addresses": [ - "fe80::6c36:9778:e702:c7d3", - "fe80::a4dd:3ff:fe82:a677", - "fe80::a4ba:1eff:fefe:ae85", - "fe80::e1e8:9b85:2cdf:e9fc", - "fe80::257f:fcbc:10b1:fb08", - "fe80::a87f:84ff:fe67:ee52", - "fe80::4c3b:7f9:78fb:736f", - "fe80::bca6:7bb5:82bc:3297" - ], - "ansible_apparmor": { - "status": "disabled" - }, - "ansible_architecture": "armv7l", - "ansible_bios_date": "", - "ansible_bios_version": "", - "ansible_cmdline": { - "8250.nr_uarts": "0", - "bcm2708_fb.fbdepth": "16", - "bcm2708_fb.fbheight": "416", - "bcm2708_fb.fbswap": "1", - "bcm2708_fb.fbwidth": "656", - "cgroup_enable": "memory", - "console": "tty1", - "dwc_otg.lpm_enable": "0", - "elevator": "deadline", - "fsck.repair": "yes", - "root": "/dev/mmcblk0p2", - "rootfstype": "ext4", - "rootwait": true, - "vc_mem.mem_base": "0x3f000000", - "vc_mem.mem_size": "0x3f600000" - }, - "ansible_datapath": { - "active": true, - "device": "datapath", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "on [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "off [fixed]", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "off [fixed]", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "on", - "tx_gre_segmentation": "on", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "on", - "tx_ipxip6_segmentation": "on", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "on", - "tx_scatter_gather_fraglist": "on", - "tx_sctp_segmentation": "on", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_udp_tnl_csum_segmentation": "on", - "tx_udp_tnl_segmentation": "on", - "tx_vlan_offload": "on", - "tx_vlan_stag_hw_insert": "on", - "udp_fragmentation_offload": "on", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "ipv4": { - "address": "169.254.250.68", - "broadcast": "169.254.255.255", - "netmask": "255.255.0.0", - "network": "169.254.0.0" - }, - "ipv6": [ - { - "address": "fe80::6c36:9778:e702:c7d3", - "prefix": "64", - "scope": "link" - } - ], - "macaddress": "96:b9:89:21:81:bc", - "mtu": 1376, - "promisc": true, - "timestamping": [ - "rx_software", - "software" - ], - "type": "ether" - }, - "ansible_date_time": { - "date": "2018-01-15", - "day": "15", - "epoch": "1516031147", - "hour": "10", - "iso8601": "2018-01-15T15:45:47Z", - "iso8601_basic": "20180115T104547695903", - "iso8601_basic_short": "20180115T104547", - "iso8601_micro": "2018-01-15T15:45:47.696263Z", - "minute": "45", - "month": "01", - "second": "47", - "time": "10:45:47", - "tz": "EST", - "tz_offset": "-0500", - "weekday": "Monday", - "weekday_number": "1", - "weeknumber": "03", - "year": "2018" - }, - "ansible_default_ipv4": { - "address": "192.168.86.200", - "alias": "wlan0", - "broadcast": "192.168.86.255", - "gateway": "192.168.86.1", - "interface": "wlan0", - "macaddress": "b8:27:eb:c4:e3:5d", - "mtu": 1500, - "netmask": "255.255.255.0", - "network": "192.168.86.0", - "type": "ether" - }, - "ansible_default_ipv6": {}, - "ansible_device_links": { - "ids": { - "mmcblk0": [ - "mmc-SC32G_0x93430082" - ], - "mmcblk0p1": [ - "mmc-SC32G_0x93430082-part1" - ], - "mmcblk0p2": [ - "mmc-SC32G_0x93430082-part2" - ] - }, - "labels": { - "mmcblk0p1": [ - "boot" - ], - "mmcblk0p2": [ - "rootfs" - ] - }, - "masters": {}, - "uuids": { - "mmcblk0p1": [ - "CDD4-B453" - ], - "mmcblk0p2": [ - "72bfc10d-73ec-4d9e-a54a-1cc507ee7ed2" - ] - } - }, - "ansible_devices": { - "loop0": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "0", - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop1": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "0", - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop2": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "0", - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop3": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "0", - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop4": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "0", - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop5": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "0", - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop6": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "0", - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop7": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "0", - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "mmcblk0": { - "holders": [], - "host": "", - "links": { - "ids": [ - "mmc-SC32G_0x93430082" - ], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "deadline", - "sectors": "62333952", - "sectorsize": "512", - "size": "29.72 GB", - "support_discard": "4194304", - "vendor": null, - "virtual": 1 - }, - "ram0": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram1": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram10": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram11": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram12": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram13": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram14": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram15": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram2": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram3": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram4": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram5": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram6": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram7": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram8": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - }, - "ram9": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": "8192", - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "4096", - "vendor": null, - "virtual": 1 - } - }, - "ansible_distribution": "Debian", - "ansible_distribution_file_parsed": true, - "ansible_distribution_file_path": "/etc/os-release", - "ansible_distribution_file_variety": "Debian", - "ansible_distribution_major_version": "9", - "ansible_distribution_release": "stretch", - "ansible_distribution_version": "9.3", - "ansible_dns": { - "domain": "lan", - "nameservers": [ - "192.168.86.1" - ] - }, - "ansible_docker0": { - "active": false, - "device": "docker0", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "on [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "off [fixed]", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "off [fixed]", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "on", - "tx_gre_csum_segmentation": "on", - "tx_gre_segmentation": "on", - "tx_gso_partial": "on", - "tx_gso_robust": "on", - "tx_ipxip4_segmentation": "on", - "tx_ipxip6_segmentation": "on", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "on", - "tx_scatter_gather_fraglist": "on", - "tx_sctp_segmentation": "on", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_udp_tnl_csum_segmentation": "on", - "tx_udp_tnl_segmentation": "on", - "tx_vlan_offload": "on", - "tx_vlan_stag_hw_insert": "on", - "udp_fragmentation_offload": "on", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "id": "8000.0242399d59b8", - "interfaces": [], - "ipv4": { - "address": "172.17.0.1", - "broadcast": "172.17.255.255", - "netmask": "255.255.0.0", - "network": "172.17.0.0" - }, - "macaddress": "02:42:39:9d:59:b8", - "mtu": 1500, - "promisc": false, - "stp": false, - "timestamping": [ - "rx_software", - "software" - ], - "type": "bridge" - }, - "ansible_domain": "", - "ansible_dummy0": { - "active": true, - "device": "dummy0", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "off [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "off [fixed]", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "off [fixed]", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "on", - "tx_gre_segmentation": "on", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "on", - "tx_ipxip6_segmentation": "on", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "on", - "tx_scatter_gather_fraglist": "on", - "tx_sctp_segmentation": "off [fixed]", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_udp_tnl_csum_segmentation": "on", - "tx_udp_tnl_segmentation": "on", - "tx_vlan_offload": "off [fixed]", - "tx_vlan_stag_hw_insert": "off [fixed]", - "udp_fragmentation_offload": "on", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "ipv6": [ - { - "address": "fe80::e1e8:9b85:2cdf:e9fc", - "prefix": "64", - "scope": "link" - } - ], - "macaddress": "42:6a:c8:fd:46:c4", - "mtu": 1500, - "promisc": false, - "timestamping": [ - "rx_software", - "software" - ], - "type": "ether" - }, - "ansible_effective_group_id": 0, - "ansible_effective_user_id": 0, - "ansible_env": { - "HOME": "/root", - "LANG": "en_US.UTF-8", - "LOGNAME": "root", - "MAIL": "/var/mail/root", - "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", - "PWD": "/home/pi", - "SHELL": "/bin/bash", - "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-vorzqcoxgbesitremejnkgxlntbwznzn; /usr/bin/python", - "SUDO_GID": "1000", - "SUDO_UID": "1000", - "SUDO_USER": "pi", - "TERM": "unknown", - "USER": "root", - "USERNAME": "root" - }, - "ansible_eth0": { - "active": false, - "device": "eth0", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "off [requested on]", - "highdma": "off [fixed]", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "off [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "on", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "off", - "tcp_segmentation_offload": "off", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "off [fixed]", - "tx_checksum_ipv4": "on", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "off [fixed]", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "off [fixed]", - "tx_gre_segmentation": "off [fixed]", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "off [fixed]", - "tx_ipxip6_segmentation": "off [fixed]", - "tx_lockless": "off [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "off [fixed]", - "tx_scatter_gather_fraglist": "off [fixed]", - "tx_sctp_segmentation": "off [fixed]", - "tx_tcp6_segmentation": "off [fixed]", - "tx_tcp_ecn_segmentation": "off [fixed]", - "tx_tcp_mangleid_segmentation": "off [fixed]", - "tx_tcp_segmentation": "off [fixed]", - "tx_udp_tnl_csum_segmentation": "off [fixed]", - "tx_udp_tnl_segmentation": "off [fixed]", - "tx_vlan_offload": "off [fixed]", - "tx_vlan_stag_hw_insert": "off [fixed]", - "udp_fragmentation_offload": "off [fixed]", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "macaddress": "b8:27:eb:91:b6:08", - "module": "smsc95xx", - "mtu": 1500, - "pciid": "1-1.1:1.0", - "promisc": false, - "speed": 10, - "timestamping": [ - "rx_software", - "software" - ], - "type": "ether" - }, - "ansible_fips": false, - "ansible_form_factor": "", - "ansible_fqdn": "pik8s000", - "ansible_hostname": "pik8s000", - "ansible_interfaces": [ - "vethwepl9bebc3a", - "vethwe-datapath", - "docker0", - "lo", - "vethwepl885ea3c", - "vethwe-bridge", - "datapath", - "wlan0", - "weave", - "dummy0", - "vxlan-6784", - "eth0" - ], - "ansible_kernel": "4.9.76-v7+", - "ansible_lo": { - "active": true, - "device": "lo", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on [fixed]", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "on [fixed]", - "netns_local": "on [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "on [fixed]", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on [fixed]", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "on [fixed]", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "off [fixed]", - "tx_gre_segmentation": "off [fixed]", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "off [fixed]", - "tx_ipxip6_segmentation": "off [fixed]", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off [fixed]", - "tx_scatter_gather": "on [fixed]", - "tx_scatter_gather_fraglist": "on [fixed]", - "tx_sctp_segmentation": "on", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_udp_tnl_csum_segmentation": "off [fixed]", - "tx_udp_tnl_segmentation": "off [fixed]", - "tx_vlan_offload": "off [fixed]", - "tx_vlan_stag_hw_insert": "off [fixed]", - "udp_fragmentation_offload": "on", - "vlan_challenged": "on [fixed]" - }, - "hw_timestamp_filters": [], - "ipv4": { - "address": "127.0.0.1", - "broadcast": "host", - "netmask": "255.0.0.0", - "network": "127.0.0.0" - }, - "ipv6": [ - { - "address": "::1", - "prefix": "128", - "scope": "host" - } - ], - "mtu": 65536, - "promisc": false, - "timestamping": [ - "rx_software", - "software" - ], - "type": "loopback" - }, - "ansible_local": {}, - "ansible_lsb": { - "codename": "stretch", - "description": "Raspbian GNU/Linux 9.3 (stretch)", - "id": "Raspbian", - "major_release": "9", - "release": "9.3" - }, - "ansible_machine": "armv7l", - "ansible_machine_id": "8f332830f3b64f32bbf40909ef396e9a", - "ansible_memfree_mb": 35, - "ansible_memory_mb": { - "nocache": { - "free": 411, - "used": 565 - }, - "real": { - "free": 35, - "total": 976, - "used": 941 - }, - "swap": { - "cached": 0, - "free": 0, - "total": 0, - "used": 0 - } - }, - "ansible_memtotal_mb": 976, - "ansible_mounts": [ - { - "block_available": 6531386, - "block_size": 4096, - "block_total": 7653695, - "block_used": 1122309, - "device": "/dev/root", - "fstype": "ext4", - "inode_available": 1825138, - "inode_total": 1881152, - "inode_used": 56014, - "mount": "/", - "options": "rw,noatime,data=ordered", - "size_available": 26752557056, - "size_total": 31349534720, - "uuid": "N/A" - }, - { - "block_available": 40972, - "block_size": 512, - "block_total": 83705, - "block_used": 42733, - "device": "/dev/mmcblk0p1", - "fstype": "vfat", - "inode_available": 0, - "inode_total": 0, - "inode_used": 0, - "mount": "/boot", - "options": "rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro", - "size_available": 20977664, - "size_total": 42856960, - "uuid": "CDD4-B453" - }, - { - "block_available": 6531386, - "block_size": 4096, - "block_total": 7653695, - "block_used": 1122309, - "device": "/dev/root", - "fstype": "ext4", - "inode_available": 1825138, - "inode_total": 1881152, - "inode_used": 56014, - "mount": "/var/lib/docker/plugins", - "options": "rw,noatime,data=ordered,bind", - "size_available": 26752557056, - "size_total": 31349534720, - "uuid": "N/A" - }, - { - "block_available": 6531386, - "block_size": 4096, - "block_total": 7653695, - "block_used": 1122309, - "device": "/dev/root", - "fstype": "ext4", - "inode_available": 1825138, - "inode_total": 1881152, - "inode_used": 56014, - "mount": "/var/lib/docker/overlay2", - "options": "rw,noatime,data=ordered,bind", - "size_available": 26752557056, - "size_total": 31349534720, - "uuid": "N/A" - } - ], - "ansible_nodename": "pik8s000", - "ansible_os_family": "Debian", - "ansible_pkg_mgr": "apt", - "ansible_processor": [ - "0", - "ARMv7 Processor rev 4 (v7l)", - "1", - "ARMv7 Processor rev 4 (v7l)", - "2", - "ARMv7 Processor rev 4 (v7l)", - "3", - "ARMv7 Processor rev 4 (v7l)" - ], - "ansible_processor_cores": 1, - "ansible_processor_count": 8, - "ansible_processor_threads_per_core": 1, - "ansible_processor_vcpus": 8, - "ansible_product_name": "", - "ansible_product_serial": "", - "ansible_product_uuid": "", - "ansible_product_version": "", - "ansible_python": { - "executable": "/usr/bin/python", - "has_sslcontext": true, - "type": "CPython", - "version": { - "major": 2, - "micro": 13, - "minor": 7, - "releaselevel": "final", - "serial": 0 - }, - "version_info": [ - 2, - 7, - 13, - "final", - 0 - ] - }, - "ansible_python_version": "2.7.13", - "ansible_real_group_id": 0, - "ansible_real_user_id": 0, - "ansible_selinux": { - "status": "Missing selinux Python library" - }, - "ansible_selinux_python_present": false, - "ansible_service_mgr": "systemd", - "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBALpIBJkfC807z/ly6tqy/wvfSBZjrMMAXprZmHcQOkifqCaP9zaWaU7C8m3PWbEklxyLJpDMhA5kK94pfEedVxUrIzLTBqUjpIzpn7KHzxQe+0RC8RInkOfmQjwXIZo/PqtBfYwF6lHh4pzWo3HISewClIecxhSG3M0KJhWO3ep3AAAAFQCkiL3G9+E6Nr95r8Lw9RvTIplgoQAAAIApHNTRrFJlzaWkIwxvQi1w4cjbZQj0OZ9+g6XoWgKz1ChUWnNpIbjKvYMQ+VOdR0A+hOd8iHDfYRMPggSYmjjKSL0mSRQ9yDPYfCdF4AgIxlxYoTtEmjVLEb+B5E/Z/8QjlYgc5W7f/PXwOaH11XnuGnjGjVC6hIfZ931CbL9SDwAAAIEAm+gmgktiXxE4Cb2+c//J9EABRSW27kTVJb0i+DvyCWJ2yj0zy2i4pqQE4EpwCWGfNACNpsLzdpk6p6va2iZUEBtg5O3SWhV7Iz/UF87FfsjgRyZRz+mJbYsVmvzpC+VCjaeH3s/Y45JziCG2qEuQpj29IF55e14lOhHpW/dckF0=", - "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBE+perb6Y7s7y2QSAPQ7gkFIrH1rEbhnmQIcOA+nCYEKGH0diNuhjiL/IPTdduqYBuf3XfOhgajmPRBOo0QZ5TU=", - "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIGs7tOKJPhWPU9kBn/O4YEY6s9BCIbqa5pckTiWJQ6sX", - "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCVnzw3r5GzJm5BCwKvnpcgrRpRDLg9SSsNOrkNws+tE5f2+vCZHjfWTg1AgD6oy5OkFsD6PYDtwzaPYG+uHLSkv9rmo5pErxek/OYqdnzjwuYPYDbA6wlvntF0MGx6AGKipCH9C5f+EFAJGDY8AWGu1mYYWFtAxny3KhcvezLqyRl0d8JaL/A7KfjvBhK3sB397Q9CZsYhq/VcDglJaQGnQ67LeEDhUsOhnQzsO5EJg8hpFfWZ99tJltvGhev/i1H4mod97YKXuZPHN+XAtcCGjER0VgUGbqveC9g8Iye1hxHCxtZeZIxTgsUi5qwOUMRZHpa0x3BTlbz+W0Tr+Ndp", - "ansible_swapfree_mb": 0, - "ansible_swaptotal_mb": 0, - "ansible_system": "Linux", - "ansible_system_capabilities": [ - "cap_chown", - "cap_dac_override", - "cap_dac_read_search", - "cap_fowner", - "cap_fsetid", - "cap_kill", - "cap_setgid", - "cap_setuid", - "cap_setpcap", - "cap_linux_immutable", - "cap_net_bind_service", - "cap_net_broadcast", - "cap_net_admin", - "cap_net_raw", - "cap_ipc_lock", - "cap_ipc_owner", - "cap_sys_module", - "cap_sys_rawio", - "cap_sys_chroot", - "cap_sys_ptrace", - "cap_sys_pacct", - "cap_sys_admin", - "cap_sys_boot", - "cap_sys_nice", - "cap_sys_resource", - "cap_sys_time", - "cap_sys_tty_config", - "cap_mknod", - "cap_lease", - "cap_audit_write", - "cap_audit_control", - "cap_setfcap", - "cap_mac_override", - "cap_mac_admin", - "cap_syslog", - "cap_wake_alarm", - "cap_block_suspend", - "cap_audit_read+ep" - ], - "ansible_system_capabilities_enforced": "True", - "ansible_system_vendor": "", - "ansible_uptime_seconds": 138533, - "ansible_user_dir": "/root", - "ansible_user_gecos": "root", - "ansible_user_gid": 0, - "ansible_user_id": "root", - "ansible_user_shell": "/bin/bash", - "ansible_user_uid": 0, - "ansible_userspace_bits": "32", - "ansible_vethwe_bridge": { - "active": true, - "device": "vethwe-bridge", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "off [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "on", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "on", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "on", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "on", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "on", - "tx_gre_segmentation": "on", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "on", - "tx_ipxip6_segmentation": "on", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "on", - "tx_scatter_gather_fraglist": "on", - "tx_sctp_segmentation": "on", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_udp_tnl_csum_segmentation": "on", - "tx_udp_tnl_segmentation": "on", - "tx_vlan_offload": "on", - "tx_vlan_stag_hw_insert": "on", - "udp_fragmentation_offload": "on", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "ipv4": { - "address": "169.254.56.231", - "broadcast": "169.254.255.255", - "netmask": "255.255.0.0", - "network": "169.254.0.0" - }, - "ipv6": [ - { - "address": "fe80::a87f:84ff:fe67:ee52", - "prefix": "64", - "scope": "link" - } - ], - "macaddress": "aa:7f:84:67:ee:52", - "mtu": 1376, - "promisc": true, - "speed": 10000, - "timestamping": [ - "rx_software", - "software" - ], - "type": "ether" - }, - "ansible_vethwe_datapath": { - "active": true, - "device": "vethwe-datapath", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "off [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "on", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "on", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "on", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "on", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "on", - "tx_gre_segmentation": "on", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "on", - "tx_ipxip6_segmentation": "on", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "on", - "tx_scatter_gather_fraglist": "on", - "tx_sctp_segmentation": "on", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_udp_tnl_csum_segmentation": "on", - "tx_udp_tnl_segmentation": "on", - "tx_vlan_offload": "on", - "tx_vlan_stag_hw_insert": "on", - "udp_fragmentation_offload": "on", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "ipv4": { - "address": "169.254.176.36", - "broadcast": "169.254.255.255", - "netmask": "255.255.0.0", - "network": "169.254.0.0" - }, - "ipv6": [ - { - "address": "fe80::a4dd:3ff:fe82:a677", - "prefix": "64", - "scope": "link" - } - ], - "macaddress": "a6:dd:03:82:a6:77", - "mtu": 1376, - "promisc": true, - "speed": 10000, - "timestamping": [ - "rx_software", - "software" - ], - "type": "ether" - }, - "ansible_vethwepl885ea3c": { - "active": true, - "device": "vethwepl885ea3c", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "off [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "on", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "on", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "on", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "on", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "on", - "tx_gre_segmentation": "on", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "on", - "tx_ipxip6_segmentation": "on", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "on", - "tx_scatter_gather_fraglist": "on", - "tx_sctp_segmentation": "on", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_udp_tnl_csum_segmentation": "on", - "tx_udp_tnl_segmentation": "on", - "tx_vlan_offload": "on", - "tx_vlan_stag_hw_insert": "on", - "udp_fragmentation_offload": "on", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "ipv4": { - "address": "169.254.134.5", - "broadcast": "169.254.255.255", - "netmask": "255.255.0.0", - "network": "169.254.0.0" - }, - "ipv6": [ - { - "address": "fe80::bca6:7bb5:82bc:3297", - "prefix": "64", - "scope": "link" - } - ], - "macaddress": "22:aa:8d:93:d2:01", - "mtu": 1376, - "promisc": true, - "speed": 10000, - "timestamping": [ - "rx_software", - "software" - ], - "type": "ether" - }, - "ansible_vethwepl9bebc3a": { - "active": true, - "device": "vethwepl9bebc3a", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "off [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "on", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "on", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "on", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "on", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "on", - "tx_gre_segmentation": "on", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "on", - "tx_ipxip6_segmentation": "on", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "on", - "tx_scatter_gather_fraglist": "on", - "tx_sctp_segmentation": "on", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_udp_tnl_csum_segmentation": "on", - "tx_udp_tnl_segmentation": "on", - "tx_vlan_offload": "on", - "tx_vlan_stag_hw_insert": "on", - "udp_fragmentation_offload": "on", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "ipv4": { - "address": "169.254.96.145", - "broadcast": "169.254.255.255", - "netmask": "255.255.0.0", - "network": "169.254.0.0" - }, - "ipv6": [ - { - "address": "fe80::257f:fcbc:10b1:fb08", - "prefix": "64", - "scope": "link" - } - ], - "macaddress": "aa:90:1f:b0:a0:8b", - "mtu": 1376, - "promisc": true, - "speed": 10000, - "timestamping": [ - "rx_software", - "software" - ], - "type": "ether" - }, - "ansible_virtualization_role": "NA", - "ansible_virtualization_type": "NA", - "ansible_vxlan_6784": { - "active": true, - "device": "vxlan-6784", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "off [fixed]", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "off [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "on", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "off [fixed]", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "off [fixed]", - "tx_gre_segmentation": "off [fixed]", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "off [fixed]", - "tx_ipxip6_segmentation": "off [fixed]", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "on", - "tx_scatter_gather_fraglist": "off [fixed]", - "tx_sctp_segmentation": "on", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_udp_tnl_csum_segmentation": "off [fixed]", - "tx_udp_tnl_segmentation": "off [fixed]", - "tx_vlan_offload": "on", - "tx_vlan_stag_hw_insert": "on", - "udp_fragmentation_offload": "on", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "ipv6": [ - { - "address": "fe80::a4ba:1eff:fefe:ae85", - "prefix": "64", - "scope": "link" - } - ], - "macaddress": "a6:ba:1e:fe:ae:85", - "mtu": 65485, - "promisc": true, - "timestamping": [ - "rx_software", - "software" - ], - "type": "ether" - }, - "ansible_weave": { - "active": true, - "device": "weave", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "on [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "off [fixed]", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "off [fixed]", - "tx_checksumming": "on", - "tx_fcoe_segmentation": "off [requested on]", - "tx_gre_csum_segmentation": "on", - "tx_gre_segmentation": "on", - "tx_gso_partial": "on", - "tx_gso_robust": "off [requested on]", - "tx_ipxip4_segmentation": "on", - "tx_ipxip6_segmentation": "on", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "on", - "tx_scatter_gather_fraglist": "on", - "tx_sctp_segmentation": "on", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_udp_tnl_csum_segmentation": "on", - "tx_udp_tnl_segmentation": "on", - "tx_vlan_offload": "on", - "tx_vlan_stag_hw_insert": "on", - "udp_fragmentation_offload": "on", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "id": "8000.4ad57808b556", - "interfaces": [ - "vethwepl885ea3c", - "vethwe-bridge", - "vethwepl9bebc3a" - ], - "ipv4": { - "address": "10.32.0.1", - "broadcast": "global", - "netmask": "255.240.0.0", - "network": "10.32.0.0" - }, - "macaddress": "4a:d5:78:08:b5:56", - "mtu": 1376, - "promisc": false, - "stp": false, - "timestamping": [ - "rx_software", - "software" - ], - "type": "bridge" - }, - "ansible_wlan0": { - "active": true, - "device": "wlan0", - "features": { - "busy_poll": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "off [requested on]", - "highdma": "off [fixed]", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "netns_local": "on [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "off [fixed]", - "rx_fcs": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "off", - "tcp_segmentation_offload": "off", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "off [fixed]", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "off [fixed]", - "tx_checksumming": "off", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "off [fixed]", - "tx_gre_segmentation": "off [fixed]", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "off [fixed]", - "tx_ipxip6_segmentation": "off [fixed]", - "tx_lockless": "off [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "off [fixed]", - "tx_scatter_gather_fraglist": "off [fixed]", - "tx_sctp_segmentation": "off [fixed]", - "tx_tcp6_segmentation": "off [fixed]", - "tx_tcp_ecn_segmentation": "off [fixed]", - "tx_tcp_mangleid_segmentation": "off [fixed]", - "tx_tcp_segmentation": "off [fixed]", - "tx_udp_tnl_csum_segmentation": "off [fixed]", - "tx_udp_tnl_segmentation": "off [fixed]", - "tx_vlan_offload": "off [fixed]", - "tx_vlan_stag_hw_insert": "off [fixed]", - "udp_fragmentation_offload": "off [fixed]", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "ipv4": { - "address": "192.168.86.200", - "broadcast": "192.168.86.255", - "netmask": "255.255.255.0", - "network": "192.168.86.0" - }, - "ipv6": [ - { - "address": "fe80::4c3b:7f9:78fb:736f", - "prefix": "64", - "scope": "link" - } - ], - "macaddress": "b8:27:eb:c4:e3:5d", - "module": "brcmfmac", - "mtu": 1500, - "pciid": "mmc1:0001:1", - "promisc": false, - "timestamping": [ - "rx_software", - "software" - ], - "type": "ether" - }, - "gather_subset": [ - "all" - ], - "module_setup": true -} \ No newline at end of file diff --git a/.log/ansible.log b/.log/ansible.log deleted file mode 100644 index 58235d6..0000000 --- a/.log/ansible.log +++ /dev/null @@ -1,63 +0,0 @@ -2018-01-12 20:41:13,930 p=11818 u=cshort | - dashboard was created successfully -2018-01-12 20:55:37,360 p=12488 u=cshort | PLAY [master] ****************************************************************************************************************************************** -2018-01-12 20:55:37,594 p=12488 u=cshort | TASK [Gathering Facts] ********************************************************************************************************************************* -2018-01-12 20:55:38,275 p=12488 u=cshort | fatal: [pik8s000]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be sent to remote host \"192.168.86.200\". Make sure this host can be reached over ssh", "unreachable": true} -2018-01-12 20:55:38,277 p=12488 u=cshort | PLAY RECAP ********************************************************************************************************************************************* -2018-01-12 20:55:38,277 p=12488 u=cshort | pik8s000 : ok=0 changed=0 unreachable=1 failed=0 -2018-01-12 20:56:12,647 p=12499 u=cshort | PLAY [master] ****************************************************************************************************************************************** -2018-01-12 20:56:12,679 p=12499 u=cshort | TASK [Gathering Facts] ********************************************************************************************************************************* -2018-01-12 20:56:16,837 p=12499 u=cshort | ok: [pik8s000] -2018-01-12 20:56:16,846 p=12499 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** -2018-01-12 20:56:17,669 p=12499 u=cshort | skipping: [pik8s000] -2018-01-12 20:56:17,685 p=12499 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** -2018-01-12 20:56:17,726 p=12499 u=cshort | skipping: [pik8s000] -2018-01-12 20:56:17,728 p=12499 u=cshort | PLAY RECAP ********************************************************************************************************************************************* -2018-01-12 20:56:17,728 p=12499 u=cshort | pik8s000 : ok=1 changed=0 unreachable=0 failed=0 -2018-01-12 20:56:22,187 p=12513 u=cshort | PLAY [master] ****************************************************************************************************************************************** -2018-01-12 20:56:22,227 p=12513 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** -2018-01-12 20:56:26,578 p=12513 u=cshort | changed: [pik8s000] -2018-01-12 20:56:26,589 p=12513 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** -2018-01-12 20:56:27,477 p=12513 u=cshort | changed: [pik8s000] -2018-01-12 20:56:27,480 p=12513 u=cshort | PLAY RECAP ********************************************************************************************************************************************* -2018-01-12 20:56:27,481 p=12513 u=cshort | pik8s000 : ok=2 changed=2 unreachable=0 failed=0 -2018-01-12 21:18:09,926 p=12859 u=cshort | PLAY [master] ****************************************************************************************************************************************** -2018-01-12 21:18:10,022 p=12859 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** -2018-01-12 21:18:14,019 p=12859 u=cshort | fatal: [pik8s000]: FAILED! => {"changed": true, "cmd": "kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml", "delta": "0:00:02.639921", "end": "2018-01-12 21:18:13.930595", "msg": "non-zero return code", "rc": 1, "start": "2018-01-12 21:18:11.290674", "stderr": "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": secrets \"kubernetes-dashboard-certs\" already exists\nError from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": serviceaccounts \"kubernetes-dashboard\" already exists\nError from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": roles.rbac.authorization.k8s.io \"kubernetes-dashboard-minimal\" already exists\nError from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": rolebindings.rbac.authorization.k8s.io \"kubernetes-dashboard-minimal\" already exists\nError from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": deployments.apps \"kubernetes-dashboard\" already exists\nError from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": services \"kubernetes-dashboard\" already exists", "stderr_lines": ["Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": secrets \"kubernetes-dashboard-certs\" already exists", "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": serviceaccounts \"kubernetes-dashboard\" already exists", "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": roles.rbac.authorization.k8s.io \"kubernetes-dashboard-minimal\" already exists", "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": rolebindings.rbac.authorization.k8s.io \"kubernetes-dashboard-minimal\" already exists", "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": deployments.apps \"kubernetes-dashboard\" already exists", "Error from server (AlreadyExists): error when creating \"https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml\": services \"kubernetes-dashboard\" already exists"], "stdout": "", "stdout_lines": []} -2018-01-12 21:18:14,023 p=12859 u=cshort | PLAY RECAP ********************************************************************************************************************************************* -2018-01-12 21:18:14,023 p=12859 u=cshort | pik8s000 : ok=0 changed=0 unreachable=0 failed=1 -2018-01-12 21:43:56,061 p=12940 u=cshort | PLAY [master] ****************************************************************************************************************************************** -2018-01-12 21:43:56,127 p=12940 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** -2018-01-12 21:44:02,217 p=12940 u=cshort | changed: [pik8s000] -2018-01-12 21:44:02,230 p=12940 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** -2018-01-12 21:44:03,028 p=12940 u=cshort | ok: [pik8s000] -2018-01-12 21:44:03,031 p=12940 u=cshort | PLAY RECAP ********************************************************************************************************************************************* -2018-01-12 21:44:03,032 p=12940 u=cshort | pik8s000 : ok=2 changed=1 unreachable=0 failed=0 -2018-01-15 10:45:44,546 p=20275 u=cshort | PLAY [master] ****************************************************************************************************************************************** -2018-01-15 10:45:44,609 p=20275 u=cshort | TASK [Gathering Facts] ********************************************************************************************************************************* -2018-01-15 10:45:48,693 p=20275 u=cshort | ok: [pik8s000] -2018-01-15 10:45:48,706 p=20275 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** -2018-01-15 10:45:53,565 p=20275 u=cshort | changed: [pik8s000] -2018-01-15 10:45:53,575 p=20275 u=cshort | TASK [dashboard : Configure Dashboard Access] ********************************************************************************************************** -2018-01-15 10:45:56,661 p=20275 u=cshort | changed: [pik8s000] -2018-01-15 10:45:56,672 p=20275 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** -2018-01-15 10:45:57,499 p=20275 u=cshort | ok: [pik8s000] -2018-01-15 10:45:57,502 p=20275 u=cshort | PLAY RECAP ********************************************************************************************************************************************* -2018-01-15 10:45:57,502 p=20275 u=cshort | pik8s000 : ok=4 changed=2 unreachable=0 failed=0 -2018-01-15 13:52:03,596 p=21471 u=cshort | PLAY [master] ****************************************************************************************************************************************** -2018-01-15 13:52:03,782 p=21471 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** -2018-01-15 13:52:08,530 p=21471 u=cshort | changed: [pik8s000] -2018-01-15 13:52:08,540 p=21471 u=cshort | TASK [dashboard : Configure Dashboard Access] ********************************************************************************************************** -2018-01-15 13:52:11,446 p=21471 u=cshort | changed: [pik8s000] -2018-01-15 13:52:11,460 p=21471 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** -2018-01-15 13:52:12,452 p=21471 u=cshort | ok: [pik8s000] -2018-01-15 13:52:12,455 p=21471 u=cshort | PLAY RECAP ********************************************************************************************************************************************* -2018-01-15 13:52:12,455 p=21471 u=cshort | pik8s000 : ok=3 changed=2 unreachable=0 failed=0 -2018-01-15 13:53:07,039 p=21510 u=cshort | PLAY [master] ****************************************************************************************************************************************** -2018-01-15 13:53:07,105 p=21510 u=cshort | TASK [dashboard : Install k8s Dashboard] *************************************************************************************************************** -2018-01-15 13:53:10,574 p=21510 u=cshort | changed: [pik8s000] -2018-01-15 13:53:10,591 p=21510 u=cshort | TASK [dashboard : Configure Dashboard Access] ********************************************************************************************************** -2018-01-15 13:53:13,554 p=21510 u=cshort | changed: [pik8s000] -2018-01-15 13:53:13,566 p=21510 u=cshort | TASK [dashboard : Fetch kubeconfig file] *************************************************************************************************************** -2018-01-15 13:53:14,481 p=21510 u=cshort | ok: [pik8s000] -2018-01-15 13:53:14,485 p=21510 u=cshort | PLAY RECAP ********************************************************************************************************************************************* -2018-01-15 13:53:14,485 p=21510 u=cshort | pik8s000 : ok=3 changed=2 unreachable=0 failed=0