Can't get ansible callback to work

Problem:
Hosts are not being created in foreman when I run ansible
I send the command:
ansible -m setup ansible-cli.lab-ansible

Error 500 is issued

Expected outcome:
Host created and facts populated

Foreman and Proxy versions:
Foreman and proxy 1.24.2
Ansible 2.9.3

Foreman and Proxy plugin versions:
ansible proxy plugin 3.0.1
foreman_ansible 4.0.4

Distribution and version:
CentOS 7

Other relevant data:
Command line to install foreman:
foreman-installer --enable-foreman-plugin-ansible --enable-foreman-proxy-plugin-ansible
–enable-foreman-plugin-remote-execution --enable-foreman-proxy-plugin-remote-execution-ssh

ansible.cfg (truncated):
callback_whitelist = foreman
bin_ansible_callbacks = True

 [callback_foreman]
url = 'https://ansible-foreman.lab-ansible'
ssl_cert = /etc/puppetlabs/puppet/ssl/certs/ansible-foreman.lab-ansible.pem
ssl_key = /etc/puppetlabs/puppet/ssl/private_keys/ansible-foreman.lab-ansible.pem
verify_certs = /etc/puppetlabs/puppet/ssl/certs/ca.pem

production.log:
2020-02-14T15:15:13 [I|app|c6b7ad4a] Started POST “/api/v2/hosts/facts” for 192.168.2.9 at 2020-02-14 15:15:13 +0100
2020-02-14T15:15:13 [I|app|c6b7ad4a] Processing by Api::V2::HostsController#facts as JSON
2020-02-14T15:15:13 [I|app|c6b7ad4a] Parameters: {“facts”=>"[FILTERED]", “name”=>“ansible-cli.lab-ansible”, “apiv”=>“v2”, “host”=>{“name”=>“ansible-cli.lab-ansible”}}
2020-02-14T15:15:14 [I|app|c6b7ad4a] Import facts for ‘ansible-cli.lab-ansible’ completed. Added: 0, Updated: 14, Deleted 0 facts
2020-02-14T15:15:14 [W|app|c6b7ad4a] Action failed
2020-02-14T15:15:14 [I|app|c6b7ad4a] Rendering api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout
2020-02-14T15:15:14 [I|app|c6b7ad4a] Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (1.8ms)
2020-02-14T15:15:14 [I|app|c6b7ad4a] Completed 500 Internal Server Error in 469ms (Views: 9.4ms | ActiveRecord: 98.2ms)
2020-02-14T15:15:15 [I|app|38293556] Started POST “/api/v2/reports” for 192.168.2.9 at 2020-02-14 15:15:15 +0100
2020-02-14T15:15:15 [I|app|38293556] Processing by Api::V2::ReportsController#create as JSON
2020-02-14T15:15:15 [I|app|38293556] Parameters: {“report”=>"[FILTERED]", “apiv”=>“v2”}
2020-02-14T15:15:15 [I|app|38293556] Scanning report with: Foreman::PuppetReportScanner, ForemanAnsible::AnsibleReportScanner
2020-02-14T15:15:15 [I|app|38293556] Imported report for ansible-cli.lab-ansible in 31.9 ms, status refreshed in 24.3 ms
2020-02-14T15:15:15 [I|app|38293556] Rendering api/v2/reports/create.json.rabl
2020-02-14T15:15:15 [I|app|38293556] Rendered api/v2/reports/create.json.rabl (6.3ms)
2020-02-14T15:15:15 [I|app|38293556] Completed 201 Created in 81ms (Views: 9.6ms | ActiveRecord: 23.9ms)

I guess I’m doing something wrong…
Could someone help me please ?

can you please enable debug logging, try running ansible again, and paste the full error?

Here it is:

