Files
community.general/lib/ansible/module_utils
Michael Scherer df145df962 Make facts detection work on OpenBSD with Python3
The traceback is the following:

    Traceback (most recent call last):
      File \"/tmp/ansible_8s0bj604/ansible_module_setup.py\", line 134, in <module>
        main()
      File \"/tmp/ansible_8s0bj604/ansible_module_setup.py\", line 126, in main
        data = get_all_facts(module)
      File \"/tmp/ansible_8s0bj604/ansible_modlib.zip/ansible/module_utils/facts.py\", line 3641, in get_all_facts
      File \"/tmp/ansible_8s0bj604/ansible_modlib.zip/ansible/module_utils/facts.py\", line 3584, in ansible_facts
      File \"/tmp/ansible_8s0bj604/ansible_modlib.zip/ansible/module_utils/facts.py\", line 1600, in populate
      File \"/tmp/ansible_8s0bj604/ansible_modlib.zip/ansible/module_utils/facts.py\", line 1649, in get_memory_facts
    TypeError: translate() takes exactly one argument (2 given)

And the swapctl output is this:

    # /sbin/swapctl -sk
    total: 83090 1K-blocks allocated, 0 used, 83090 available

The only use of the code is to remove prefix in case they are present, so just
replacing them with empty space is sufficient.
2016-11-07 11:59:32 -05:00
..
2016-09-19 16:42:23 +01:00
2016-11-01 09:38:03 -07:00
2015-04-28 09:36:42 -04:00
2016-09-24 09:27:38 -04:00
2016-10-28 13:48:16 -04:00
2016-11-02 17:00:27 -07:00
2016-09-06 13:49:48 -04:00
2016-09-11 23:32:05 -04:00
2016-02-08 19:10:04 +01:00
2016-11-02 17:00:27 -07:00
2016-11-02 13:32:19 +00:00
2016-09-12 13:35:57 -04:00
2016-11-02 17:00:27 -07:00
2015-11-03 09:53:18 -08:00
2016-05-14 07:51:13 -07:00
2016-09-11 23:34:46 -04:00
2016-09-08 08:41:32 -07:00
2016-09-12 13:35:57 -04:00