[mythtv] mythtv-dev Digest, Vol 180, Issue 7
Stuart Auchterlonie
stuarta at squashedfrog.net
Thu Feb 22 09:46:15 UTC 2018
On 22/02/18 01:39, James Linder wrote:
>
>
>> On 21 Feb 2018, at 8:00 pm, mythtv-dev-request at 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 at 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 at 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
More information about the mythtv-dev
mailing list