2020-02-17T10:04:49 [I|app|3a0d79bf] Started POST "/api/v2/hosts/facts" for 192.168.2.9 at 2020-02-17 10:04:49 +0100
2020-02-17T10:04:49 [I|app|3a0d79bf] Processing by Api::V2::HostsController#facts as JSON
2020-02-17T10:04:49 [I|app|3a0d79bf]   Parameters: {"facts"=>"[FILTERED]", "name"=>"ansible-cli.lab-ansible", "apiv"=>"v2", "host"=>{"name"=>"ansible-cli.lab-ansible"}}
2020-02-17T10:04:49 [D|app|3a0d79bf] Examining client certificate to extract dn and sans
2020-02-17T10:04:49 [D|app|3a0d79bf] Client sent certificate with subject 'ansible-foreman.lab-ansible' and subject alt names '["puppet", "ansible-foreman.lab-ansible"]'
2020-02-17T10:04:49 [D|app|3a0d79bf] Verifying request from ["puppet", "ansible-foreman.lab-ansible"] against ["ansible-foreman.lab-ansible"]
2020-02-17T10:04:50 [I|app|3a0d79bf] Import facts for 'ansible-cli.lab-ansible' completed. Added: 0, Updated: 9, Deleted 0 facts
2020-02-17T10:04:50 [D|tax|3a0d79bf] Current location set to Default Location
2020-02-17T10:04:50 [D|tax|3a0d79bf] Current organization set to Default Organization
2020-02-17T10:04:50 [D|app|3a0d79bf] We have following interfaces 'em0, lo0, pflog0' based on facts
2020-02-17T10:04:50 [W|app|3a0d79bf] Action failed
2020-02-17T10:04:50 [D|app|3a0d79bf] Backtrace for 'Action failed' error (TypeError): no implicit conversion of String into Integer
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-4.0.4/app/services/foreman_ansible/fact_parser.rb:88:in `ip_from_interface'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-4.0.4/app/services/foreman_ansible/fact_parser.rb:57:in `get_facts_for_interface'
/usr/share/foreman/app/services/fact_parser.rb:73:in `block in interfaces'
/usr/share/foreman/app/services/fact_parser.rb:72:in `each'
/usr/share/foreman/app/services/fact_parser.rb:72:in `interfaces'
/usr/share/foreman/app/services/fact_parser.rb:84:in `suggested_primary_interface'
/usr/share/foreman/app/models/host/base.rb:186:in `primary_interface_type'
/usr/share/foreman/app/models/host/base.rb:192:in `populate_fields_from_facts'
/usr/share/foreman/app/models/host/managed.rb:416:in `populate_fields_from_facts'
/usr/share/foreman/app/models/concerns/puppet_host_extensions.rb:3:in `populate_fields_from_facts'
/usr/share/foreman/app/models/host/base.rb:168:in `block in parse_facts'
/usr/share/foreman/app/services/foreman/telemetry_helper.rb:27:in `telemetry_duration_histogram'
/usr/share/foreman/app/models/host/base.rb:167:in `parse_facts'
/usr/share/foreman/app/models/host/base.rb:153:in `import_facts'
/usr/share/foreman/app/models/host/managed.rb:330:in `import_facts'
/usr/share/foreman/app/controllers/api/v2/hosts_controller.rb:308:in `facts'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/abstract_controller/base.rb:194:in `process_action'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
/usr/share/foreman/app/controllers/api/v2/base_controller.rb:163:in `disable_json_root'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in `around'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in `around'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/abstract_controller/callbacks.rb:41:in `process_action'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `block in instrument'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `instrument'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/railties/controller_runtime.rb:24:in `process_action'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/abstract_controller/base.rb:134:in `process'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionview-5.2.1/lib/action_view/rendering.rb:32:in `process'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal.rb:191:in `dispatch'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal.rb:252:in `dispatch'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:34:in `serve'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:48:in `serve'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:52:in `block in serve'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `each'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `serve'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:840:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.14/lib/apipie/static_dispatcher.rb:65:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.14/lib/apipie/extractor/recorder.rb:137:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
/usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.14/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
/usr/share/foreman/lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/tempfile_reaper.rb:15:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/etag.rb:25:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/conditional_get.rb:38:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/head.rb:12:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
/usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:232:in `context'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:226:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/cookies.rb:670:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:98:in `run_callbacks'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/railties-5.2.1/lib/rails/rack/logger.rb:38:in `call_app'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/railties-5.2.1/lib/rails/rack/logger.rb:28:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
/usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/request_id.rb:27:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/method_override.rb:22:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/runtime.rb:22:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/sendfile.rb:111:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-6.0.0/lib/secure_headers/middleware.rb:13:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/railties-5.2.1/lib/rails/engine.rb:524:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `public_send'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `method_missing'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/urlmap.rb:68:in `block in call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `each'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `call'
/usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'
/usr/share/passenger/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2020-02-17T10:04:50 [I|app|3a0d79bf]   Rendering api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout
2020-02-17T10:04:50 [I|app|3a0d79bf]   Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (0.6ms)
2020-02-17T10:04:50 [I|app|3a0d79bf] Completed 500 Internal Server Error in 174ms (Views: 1.7ms | ActiveRecord: 43.7ms)

