Mailing List Archive

Re: mythtv-dev Digest, Vol 180, Issue 7
> On 21 Feb 2018, at 8:00 pm, mythtv-dev-request@mythtv.org wrote:
>
> On 21/02/18 10:13, Stuart Auchterlonie wrote:
>> Can you run for me (in the directory where you checked out the
>> ansible modules)
>>
>> $ ansible -m setup -i hosts all | grep pkg_mgr
>
> Actually, slightly more useful information that will be helpful
>
> $ ansible -m setup -i hosts all | grep -e ansible_pkg_mgr -e
> ansible_distribution
>
>
> Regards
> Stuart
>
>>
>> I expect it'll reply
>>
>> "ansible_pkg_mgr": "zypper",
>>
>> I'm happy to add suse support to the playbooks, but have nothing to
>> test it on. I can take a wild stab at it and send you a patch if that
>> would help?

Hi

jam@spectre:~/ansible> ansible -m setup -i hosts all | grep -e ansible_pkg_mgr -e ansible_distrobution
[WARNING]: Found both group and host with same name: localhost
"ansible_pkg_mgr": "zypper”,

I’m keen to try a patch

James

PS if any of this is useful

jam@spectre:~/ansible> ansible -m setup -i hosts all
[WARNING]: Found both group and host with same name: localhost

localhost | SUCCESS => {
"ansible_facts": {
"ansible_all_ipv4_addresses": [
"192.168.5.210"
],
"ansible_all_ipv6_addresses": [],
"ansible_apparmor": {
"status": "enabled"
},
"ansible_architecture": "x86_64",
"ansible_bios_date": "04/10/2015",
"ansible_bios_version": "WYLPT10H.86A.0038.2015.0410.1634",
"ansible_cmdline": {
"BOOT_IMAGE": "/boot/vmlinuz-4.4.76-1-default",
"quiet": true,
"resume": "/dev/disk/by-uuid/d582a93b-f099-4e39-a127-6243b6a738c0",
"ro": true,
"root": "UUID=e9dfc0eb-04f7-4797-a07d-b262036dc3be",
"showopts": true,
"splash": "silent"
},
"ansible_date_time": {
"date": "2018-02-22",
"day": "22",
"epoch": "1519263131",
"hour": "09",
"iso8601": "2018-02-22T01:32:11Z",
"iso8601_basic": "20180222T093211980988",
"iso8601_basic_short": "20180222T093211",
"iso8601_micro": "2018-02-22T01:32:11.981079Z",
"minute": "32",
"month": "02",
"second": "11",
"time": "09:32:11",
"tz": "AWST",
"tz_offset": "+0800",
"weekday": "Thursday",
"weekday_number": "4",
"weeknumber": "08",
"year": "2018"
},
"ansible_default_ipv4": {
"address": "192.168.5.210",
"alias": "eth0",
"broadcast": "192.168.5.255",
"gateway": "192.168.5.1",
"interface": "eth0",
"macaddress": "c0:3f:d5:6b:3c:48",
"mtu": 1500,
"netmask": "255.255.255.0",
"network": "192.168.5.0",
"type": "ether"
},
"ansible_default_ipv6": {},
"ansible_device_links": {
"ids": {
"sda": [
"ata-ST9160301AS_5XT0XQ2Y",
"scsi-0ATA_ST9160301AS_5XT0XQ2Y",
"scsi-1ATA_ST9160301AS_5XT0XQ2Y",
"scsi-35000c5002451748c",
"scsi-SATA_ST9160301AS_5XT0XQ2Y",
"wwn-0x5000c5002451748c"
],
"sda1": [
"ata-ST9160301AS_5XT0XQ2Y-part1",
"scsi-0ATA_ST9160301AS_5XT0XQ2Y-part1",
"scsi-1ATA_ST9160301AS_5XT0XQ2Y-part1",
"scsi-35000c5002451748c-part1",
"scsi-SATA_ST9160301AS_5XT0XQ2Y-part1",
"wwn-0x5000c5002451748c-part1"
],
"sda2": [
"ata-ST9160301AS_5XT0XQ2Y-part2",
"scsi-0ATA_ST9160301AS_5XT0XQ2Y-part2",
"scsi-1ATA_ST9160301AS_5XT0XQ2Y-part2",
"scsi-35000c5002451748c-part2",
"scsi-SATA_ST9160301AS_5XT0XQ2Y-part2",
"wwn-0x5000c5002451748c-part2"
],
"sda3": [
"ata-ST9160301AS_5XT0XQ2Y-part3",
"scsi-0ATA_ST9160301AS_5XT0XQ2Y-part3",
"scsi-1ATA_ST9160301AS_5XT0XQ2Y-part3",
"scsi-35000c5002451748c-part3",
"scsi-SATA_ST9160301AS_5XT0XQ2Y-part3",
"wwn-0x5000c5002451748c-part3"
],
"sda4": [
"ata-ST9160301AS_5XT0XQ2Y-part4",
"scsi-0ATA_ST9160301AS_5XT0XQ2Y-part4",
"scsi-1ATA_ST9160301AS_5XT0XQ2Y-part4",
"scsi-35000c5002451748c-part4",
"scsi-SATA_ST9160301AS_5XT0XQ2Y-part4",
"wwn-0x5000c5002451748c-part4"
]
},
"labels": {},
"masters": {},
"uuids": {
"sda1": [
"FA3C-EDFC"
],
"sda2": [
"e9dfc0eb-04f7-4797-a07d-b262036dc3be"
],
"sda3": [
"d582a93b-f099-4e39-a127-6243b6a738c0"
],
"sda4": [
"50b8335e-19d2-45b2-8330-412ba3b25049"
]
}
},
"ansible_devices": {
"sda": {
"holders": [],
"host": "SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)",
"links": {
"ids": [
"ata-ST9160301AS_5XT0XQ2Y",
"scsi-0ATA_ST9160301AS_5XT0XQ2Y",
"scsi-1ATA_ST9160301AS_5XT0XQ2Y",
"scsi-35000c5002451748c",
"scsi-SATA_ST9160301AS_5XT0XQ2Y",
"wwn-0x5000c5002451748c"
],
"labels": [],
"masters": [],
"uuids": []
},
"model": "ST9160301AS",
"partitions": {
"sda1": {
"holders": [],
"links": {
"ids": [
"ata-ST9160301AS_5XT0XQ2Y-part1",
"scsi-0ATA_ST9160301AS_5XT0XQ2Y-part1",
"scsi-1ATA_ST9160301AS_5XT0XQ2Y-part1",
"scsi-35000c5002451748c-part1",
"scsi-SATA_ST9160301AS_5XT0XQ2Y-part1",
"wwn-0x5000c5002451748c-part1"
],
"labels": [],
"masters": [],
"uuids": [
"FA3C-EDFC"
]
},
"sectors": "290816",
"sectorsize": 512,
"size": "142.00 MB",
"start": "2048",
"uuid": "FA3C-EDFC"
},
"sda2": {
"holders": [],
"links": {
"ids": [
"ata-ST9160301AS_5XT0XQ2Y-part2",
"scsi-0ATA_ST9160301AS_5XT0XQ2Y-part2",
"scsi-1ATA_ST9160301AS_5XT0XQ2Y-part2",
"scsi-35000c5002451748c-part2",
"scsi-SATA_ST9160301AS_5XT0XQ2Y-part2",
"wwn-0x5000c5002451748c-part2"
],
"labels": [],
"masters": [],
"uuids": [
"e9dfc0eb-04f7-4797-a07d-b262036dc3be"
]
},
"sectors": "19531776",
"sectorsize": 512,
"size": "9.31 GB",
"start": "292864",
"uuid": "e9dfc0eb-04f7-4797-a07d-b262036dc3be"
},
"sda3": {
"holders": [],
"links": {
"ids": [
"ata-ST9160301AS_5XT0XQ2Y-part3",
"scsi-0ATA_ST9160301AS_5XT0XQ2Y-part3",
"scsi-1ATA_ST9160301AS_5XT0XQ2Y-part3",
"scsi-35000c5002451748c-part3",
"scsi-SATA_ST9160301AS_5XT0XQ2Y-part3",
"wwn-0x5000c5002451748c-part3"
],
"labels": [],
"masters": [],
"uuids": [
"d582a93b-f099-4e39-a127-6243b6a738c0"
]
},
"sectors": "2000896",
"sectorsize": 512,
"size": "977.00 MB",
"start": "19824640",
"uuid": "d582a93b-f099-4e39-a127-6243b6a738c0"
},
"sda4": {
"holders": [],
"links": {
"ids": [
"ata-ST9160301AS_5XT0XQ2Y-part4",
"scsi-0ATA_ST9160301AS_5XT0XQ2Y-part4",
"scsi-1ATA_ST9160301AS_5XT0XQ2Y-part4",
"scsi-35000c5002451748c-part4",
"scsi-SATA_ST9160301AS_5XT0XQ2Y-part4",
"wwn-0x5000c5002451748c-part4"
],
"labels": [],
"masters": [],
"uuids": [
"50b8335e-19d2-45b2-8330-412ba3b25049"
]
},
"sectors": "290754560",
"sectorsize": 512,
"size": "138.64 GB",
"start": "21825536",
"uuid": "50b8335e-19d2-45b2-8330-412ba3b25049"
}
},
"removable": "0",
"rotational": "1",
"sas_address": null,
"sas_device_handle": null,
"scheduler_mode": "cfq",
"sectors": "312581808",
"sectorsize": "512",
"size": "149.05 GB",
"support_discard": "0",
"vendor": "ATA",
"virtual": 1,
"wwn": "0x5000c5002451748c"
}
},
"ansible_distribution": "openSUSE Leap",
"ansible_distribution_file_parsed": true,
"ansible_distribution_file_path": "/etc/os-release",
"ansible_distribution_file_variety": "SuSE",
"ansible_distribution_major_version": "42",
"ansible_distribution_release": "3",
"ansible_distribution_version": "42.3",
"ansible_dns": {
"nameservers": [
"192.168.5.33"
],
"search": [
"home"
]
},
"ansible_domain": "",
"ansible_effective_group_id": 100,
"ansible_effective_user_id": 1000,
"ansible_env": {
"COLORTERM": "1",
"CONFIG_SITE": "/usr/share/site/x86_64-unknown-linux-gnu",
"CPU": "x86_64",
"CSHEDIT": "emacs",
"CVS_RSH": "ssh",
"DISPLAY": "localhost:10.0",
"FROM_HEADER": "",
"GPG_TTY": "/dev/pts/1",
"G_BROKEN_FILENAMES": "1",
"G_FILENAME_ENCODING": "@locale,UTF-8,ISO-8859-1,CP1252",
"HISTSIZE": "1000",
"HOME": "/home/jam",
"HOST": "spectre",
"HOSTNAME": "spectre",
"HOSTTYPE": "x86_64",
"INPUTRC": "/home/jam/.inputrc",
"JAVA_BINDIR": "/usr/lib64/jvm/jre/bin",
"JAVA_HOME": "/usr/lib64/jvm/jre",
"JAVA_ROOT": "/usr/lib64/jvm/jre",
"JRE_HOME": "/usr/lib64/jvm/jre",
"LANG": "en_AU.UTF-8",
"LESS": "-M -I -R",
"LESSCLOSE": "lessclose.sh %s %s",
"LESSKEY": "/etc/lesskey.bin",
"LESSOPEN": "lessopen.sh %s",
"LESS_ADVANCED_PREPROCESSOR": "no",
"LIBGL_DEBUG": "quiet",
"LOGNAME": "jam",
"LS_COLORS": "no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:",
"LS_OPTIONS": "-N --color=tty -T 0",
"MACHTYPE": "x86_64-suse-linux",
"MAIL": "/var/mail/jam",
"MANPATH": "/usr/local/man:/usr/share/man",
"MINICOM": "-c on",
"MORE": "-sl",
"NNTPSERVER": "news",
"OSTYPE": "linux",
"PAGER": "less",
"PATH": "/home/jam/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games",
"PROFILEREAD": "true",
"PWD": "/home/jam/ansible",
"PYTHONSTARTUP": "/etc/pythonstart",
"QT_SYSTEM_DIR": "/usr/share/desktop-data",
"SHELL": "/bin/bash",
"SHLVL": "3",
"SSH_CLIENT": "192.168.5.31 50637 22",
"SSH_CONNECTION": "192.168.5.31 50637 192.168.5.210 22",
"SSH_SENDS_LOCALE": "yes",
"SSH_TTY": "/dev/pts/1",
"TERM": "xterm-256color",
"USER": "jam",
"WINDOWMANAGER": "/usr/bin/startxfce4",
"XAUTHLOCALHOSTNAME": "spectre",
"XDG_CONFIG_DIRS": "/etc/xdg",
"XDG_DATA_DIRS": "/usr/share",
"XDG_RUNTIME_DIR": "/run/user/1000",
"XDG_SESSION_ID": "172",
"XKEYSYMDB": "/usr/X11R6/lib/X11/XKeysymDB",
"XNLSPATH": "/usr/share/X11/nls",
"_": "/usr/bin/python"
},
"ansible_eth0": {
"active": true,
"device": "eth0",
"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": "off [fixed]",
"netns_local": "off [fixed]",
"ntuple_filters": "off [fixed]",
"receive_hashing": "on",
"rx_all": "off",
"rx_checksumming": "on",
"rx_fcs": "off",
"rx_vlan_filter": "off [fixed]",
"rx_vlan_offload": "on",
"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_segmentation": "off [fixed]",
"tx_gso_robust": "off [fixed]",
"tx_ipip_segmentation": "off [fixed]",
"tx_lockless": "off [fixed]",
"tx_nocache_copy": "off",
"tx_scatter_gather": "on",
"tx_scatter_gather_fraglist": "off [fixed]",
"tx_sit_segmentation": "off [fixed]",
"tx_tcp6_segmentation": "on",
"tx_tcp_ecn_segmentation": "off [fixed]",
"tx_tcp_segmentation": "on",
"tx_udp_tnl_segmentation": "off [fixed]",
"tx_vlan_offload": "on",
"tx_vlan_stag_hw_insert": "off [fixed]",
"udp_fragmentation_offload": "off [fixed]",
"vlan_challenged": "off [fixed]"
},
"hw_timestamp_filters": [.
"none",
"all",
"ptp_v1_l4_sync",
"ptp_v1_l4_delay_req",
"ptp_v2_l4_sync",
"ptp_v2_l4_delay_req",
"ptp_v2_l2_sync",
"ptp_v2_l2_delay_req",
"ptp_v2_event",
"ptp_v2_sync",
"ptp_v2_delay_req"
],
"ipv4": {
"address": "192.168.5.210",
"broadcast": "192.168.5.255",
"netmask": "255.255.255.0",
"network": "192.168.5.0"
},
"macaddress": "c0:3f:d5:6b:3c:48",
"module": "e1000e",
"mtu": 1500,
"pciid": "0000:00:19.0",
"phc_index": 0,
"promisc": false,
"speed": 1000,
"timestamping": [
"tx_hardware",
"tx_software",
"rx_hardware",
"rx_software",
"software",
"raw_hardware"
],
"type": "ether"
},
"ansible_fips": false,
"ansible_form_factor": "Desktop",
"ansible_fqdn": "spectre",
"ansible_hostname": "spectre",
"ansible_interfaces": [
"lo",
"eth0"
],
"ansible_kernel": "4.4.76-1-default",
"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_segmentation": "off [fixed]",
"tx_gso_robust": "off [fixed]",
"tx_ipip_segmentation": "off [fixed]",
"tx_lockless": "on [fixed]",
"tx_nocache_copy": "off [fixed]",
"tx_scatter_gather": "on [fixed]",
"tx_scatter_gather_fraglist": "on [fixed]",
"tx_sit_segmentation": "off [fixed]",
"tx_tcp6_segmentation": "on",
"tx_tcp_ecn_segmentation": "on",
"tx_tcp_segmentation": "on",
"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"
},
"mtu": 65536,
"promisc": false,
"timestamping": [
"rx_software",
"software"
],
"type": "loopback"
},
"ansible_local": {},
"ansible_lsb": {
"codename": "n/a",
"description": "openSUSE Leap 42.3",
"id": "openSUSE project",
"major_release": "42",
"release": "42.3"
},
"ansible_machine": "x86_64",
"ansible_machine_id": "b59fb620f4c46125f58540495a8bc131",
"ansible_memfree_mb": 182,
"ansible_memory_mb": {
"nocache": {
"free": 3137,
"used": 710
},
"real": {
"free": 182,
"total": 3847,
"used": 3665
},
"swap": {
"cached": 0,
"free": 976,
"total": 976,
"used": 0
}
},
"ansible_memtotal_mb": 3847,
"ansible_mounts": [.
{
"block_available": 404853,
"block_size": 4096,
"block_total": 2370361,
"block_used": 1965508,
"device": "/dev/sda2",
"fstype": "ext4",
"inode_available": 319632,
"inode_total": 610800,
"inode_used": 291168,
"mount": "/",
"options": "rw,relatime,data=ordered",
"size_available": 1658277888,
"size_total": 9708998656,
"uuid": "N/A"
},
{
"block_available": 35155,
"block_size": 4096,
"block_total": 36311,
"block_used": 1156,
"device": "/dev/sda1",
"fstype": "vfat",
"inode_available": 0,
"inode_total": 0,
"inode_used": 0,
"mount": "/boot/efi",
"options": "rw,relatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro",
"size_available": 143994880,
"size_total": 148729856,
"uuid": "N/A"
},
{
"block_available": 34957844,
"block_size": 4096,
"block_total": 35740862,
"block_used": 783018,
"device": "/dev/sda4",
"fstype": "ext4",
"inode_available": 9074111,
"inode_total": 9093120,
"inode_used": 19009,
"mount": "/home",
"options": "rw,relatime,data=ordered",
"size_available": 143187329024,
"size_total": 146394570752,
"uuid": "N/A"
}
],
"ansible_nodename": "spectre",
"ansible_os_family": "Suse",
"ansible_pkg_mgr": "zypper",
"ansible_processor": [.
"0",
"GenuineIntel",
"Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz",
"1",
"GenuineIntel",
"Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz",
"2",
"GenuineIntel",
"Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz",
"3",
"GenuineIntel",
"Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz"
],
"ansible_processor_cores": 2,
"ansible_processor_count": 1,
"ansible_processor_threads_per_core": 2,
"ansible_processor_vcpus": 4,
"ansible_product_name": "NA",
"ansible_product_serial": "NA",
"ansible_product_uuid": "NA",
"ansible_product_version": "NA",
"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": 100,
"ansible_real_user_id": 1000,
"ansible_selinux": {
"status": "Missing selinux Python library"
},
"ansible_selinux_python_present": false,
"ansible_service_mgr": "systemd",
"ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBANtPW0R10DRkSUFgLzvmntynCJOlTnxXiXWXlDdmZi+l3AvbLJWUvuaJrM/WsKGBPIo7pveEBBogvIJgU8UyEEgIF1pH3yP3O4yl00ebXyi79m7eBIiYnn/YYi075UZ0fpFjaO9M8+g+s6WTINCpXRqnEjFkFREaE+qkz+4fyYr9AAAAFQDzFSZSHvcP/DzBUm7d4sbYzUxL0wAAAIA6MIRk1lhklOpueEJjThnjfhZ9OqxhLfX/h341Z8S51uGfZ2DXd70cR106iABy/JnOu2qc4xsMHKl6s1L8r+bTjKgl4dhkbx+/iJ1K7NSAUCTedYbyEdiLivd5108iRXypeLbsezKyfGJl+HcWp95fZN0Z/KItqa/JF5ZX7RyOkQAAAIEA0rrpF5nDN1f4INbO700rsJXSUVNo+rhrfOGGpEprjrep5tPt8Jzg7iY8+pgbSLUq6fXpN/eCsBjeNFUpI+M2NgsRBVP7SPgvbiA2erL2dkpEFj7G1AD1Xl9S7p1GYeiBrKW7Jyx+8BAovyhAihT94y7UDfXLy4cix964n5dGbr0=",
"ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOXXKATVkTAPG6ZQ9f/hTeBnVPlaT8fzMFSDSmsDxBkK/HhJ/L0hpwx6xNK8FETqYqGXtGDDt95xdJ05YLeKKe0=",
"ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIEMNPTlVh9bissLIE0Bp543omzc1a6FFtM5Cq1hTCJ7/",
"ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDF89j4wsqVcf4Cugz2jWku9lAw4OSbq/Uoc8pfl3gfF1DE2R+dPfBic66VtPb83n1zLUGldTbgAOTr/iCFYzvwv0Uf8BoNgytw3hkC3c5R/aTHf0BNOhvUw54gu+neY14T6Vbvo78DOEv2079kuQblNrs+aGRkXek6yAdNIxs5nJxn4W5SfLMaSoM9uO794faJ6tOGbQBVPou0fKlABO9sG5NjlRcC+RvCsf2rYNxIQDXG0kpV9u6f/J5FuyjzdwE/PcIxYKoLsMXaLAAyz8oaZ09/uh/MQb5L1PvGmDhCKInKM/oWa96zKjF6ba7HorMw/wgt0qHOCYdL0HGoxDyF",
"ansible_swapfree_mb": 976,
"ansible_swaptotal_mb": 976,
"ansible_system": "Linux",
"ansible_system_vendor": "NA",
"ansible_uptime_seconds": 153000,
"ansible_user_dir": "/home/jam",
"ansible_user_gecos": "jam",
"ansible_user_gid": 100,
"ansible_user_id": "jam",
"ansible_user_shell": "/bin/bash",
"ansible_user_uid": 1000,
"ansible_userspace_architecture": "x86_64",
"ansible_userspace_bits": "64",
"ansible_virtualization_role": "host",
"ansible_virtualization_type": "kvm",
"gather_subset": [
"all"
],
"module_setup": true
},
"changed": false,
"failed": false
}
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythtv-dev Digest, Vol 180, Issue 7 [ In reply to ]
On 22/02/18 01:39, James Linder wrote:
>
>
>> On 21 Feb 2018, at 8:00 pm, mythtv-dev-request@mythtv.org wrote:
>>
>> On 21/02/18 10:13, Stuart Auchterlonie wrote:
>>> Can you run for me (in the directory where you checked out the
>>> ansible modules)
>>>
>>> $ ansible -m setup -i hosts all | grep pkg_mgr
>>
>> Actually, slightly more useful information that will be helpful
>>
>> $ ansible -m setup -i hosts all | grep -e ansible_pkg_mgr -e
>> ansible_distribution
>>
>>
>> Regards
>> Stuart
>>
>>>
>>> I expect it'll reply
>>>
>>> "ansible_pkg_mgr": "zypper",
>>>
>>> I'm happy to add suse support to the playbooks, but have nothing to
>>> test it on. I can take a wild stab at it and send you a patch if that
>>> would help?
>
> Hi
>
> jam@spectre:~/ansible> ansible -m setup -i hosts all | grep -e ansible_pkg_mgr -e ansible_distrobution
> [WARNING]: Found both group and host with same name: localhost
> "ansible_pkg_mgr": "zypper”,
>
> I’m keen to try a patch
>
> James
>
> PS if any of this is useful
>
> jam@spectre:~/ansible> ansible -m setup -i hosts all
> [WARNING]: Found both group and host with same name: localhost
>
> localhost | SUCCESS => {
> "ansible_facts": {
...
> "ansible_distribution": "openSUSE Leap",
> "ansible_distribution_file_parsed": true,
> "ansible_distribution_file_path": "/etc/os-release",
> "ansible_distribution_file_variety": "SuSE",
> "ansible_distribution_major_version": "42",
> "ansible_distribution_release": "3",
> "ansible_distribution_version": "42.3",
...
> "ansible_nodename": "spectre",
> "ansible_os_family": "Suse",
> "ansible_pkg_mgr": "zypper",

These bits are pretty useful, and do give me the information i need.
openSUSE Leap I can get hold of, so it's a matter of doing a test build
to get things working. Please bear with me


Regards
Stuart
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org