The facts, in case you need them:

ansible-cli.lab-ansible | SUCCESS => {
    "ansible_facts": {
        "ansible_all_ipv4_addresses": [
            "192.168.2.2"
        ],
        "ansible_all_ipv6_addresses": [],
        "ansible_apparmor": {
            "status": "disabled"
        },
        "ansible_architecture": "amd64",
        "ansible_date_time": {
            "date": "2020-02-17",
            "day": "17",
            "epoch": "1581930289",
            "hour": "10",
            "iso8601": "2020-02-17T09:04:49Z",
            "iso8601_basic": "20200217T100449797924",
            "iso8601_basic_short": "20200217T100449",
            "iso8601_micro": "2020-02-17T09:04:49.798529Z",
            "minute": "04",
            "month": "02",
            "second": "49",
            "time": "10:04:49",
            "tz": "CET",
            "tz_offset": "+0100",
            "weekday": "Monday",
            "weekday_number": "1",
            "weeknumber": "07",
            "year": "2020"
        },
        "ansible_default_ipv4": {
            "address": "192.168.2.2",
            "broadcast": "192.168.2.255",
            "device": "em0",
            "flags": [
                "UP",
                "BROADCAST",
                "RUNNING",
                "SIMPLEX",
                "MULTICAST",
                "AUTOCONF4"
            ],
            "gateway": "192.168.2.254",
            "interface": "em0",
            "macaddress": "00:0c:29:31:47:36",
            "media": "Ethernet",
            "media_options": [],
            "media_select": "autoselect",
            "media_type": "1000baseT",
            "mtu": "1500",
            "netmask": "255.255.255.0",
            "network": "192.168.2.0",
            "status": "active",
            "type": "ether"
        },
        "ansible_default_ipv6": {},
        "ansible_devices": [
            "sd0:f089c03f85efb5ef",
            "cd0:"
        ],
        "ansible_distribution": "OpenBSD",
        "ansible_distribution_release": "release",
        "ansible_distribution_version": "6.6",
        "ansible_dns": {
            "nameservers": [
                "192.168.2.254"
            ],
            "search": [
                "lab-ansible"
            ]
        },
        "ansible_domain": "lab-ansible",
        "ansible_effective_group_id": 0,
        "ansible_effective_user_id": 0,
        "ansible_em0": {
            "device": "em0",
            "flags": [
                "UP",
                "BROADCAST",
                "RUNNING",
                "SIMPLEX",
                "MULTICAST",
                "AUTOCONF4"
            ],
            "ipv4": [
                {
                    "address": "192.168.2.2",
                    "broadcast": "192.168.2.255",
                    "netmask": "255.255.255.0",
                    "network": "192.168.2.0"
                }
            ],
            "ipv6": [],
            "macaddress": "00:0c:29:31:47:36",
            "media": "Ethernet",
            "media_options": [],
            "media_select": "autoselect",
            "media_type": "1000baseT",
            "mtu": "1500",
            "status": "active",
            "type": "ether"
        },
        "ansible_env": {
            "HOME": "/root",
            "LC_CTYPE": "C.UTF-8",
            "LOGNAME": "root",
            "MAIL": "/var/mail/root",
            "PATH": "/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin",
            "PWD": "/root",
            "SHELL": "/bin/ksh",
            "SSH_CLIENT": "192.168.2.9 47556 22",
            "SSH_CONNECTION": "192.168.2.9 47556 192.168.2.2 22",
            "SSH_TTY": "/dev/ttyp0",
            "TERM": "xterm",
            "USER": "root",
            "_": "/bin/sh"
        },
        "ansible_fibre_channel_wwn": [],
        "ansible_fips": false,
        "ansible_fqdn": "ansible-cli.lab-ansible",
        "ansible_hostname": "ansible-cli",
        "ansible_hostnqn": "",
        "ansible_interfaces": [
            "em0",
            "lo0",
            "pflog0"
        ],
        "ansible_is_chroot": false,
        "ansible_iscsi_iqn": "",
        "ansible_kernel": "6.6",
        "ansible_kernel_version": "GENERIC.MP#4",
        "ansible_lo0": {
            "device": "lo0",
            "flags": [
                "UP",
                "LOOPBACK",
                "RUNNING",
                "MULTICAST"
            ],
            "ipv4": [
                {
                    "address": "127.0.0.1",
                    "broadcast": "127.255.255.255",
                    "netmask": "255.0.0.0",
                    "network": "127.0.0.0"
                }
            ],
            "ipv6": [
                {
                    "address": "::1",
                    "prefix": "128"
                },
                {
                    "address": "fe80::1%lo0",
                    "prefix": "64",
                    "scope": "0x3"
                }
            ],
            "macaddress": "unknown",
            "mtu": "32768",
            "type": "loopback"
        },
        "ansible_local": {},
        "ansible_lsb": {},
        "ansible_machine": "amd64",
        "ansible_memfree_mb": 0,
        "ansible_memtotal_mb": 495,
        "ansible_mounts": [
            {
                "block_available": 2970227,
                "block_size": 16384,
                "block_total": 3936031,
                "block_used": 965804,
                "device": "f089c03f85efb5ef.a",
                "fstype": "ffs",
                "inode_available": 977391,
                "inode_total": 1013374,
                "inode_used": 35983,
                "mount": "/",
                "options": "rw,wxallowed",
                "size_available": 6083024896,
                "size_total": 8060991488
            }
        ],
        "ansible_nodename": "ansible-cli.lab-ansible",
        "ansible_os_family": "OpenBSD",
        "ansible_pflog0": {
            "device": "pflog0",
            "flags": [
                "UP",
                "RUNNING",
                "PROMISC"
            ],
            "ipv4": [],
            "ipv6": [],
            "macaddress": "unknown",
            "mtu": "33136",
            "type": "unknown"
        },
        "ansible_pkg_mgr": "openbsd_pkg",
        "ansible_processor": [
            "Intel(R) Xeon(R) Gold 6244 CPU @ 3.60GHz",
            "Intel(R) Xeon(R) Gold 6244 CPU @ 3.60GHz"
        ],
        "ansible_processor_cores": "2",
        "ansible_processor_count": "2",
        "ansible_product_name": "VMware Virtual Platform",
        "ansible_product_serial": "VMware-56 4d 60 db 55 ed 8e f7-f4 ab 1f 87 bc 31 47 36",
        "ansible_product_uuid": "564d60db-55ed-8ef7-f4ab-1f87bc314736",
        "ansible_product_version": "None",
        "ansible_python": {
            "executable": "/usr/local/bin/python3.7",
            "has_sslcontext": true,
            "type": "cpython",
            "version": {
                "major": 3,
                "micro": 4,
                "minor": 7,
                "releaselevel": "final",
                "serial": 0
            },
            "version_info": [
                3,
                7,
                4,
                "final",
                0
            ]
        },
        "ansible_python_version": "3.7.4",
        "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": "bsdinit",
        "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBANbXR53XrIlChXT/U4KCTf+d4WQ46vv6XN9PRn8ldRdUyNb0GGnxV3EO29YhNJhkzeVcT1QAPpQfzU2wJDU5fA7ZugcKTCGuR0mCAaB0kqLqWCWilnca7Qbv1Lmlh1V6JP2arhyDhpUk3wLWoeK8GKzwTyvUc8hCT6dZ/7AdzOXdAAAAFQCliBVDwpzuWnU5NeZ38rS/nbFUrwAAAIAbB58nZDwFDNQGPAjxcMjZRDU12PKvTXygUFNhuvBl1LL7cFpfzHlUKn+i2tQBoszeseEAy7cgEmmr1nJHNHgmf2VTqCHE4e4u2007nQLKiT01qnQPoTabwVIOVW8pqk0FGpa5VNxIyiLF7SmLVConlurFKCC2PwwUJRsaKkJJYgAAAIAeZ12o2dggjJ3jTxi7gJy2bx1yrvKW0EmPAmTmkk/InjUd/DHNMTi4jrHPCIkZPMGG3M6xm26OS415YD6uDcX18aIeQUO4MYLuTzfsSxSo6Lushi6NvDiS6mbMotsCSu4vZHa9E3rMoRRTp6gXkcoQung4EeyLr1cnuPMD46zKGA==",
        "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAAKUR1UAWPlykgY4gPl7KihF+0hI3hkLMOb45PXttVXY1CJ26RwgaDlwnReYaVQxlibUQ4YZ1p/MIEf5r9Aims=",
        "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIPth/hlgiUi8lAfkU+3WjrPMsx1PRJ8BE589UE+l/h7I",
        "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDVvKMAzYPQTYtlnEtFyeUt1JO31L3NbHTfglh/nvOsGjr8ENB1NUxws3oyhYGBPz9HIqFo3my2TFYhveEjC7CCaLRfqMhOTTkI/EgdFgxkNKqqqLll0fKa0bN2/Ts28lluuMOPehgcdaLYTPX91SPJse6DyhH4U0BFEoJjdATH/r+u7l+lJJVb5ccXMKN8yeDbLBmvempJl/ElJD91lPNLH3AuVTysHubn69vD/X7IaOvRuVBasarvQudZm+BMCG4EneeygepqlgTcQoCgrCGfeWxoCeYmaw6AAzoyGeZsbdaT/v06b+niZDPmVUCGTnM9OaYsV39mQxDgGGej/Hui5z0Fg/WHqmtVsRz7pkfQTNWPDWdg3B0015MRvB+h0FJJjdZ7jo4NjW+pxcy2LSTjPwbv6u6CJ0ospWc+BpcGdnM1vhdP/EIcT2qTLcTGj5OGmDotrE4PbGmiBAdKLYyHGr4ZtuQBJjzgz1Q8TPHgxMeFskkmCoQX6GTCq7BdgVk=",
        "ansible_swapfree_mb": 362,
        "ansible_swaptotal_mb": 376,
        "ansible_system": "OpenBSD",
        "ansible_system_vendor": "VMware, Inc.",
        "ansible_user_dir": "/root",
        "ansible_user_gecos": "Charlie &",
        "ansible_user_gid": 0,
        "ansible_user_id": "root",
        "ansible_user_shell": "/bin/ksh",
        "ansible_user_uid": 0,
        "ansible_userspace_bits": "64",
        "ansible_virtualization_role": "guest",
        "ansible_virtualization_type": "VMware",
        "discovered_interpreter_python": "/usr/local/bin/python3.7",
        "gather_subset": [
            "all"
        ],
        "module_setup": true
    },
    "changed": false
}