Project

General

Profile

Actions

Bug #23715

closed

Facts are not parsed for the OS

Added by Daniel Lobato Garcia over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

As reported on https://community.theforeman.org/t/500-server-error-internal-server-error-for-url-https-ansible01-localhost-local-api-v2-hosts-facts

I can successfully reproduce it on my devel machine:

2018-05-28T14:00:03 [I|app|] Started POST "/api/v2/hosts/facts" for ::1 at 2018-05-28 14:00:03 +0000
2018-05-28T14:00:03 [I|app|49c53] Processing by Api::V2::HostsController#facts as JSON
2018-05-28T14:00:03 [I|app|49c53]   Parameters: {"name"=>"centos7-devel.lobatolan.home", "facts"=>"[FILTERED]", "apiv"=>"v2", "host"=>{"name"=>"centos7-devel.lobatolan.home"}}
2018-05-28T14:00:03 [I|app|49c53] Current user: foreman_api_admin (administrator)
2018-05-28T14:00:03 [I|app|49c53] Import facts for 'centos7-devel.lobatolan.home' completed. Added: 2, Updated: 0, Deleted 600 facts
2018-05-28T14:00:03 [W|app|49c53] DEPRECATION WARNING: The behavior of `changed` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_changes.keys` instead. (called from block in prepended at /home/vagrant/foreman_openscap/app/models/concerns/foreman_openscap/host_extensions.rb:25)
2018-05-28T14:00:03 [W|app|49c53] DEPRECATION WARNING: The behavior of `changed_attributes` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_changes.transform_values(&:first)` instead. (called from block in prepended at /home/vagrant/foreman_openscap/app/models/concerns/foreman_openscap/host_extensions.rb:25)
2018-05-28T14:00:03 [W|app|49c53] DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from save at /home/vagrant/foreman/app/models/concerns/foreman/sti.rb:26)
2018-05-28T14:00:03 [W|app|49c53] DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from save at /home/vagrant/foreman/app/models/concerns/foreman/sti.rb:26)
2018-05-28T14:00:03 [W|app|49c53] DEPRECATION WARNING: The behavior of `changed` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_changes.keys` instead. (called from update_scap_client at /home/vagrant/foreman_openscap/app/models/concerns/foreman_openscap/openscap_proxy_core_extensions.rb:12)
2018-05-28T14:00:03 [W|app|49c53] DEPRECATION WARNING: The behavior of `changed_attributes` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_changes.transform_values(&:first)` instead. (called from update_scap_client at /home/vagrant/foreman_openscap/app/models/concerns/foreman_openscap/openscap_proxy_core_extensions.rb:12)
2018-05-28T14:00:03 [W|app|49c53] Action failed
 | ActiveRecord::RecordInvalid: Validation failed: Major version is not a number, Major version Operating System version is required, Name can't be blank, Title can't be blank
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/validations.rb:78:in `raise_validation_error'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/validations.rb:50:in `save!'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/attribute_methods/dirty.rb:43:in `save!'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:313:in `block in save!'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:384:in `block in with_transaction_returning_status'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
 | /home/vagrant/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:381:in `with_transaction_returning_status'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:313:in `save!'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/suppressor.rb:46:in `save!'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/persistence.rb:51:in `create!'
 | /home/vagrant/foreman_ansible/app/services/foreman_ansible/fact_parser.rb:14:in `operatingsystem'
 | /home/vagrant/foreman/app/models/host/base.rb:188:in `block in set_non_empty_values'
 | /home/vagrant/foreman/app/models/host/base.rb:187:in `each'
 | /home/vagrant/foreman/app/models/host/base.rb:187:in `set_non_empty_values'
 | /home/vagrant/foreman/app/models/host/base.rb:182:in `populate_fields_from_facts'
 | /home/vagrant/foreman/app/models/host/managed.rb:414:in `populate_fields_from_facts'
 | /home/vagrant/foreman/app/models/concerns/puppet_host_extensions.rb:3:in `populate_fields_from_facts'
 | /home/vagrant/foreman/app/models/host/base.rb:161:in `block in parse_facts'
 | /home/vagrant/foreman/app/services/foreman/telemetry_helper.rb:27:in `telemetry_duration_histogram'
 | /home/vagrant/foreman/app/models/host/base.rb:160:in `parse_facts'
 | /home/vagrant/foreman/app/models/host/base.rb:149:in `import_facts'
 | /home/vagrant/foreman/app/models/host/managed.rb:336:in `import_facts'
 | /home/vagrant/foreman/app/controllers/api/v2/hosts_controller.rb:287:in `facts'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:186:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_controller/metal/rendering.rb:30:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
 | /home/vagrant/foreman/app/controllers/api/v2/base_controller.rb:163:in `disable_json_root'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/vagrant/foreman/app/controllers/concerns/application_shared.rb:15:in `set_timezone'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/vagrant/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/vagrant/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/audited-4.7.1/lib/audited/sweeper.rb:14:in `around'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/audited-4.7.1/lib/audited/sweeper.rb:14:in `around'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_controller/metal/rescue.rb:20:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `block in instrument'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `instrument'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/railties/controller_runtime.rb:22:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:124:in `process'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionview-5.1.4/lib/action_view/rendering.rb:30:in `process'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_controller/metal.rb:189:in `dispatch'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_controller/metal.rb:253:in `dispatch'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:31:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/mapper.rb:16:in `block in <class:Constraints>'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/mapper.rb:46:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:33:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:33:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:834:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/apipie-rails-0.5.8/lib/apipie/static_dispatcher.rb:65:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/apipie-rails-0.5.8/lib/apipie/extractor/recorder.rb:136:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /home/vagrant/foreman/lib/middleware/telemetry.rb:13:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/apipie-rails-0.5.8/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 | /home/vagrant/foreman/lib/middleware/catch_json_parse_errors.rb:8:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:38:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/head.rb:12:in `call'
 | /home/vagrant/foreman/lib/middleware/logging_context.rb:23:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/session/abstract/id.rb:232:in `context'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/session/abstract/id.rb:226:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/cookies.rb:613:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:556:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:97:in `run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/callbacks.rb:24:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/executor.rb:12:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:84:in `protected_app_call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:79:in `better_errors_call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:57:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/rack/logger.rb:36:in `call_app'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/rack/logger.rb:26:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/request_id.rb:25:in `call'
 | /home/vagrant/katello/lib/katello/prevent_json_parsing.rb:12:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/method_override.rb:22:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/executor.rb:12:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/secure_headers-5.0.5/lib/secure_headers/middleware.rb:13:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:522:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `public_send'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `method_missing'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/urlmap.rb:68:in `block in call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/urlmap.rb:53:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/rack-2.0.5/lib/rack/urlmap.rb:53:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/puma-3.11.4/lib/puma/configuration.rb:225:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/puma-3.11.4/lib/puma/server.rb:632:in `handle_request'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/puma-3.11.4/lib/puma/server.rb:446:in `process_client'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/puma-3.11.4/lib/puma/server.rb:306:in `block in run'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/puma-3.11.4/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
 | /home/vagrant/.rvm/gems/ruby-2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2018-05-28T14:00:03 [I|app|49c53]   Rendering api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout
2018-05-28T14:00:03 [I|app|49c53]   Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (1.2ms)
2018-05-28T14:00:03 [I|app|49c53] Completed 500 Internal Server Error in 97ms (Views: 4.8ms | ActiveRecord: 25.6ms)
Actions #1

Updated by Daniel Lobato Garcia over 6 years ago

I found facts are submitted in the middle of the run too, depending on the module used. e.g: using a playbook like


 dlobatog  lenovolobato  ~  130  cat sample-playbook.yml
---
- hosts: centos7-devel.lobatolan.home
  roles:
    - goozbach.EPEL
    - ntp
 dlobatog  lenovolobato  ~  a

ansible-playbook sample-playbook.yml -u vagrant -s
[DEPRECATION WARNING]: The sudo command line option has been deprecated in favor of the "become" command line arguments. This feature will be removed in
version 2.6. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
 [WARNING]: SSL verification of https://centos7-devel.lobatolan.home disabled

centos7-devel.lobatolan.home | SUCCESS => {
    "ansible_facts": {
        "ansible_all_ipv4_addresses": [
            "192.168.121.27" 
        ],
        "ansible_all_ipv6_addresses": [
            "fe80::5054:ff:fe30:e5ab" 
        ],
        "ansible_apparmor": {
            "status": "disabled" 
        },
        "ansible_architecture": "x86_64",
        "ansible_bios_date": "04/01/2014",
        "ansible_bios_version": "1.11.0-2.fc28",
        "ansible_cmdline": {
            "BOOT_IMAGE": "/vmlinuz-3.10.0-693.17.1.el7.x86_64",
            "LANG": "en_US.UTF-8",
            "biosdevname": "0",
            "console": "ttyS0,115200",
            "crashkernel": "auto",
            "net.ifnames": "0",
            "no_timer_check": true,
            "quiet": true,
            "rd.lvm.lv": "VolGroup00/LogVol01",
            "rhgb": true,
            "ro": true,
            "root": "/dev/mapper/VolGroup00-LogVol00" 
        },
        "ansible_date_time": {
            "date": "2018-05-28",
            "day": "28",
            "epoch": "1527535404",
            "hour": "19",
            "iso8601": "2018-05-28T19:23:24Z",
            "iso8601_basic": "20180528T192324548101",
            "iso8601_basic_short": "20180528T192324",
            "iso8601_micro": "2018-05-28T19:23:24.548295Z",
            "minute": "23",
            "month": "05",
            "second": "24",
            "time": "19:23:24",
            "tz": "UTC",
            "tz_offset": "+0000",
            "weekday": "Monday",
            "weekday_number": "1",
            "weeknumber": "22",
            "year": "2018" 
        },
        "ansible_default_ipv4": {
            "address": "192.168.121.27",
            "alias": "eth0",
            "broadcast": "192.168.121.255",
            "gateway": "192.168.121.1",
            "interface": "eth0",
            "macaddress": "52:54:00:30:e5:ab",
            "mtu": 1500,
            "netmask": "255.255.255.0",
            "network": "192.168.121.0",
            "type": "ether" 
        },
        "ansible_default_ipv6": {},
        "ansible_device_links": {
            "ids": {
                "dm-0": [
                    "dm-name-VolGroup00-LogVol00",
                    "dm-uuid-LVM-IThwo2I7Dx5gEuOARjXhEeYheiXqClh7SZUu4wxDowX7T7PcA5B2UMrUVuecANnZ" 
                ],
                "dm-1": [
                    "dm-name-VolGroup00-LogVol01",
                    "dm-uuid-LVM-IThwo2I7Dx5gEuOARjXhEeYheiXqClh7QRVkAFBQouwVxjHMzaHD3uHBeytoivfQ" 
                ],
                "sda": [
                    "ata-QEMU_HARDDISK_QM00001" 
                ],
                "sda1": [
                    "ata-QEMU_HARDDISK_QM00001-part1" 
                ],
                "sda2": [
                    "ata-QEMU_HARDDISK_QM00001-part2" 
                ],
                "sda3": [
                    "ata-QEMU_HARDDISK_QM00001-part3",
                    "lvm-pv-uuid-M3Yv32-77Kp-tD3h-8OWg-nBV3-2mSj-5ruY99" 
                ]
            },
            "labels": {},
            "masters": {
                "sda3": [
                    "dm-0",
                    "dm-1" 
                ]
            },
            "uuids": {
                "dm-0": [
                    "6ac4db93-389d-49a8-9659-43096e5050e2" 
                ],
                "dm-1": [
                    "6c534f9c-8ea4-4964-8b84-6d3d571215e1" 
                ],
                "sda2": [
                    "e6d35c81-ce24-4af2-9468-68f2a11a78cc" 
                ]
            }
        },
        "ansible_devices": {
            "dm-0": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [
                        "dm-name-VolGroup00-LogVol00",
                        "dm-uuid-LVM-IThwo2I7Dx5gEuOARjXhEeYheiXqClh7SZUu4wxDowX7T7PcA5B2UMrUVuecANnZ" 
                    ],
                    "labels": [],
                    "masters": [],
                    "uuids": [
                        "6ac4db93-389d-49a8-9659-43096e5050e2" 
                    ]
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "",
                "sectors": "267780096",
                "sectorsize": "512",
                "size": "127.69 GB",
                "support_discard": "512",
                "vendor": null,
                "virtual": 1
            },
            "dm-1": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [
                        "dm-name-VolGroup00-LogVol01",
                        "dm-uuid-LVM-IThwo2I7Dx5gEuOARjXhEeYheiXqClh7QRVkAFBQouwVxjHMzaHD3uHBeytoivfQ" 
                    ],
                    "labels": [],
                    "masters": [],
                    "uuids": [
                        "6c534f9c-8ea4-4964-8b84-6d3d571215e1" 
                    ]
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "",
                "sectors": "3145728",
                "sectorsize": "512",
                "size": "1.50 GB",
                "support_discard": "512",
                "vendor": null,
                "virtual": 1
            },
            "sda": {
                "holders": [],
                "host": "IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]",
                "links": {
                    "ids": [
                        "ata-QEMU_HARDDISK_QM00001" 
                    ],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": "QEMU HARDDISK",
                "partitions": {
                    "sda1": {
                        "holders": [],
                        "links": {
                            "ids": [
                                "ata-QEMU_HARDDISK_QM00001-part1" 
                            ],
                            "labels": [],
                            "masters": [],
                            "uuids": []
                        },
                        "sectors": "2048",
                        "sectorsize": 512,
                        "size": "1.00 MB",
                        "start": "2048",
                        "uuid": null
                    },
                    "sda2": {
                        "holders": [],
                        "links": {
                            "ids": [
                                "ata-QEMU_HARDDISK_QM00001-part2" 
                            ],
                            "labels": [],
                            "masters": [],
                            "uuids": [
                                "e6d35c81-ce24-4af2-9468-68f2a11a78cc" 
                            ]
                        },
                        "sectors": "1024000",
                        "sectorsize": 512,
                        "size": "500.00 MB",
                        "start": "4096",
                        "uuid": "e6d35c81-ce24-4af2-9468-68f2a11a78cc" 
                    },
                    "sda3": {
                        "holders": [
                            "VolGroup00-LogVol00",
                            "VolGroup00-LogVol01" 
                        ],
                        "links": {
                            "ids": [
                                "ata-QEMU_HARDDISK_QM00001-part3",
                                "lvm-pv-uuid-M3Yv32-77Kp-tD3h-8OWg-nBV3-2mSj-5ruY99" 
                            ],
                            "labels": [],
                            "masters": [
                                "dm-0",
                                "dm-1" 
                            ],
                            "uuids": []
                        },
                        "sectors": "271599104",
                        "sectorsize": 512,
                        "size": "129.51 GB",
                        "start": "1028096",
                        "uuid": null
                    }
                },
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "cfq",
                "sectors": "272629760",
                "sectorsize": "512",
                "size": "130.00 GB",
                "support_discard": "512",
                "vendor": "ATA",
                "virtual": 1
            }
        },
        "ansible_distribution": "CentOS",
        "ansible_distribution_file_parsed": true,
        "ansible_distribution_file_path": "/etc/redhat-release",
        "ansible_distribution_file_variety": "RedHat",
        "ansible_distribution_major_version": "7",
        "ansible_distribution_release": "Core",
        "ansible_distribution_version": "7.4.1708",
        "ansible_dns": {
            "nameservers": [
                "192.168.121.1" 
            ],
            "search": [
                "lobatolan.home" 
            ]
        },
        "ansible_domain": "lobatolan.home",
        "ansible_effective_group_id": 0,
        "ansible_effective_user_id": 0,
        "ansible_env": {
            "FOREMAN_HOST": "https://localhost:3000",
            "FOREMAN_SSL_CERT": "/etc/pki/katello/certs/katello-default-ca.crt",
            "FOREMAN_SSL_KEY": "/etc/pki/katello/private/katello-default-ca.key",
            "FOREMAN_SSL_VERIFY": "False",
            "HOME": "/root",
            "LANG": "en_US.UTF-8",
            "LC_MEASUREMENT": "en_US.UTF-8",
            "LC_MONETARY": "en_US.UTF-8",
            "LC_NUMERIC": "en_US.UTF-8",
            "LC_PAPER": "en_US.UTF-8",
            "LC_TIME": "en_US.UTF-8",
            "LOGNAME": "root",
            "MAIL": "/var/mail/vagrant",
            "PATH": "/sbin:/bin:/usr/sbin:/usr/bin",
            "PWD": "/home/vagrant",
            "SHELL": "/bin/bash",
            "SHLVL": "1",
            "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-ganzvzwhsqrqdkcudhrzhvgbazjjdxly; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1527535368.5856948-247153810817262/setup.py",
            "SUDO_GID": "1000",
            "SUDO_UID": "1000",
            "SUDO_USER": "vagrant",
            "TERM": "screen-256color",
            "USER": "root",
            "USERNAME": "root",
            "_": "/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": "off [requested 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": "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": "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",
                "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_ipip_segmentation": "off [fixed]",
                "tx_lockless": "off [fixed]",
                "tx_mpls_segmentation": "off [fixed]",
                "tx_nocache_copy": "off",
                "tx_scatter_gather": "off",
                "tx_scatter_gather_fraglist": "off [fixed]",
                "tx_sctp_segmentation": "off [fixed]",
                "tx_sit_segmentation": "off [fixed]",
                "tx_tcp6_segmentation": "off [fixed]",
                "tx_tcp_ecn_segmentation": "off [fixed]",
                "tx_tcp_mangleid_segmentation": "off",
                "tx_tcp_segmentation": "off",
                "tx_udp_tnl_csum_segmentation": "off [fixed]",
                "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": [],
            "ipv4": {
                "address": "192.168.121.27",
                "broadcast": "192.168.121.255",
                "netmask": "255.255.255.0",
                "network": "192.168.121.0" 
            },
            "ipv6": [
                {
                    "address": "fe80::5054:ff:fe30:e5ab",
                    "prefix": "64",
                    "scope": "link" 
                }
            ],
            "macaddress": "52:54:00:30:e5:ab",
            "module": "8139cp",
            "mtu": 1500,
            "pciid": "0000:00:03.0",
            "promisc": false,
            "speed": 100,
            "timestamping": [
                "rx_software",
                "software" 
            ],
            "type": "ether" 
        },
        "ansible_fips": false,
        "ansible_form_factor": "Other",
        "ansible_fqdn": "centos7-devel.lobatolan.home",
        "ansible_hostname": "centos7-devel",
        "ansible_interfaces": [
            "lo",
            "eth0" 
        ],
        "ansible_is_chroot": false,
        "ansible_kernel": "3.10.0-693.17.1.el7.x86_64",
        "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_ipip_segmentation": "off [fixed]",
                "tx_lockless": "on [fixed]",
                "tx_mpls_segmentation": "off [fixed]",
                "tx_nocache_copy": "off [fixed]",
                "tx_scatter_gather": "on [fixed]",
                "tx_scatter_gather_fraglist": "on [fixed]",
                "tx_sctp_segmentation": "on",
                "tx_sit_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": "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": {},
        "ansible_lvm": {
            "lvs": {
                "LogVol00": {
                    "size_g": "127.69",
                    "vg": "VolGroup00" 
                },
                "LogVol01": {
                    "size_g": "1.50",
                    "vg": "VolGroup00" 
                }
            },
            "pvs": {
                "/dev/sda3": {
                    "free_g": "0.31",
                    "size_g": "129.50",
                    "vg": "VolGroup00" 
                }
            },
            "vgs": {
                "VolGroup00": {
                    "free_g": "0.31",
                    "num_lvs": "2",
                    "num_pvs": "1",
                    "size_g": "129.50" 
                }
            }
        },
        "ansible_machine": "x86_64",
        "ansible_machine_id": "c5b48ebe664245808b914cce368c2b64",
        "ansible_memfree_mb": 470,
        "ansible_memory_mb": {
            "nocache": {
                "free": 824,
                "used": 5146
            },
            "real": {
                "free": 470,
                "total": 5970,
                "used": 5500
            },
            "swap": {
                "cached": 19,
                "free": 1439,
                "total": 1535,
                "used": 96
            }
        },
        "ansible_memtotal_mb": 5970,
        "ansible_mounts": [
            {
                "block_available": 19831787,
                "block_size": 4096,
                "block_total": 33467688,
                "block_used": 13635901,
                "device": "/dev/mapper/VolGroup00-LogVol00",
                "fstype": "xfs",
                "inode_available": 132497404,
                "inode_total": 133890048,
                "inode_used": 1392644,
                "mount": "/",
                "options": "rw,seclabel,relatime,attr2,inode64,noquota",
                "size_available": 81230999552,
                "size_total": 137083650048,
                "uuid": "6ac4db93-389d-49a8-9659-43096e5050e2" 
            },
            {
                "block_available": 70995,
                "block_size": 4096,
                "block_total": 127147,
                "block_used": 56152,
                "device": "/dev/sda2",
                "fstype": "xfs",
                "inode_available": 511649,
                "inode_total": 512000,
                "inode_used": 351,
                "mount": "/boot",
                "options": "rw,seclabel,relatime,attr2,inode64,noquota",
                "size_available": 290795520,
                "size_total": 520794112,
                "uuid": "e6d35c81-ce24-4af2-9468-68f2a11a78cc" 
            }
        ],
        "ansible_nodename": "centos7-devel.lobatolan.home",
        "ansible_os_family": "RedHat",
        "ansible_pkg_mgr": "yum",
        "ansible_processor": [
            "0",
            "GenuineIntel",
            "Intel Core Processor (Skylake)",
            "1",
            "GenuineIntel",
            "Intel Core Processor (Skylake)" 
        ],
        "ansible_processor_cores": 1,
        "ansible_processor_count": 2,
        "ansible_processor_threads_per_core": 1,
        "ansible_processor_vcpus": 2,
        "ansible_product_name": "Standard PC (i440FX + PIIX, 1996)",
        "ansible_product_serial": "NA",
        "ansible_product_uuid": "FE0052A0-C71A-47AC-8A6C-3EA12347CFDE",
        "ansible_product_version": "pc-i440fx-2.7",
        "ansible_python": {
            "executable": "/usr/bin/python",
            "has_sslcontext": true,
            "type": "CPython",
            "version": {
                "major": 2,
                "micro": 5,
                "minor": 7,
                "releaselevel": "final",
                "serial": 0
            },
            "version_info": [
                2,
                7,
                5,
                "final",
                0
            ]
        },
        "ansible_python_version": "2.7.5",
        "ansible_real_group_id": 0,
        "ansible_real_user_id": 0,
        "ansible_selinux": {
            "config_mode": "enforcing",
            "mode": "enforcing",
            "policyvers": 28,
            "status": "enabled",
            "type": "targeted" 
        },
        "ansible_selinux_python_present": true,
        "ansible_service_mgr": "systemd",
        "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCZCDaHhPV6mrvCuhKg2psaEJjMgH2qkoTxmqntLJTT5OzcDU909HeJ0rRFfF1iLIWxH1cmIHwqL5Flefysdqcg=",
        "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIP0e/trDyDauAirD8M5ZXQ33749YxRcpGMf2rXnlhR1V",
        "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDvvJgexZCXVhEFb/rl8eWsT6jkuk4Pvds+fj4mmQ5O50Qxe6h3QWX9eEw2yIgCeQkQ/TaJtR1rSSHRzDsYYuqr59sb9V0JTsyBW5aBlyVMRucc8rs84KR9YVDupiRWzkhkIk0iGRe3HiXYBmkcnnbKWOZEAqzBiKbrXd/ydsucXP6Cs5TwWl49maSpA3lWn+Ddbc0T1Q+pdgr8IzgNNVk3iNRon2HxkfdNXWvxXNeq8h4DlP7AJdTXOlsih/1u5GyT1j+/LimlIMWojcwZ7/Ec+RDxQiwE+zS1jSvmQKFGbbxAQmIz179zWTIRwZ8rZCvHsLeDx50PBnkvMNjhKryx",
        "ansible_swapfree_mb": 1439,
        "ansible_swaptotal_mb": 1535,
        "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",
            "35",
            "36+ep" 
        ],
        "ansible_system_capabilities_enforced": "True",
        "ansible_system_vendor": "QEMU",
        "ansible_uptime_seconds": 48879,
        "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_architecture": "x86_64",
        "ansible_userspace_bits": "64",
        "ansible_virtualization_role": "guest",
        "ansible_virtualization_type": "kvm",
        "facter_aio_agent_version": "1.10.10",
        "facter_apache_version": "2.4.6",
        "facter_augeas": {
            "version": "1.4.0" 
        },
        "facter_default_ipa_realm": "LOBATOLAN.HOME",
        "facter_default_ipa_server": "unused",
        "facter_disks": {
            "sda": {
                "model": "QEMU HARDDISK",
                "size": "130.00 GiB",
                "size_bytes": 139586437120,
                "vendor": "ATA" 
            }
        },
        "facter_dmi": {
            "bios": {
                "release_date": "04/01/2014",
                "vendor": "SeaBIOS",
                "version": "1.11.0-2.fc28" 
            },
            "chassis": {
                "type": "Other" 
            },
            "manufacturer": "QEMU",
            "product": {
                "name": "Standard PC (i440FX + PIIX, 1996)",
                "uuid": "FE0052A0-C71A-47AC-8A6C-3EA12347CFDE" 
            }
        },
        "facter_facterversion": "3.6.9",
        "facter_filesystems": "xfs",
        "facter_identity": {
            "gid": 0,
            "group": "root",
            "privileged": true,
            "uid": 0,
            "user": "root" 
        },
        "facter_is_pe": false,
        "facter_is_virtual": true,
        "facter_kernel": "Linux",
        "facter_kernelmajversion": "3.10",
        "facter_kernelrelease": "3.10.0-693.17.1.el7.x86_64",
        "facter_kernelversion": "3.10.0",
        "facter_load_averages": {
            "15m": 0.64,
            "1m": 0.69,
            "5m": 0.67
        },
        "facter_memory": {
            "swap": {
                "available": "1.41 GiB",
                "available_bytes": 1509359616,
                "capacity": "6.29%",
                "total": "1.50 GiB",
                "total_bytes": 1610608640,
                "used": "96.56 MiB",
                "used_bytes": 101249024
            },
            "system": {
                "available": "768.70 MiB",
                "available_bytes": 806035456,
                "capacity": "87.13%",
                "total": "5.83 GiB",
                "total_bytes": 6260690944,
                "used": "5.08 GiB",
                "used_bytes": 5454655488
            }
        },
        "facter_mountpoints": {
            "/": {
                "available": "75.65 GiB",
                "available_bytes": 81230999552,
                "capacity": "40.74%",
                "device": "/dev/mapper/VolGroup00-LogVol00",
                "filesystem": "xfs",
                "options": [
                    "rw",
                    "seclabel",
                    "relatime",
                    "attr2",
                    "inode64",
                    "noquota" 
                ],
                "size": "127.67 GiB",
                "size_bytes": 137083650048,
                "used": "52.02 GiB",
                "used_bytes": 55852650496
            },
            "/boot": {
                "available": "277.32 MiB",
                "available_bytes": 290795520,
                "capacity": "44.16%",
                "device": "/dev/sda2",
                "filesystem": "xfs",
                "options": [
                    "rw",
                    "seclabel",
                    "relatime",
                    "attr2",
                    "inode64",
                    "noquota" 
                ],
                "size": "496.67 MiB",
                "size_bytes": 520794112,
                "used": "219.34 MiB",
                "used_bytes": 229998592
            },
            "/dev/shm": {
                "available": "2.92 GiB",
                "available_bytes": 3130331136,
                "capacity": "0.00%",
                "device": "tmpfs",
                "filesystem": "tmpfs",
                "options": [
                    "rw",
                    "seclabel",
                    "nosuid",
                    "nodev" 
                ],
                "size": "2.92 GiB",
                "size_bytes": 3130343424,
                "used": "12.00 KiB",
                "used_bytes": 12288
            },
            "/run": {
                "available": "2.90 GiB",
                "available_bytes": 3112923136,
                "capacity": "0.56%",
                "device": "tmpfs",
                "filesystem": "tmpfs",
                "options": [
                    "rw",
                    "seclabel",
                    "nosuid",
                    "nodev",
                    "mode=755" 
                ],
                "size": "2.92 GiB",
                "size_bytes": 3130343424,
                "used": "16.61 MiB",
                "used_bytes": 17420288
            },
            "/run/user/1000": {
                "available": "597.07 MiB",
                "available_bytes": 626069504,
                "capacity": "0%",
                "device": "tmpfs",
                "filesystem": "tmpfs",
                "options": [
                    "rw",
                    "seclabel",
                    "nosuid",
                    "nodev",
                    "relatime",
                    "size=611396k",
                    "mode=700",
                    "uid=1000",
                    "gid=1000" 
                ],
                "size": "597.07 MiB",
                "size_bytes": 626069504,
                "used": "0 bytes",
                "used_bytes": 0
            },
            "/sys/fs/cgroup": {
                "available": "2.92 GiB",
                "available_bytes": 3130343424,
                "capacity": "0%",
                "device": "tmpfs",
                "filesystem": "tmpfs",
                "options": [
                    "ro",
                    "seclabel",
                    "nosuid",
                    "nodev",
                    "noexec",
                    "mode=755" 
                ],
                "size": "2.92 GiB",
                "size_bytes": 3130343424,
                "used": "0 bytes",
                "used_bytes": 0
            }
        },
        "facter_networking": {
            "dhcp": "192.168.121.1",
            "domain": "lobatolan.home",
            "fqdn": "centos7-devel.lobatolan.home",
            "hostname": "centos7-devel",
            "interfaces": {
                "eth0": {
                    "bindings": [
                        {
                            "address": "192.168.121.27",
                            "netmask": "255.255.255.0",
                            "network": "192.168.121.0" 
                        }
                    ],
                    "bindings6": [
                        {
                            "address": "fe80::5054:ff:fe30:e5ab",
                            "netmask": "ffff:ffff:ffff:ffff::",
                            "network": "fe80::" 
                        }
                    ],
                    "dhcp": "192.168.121.1",
                    "ip": "192.168.121.27",
                    "ip6": "fe80::5054:ff:fe30:e5ab",
                    "mac": "52:54:00:30:e5:ab",
                    "mtu": 1500,
                    "netmask": "255.255.255.0",
                    "netmask6": "ffff:ffff:ffff:ffff::",
                    "network": "192.168.121.0",
                    "network6": "fe80::" 
                },
                "lo": {
                    "bindings": [
                        {
                            "address": "127.0.0.1",
                            "netmask": "255.0.0.0",
                            "network": "127.0.0.0" 
                        }
                    ],
                    "bindings6": [
                        {
                            "address": "::1",
                            "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
                            "network": "::1" 
                        }
                    ],
                    "ip": "127.0.0.1",
                    "ip6": "::1",
                    "mtu": 65536,
                    "netmask": "255.0.0.0",
                    "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
                    "network": "127.0.0.0",
                    "network6": "::1" 
                }
            },
            "ip": "192.168.121.27",
            "ip6": "fe80::5054:ff:fe30:e5ab",
            "mac": "52:54:00:30:e5:ab",
            "mtu": 1500,
            "netmask": "255.255.255.0",
            "netmask6": "ffff:ffff:ffff:ffff::",
            "network": "192.168.121.0",
            "network6": "fe80::",
            "primary": "eth0" 
        },
        "facter_os": {
            "architecture": "x86_64",
            "family": "RedHat",
            "hardware": "x86_64",
            "name": "CentOS",
            "release": {
                "full": "7.4.1708",
                "major": "7",
                "minor": "4" 
            },
            "selinux": {
                "config_mode": "enforcing",
                "config_policy": "targeted",
                "current_mode": "enforcing",
                "enabled": true,
                "enforced": true,
                "policy_version": "28" 
            }
        },
        "facter_package_provider": "yum",
        "facter_partitions": {
            "/dev/mapper/VolGroup00-LogVol00": {
                "filesystem": "xfs",
                "mount": "/",
                "size": "127.69 GiB",
                "size_bytes": 137103409152,
                "uuid": "6ac4db93-389d-49a8-9659-43096e5050e2" 
            },
            "/dev/mapper/VolGroup00-LogVol01": {
                "filesystem": "swap",
                "size": "1.50 GiB",
                "size_bytes": 1610612736,
                "uuid": "6c534f9c-8ea4-4964-8b84-6d3d571215e1" 
            },
            "/dev/sda1": {
                "size": "1.00 MiB",
                "size_bytes": 1048576
            },
            "/dev/sda2": {
                "filesystem": "xfs",
                "mount": "/boot",
                "size": "500.00 MiB",
                "size_bytes": 524288000,
                "uuid": "e6d35c81-ce24-4af2-9468-68f2a11a78cc" 
            },
            "/dev/sda3": {
                "filesystem": "LVM2_member",
                "size": "129.51 GiB",
                "size_bytes": 139058741248,
                "uuid": "M3Yv32-77Kp-tD3h-8OWg-nBV3-2mSj-5ruY99" 
            }
        },
        "facter_path": "/sbin:/bin:/usr/sbin:/usr/bin",
        "facter_processors": {
            "count": 2,
            "isa": "x86_64",
            "models": [
                "Intel Core Processor (Skylake)",
                "Intel Core Processor (Skylake)" 
            ],
            "physicalcount": 2
        },
        "facter_puppet_environmentpath": "/etc/puppetlabs/code/environments",
        "facter_puppet_vardir": "/opt/puppetlabs/puppet/cache",
        "facter_puppetversion": "4.10.10",
        "facter_root_home": "/root",
        "facter_ruby": {
            "platform": "x86_64-linux",
            "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
            "version": "2.1.9" 
        },
        "facter_service_provider": "systemd",
        "facter_ssh": {
            "ecdsa": {
                "fingerprints": {
                    "sha1": "SSHFP 3 1 6603b383bc00be6808f7eb15a397e41ff6351359",
                    "sha256": "SSHFP 3 2 3ad0145378f944c45acf2c674a8ceccd2b960e397020ed9fecbb1fdce5555677" 
                },
                "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCZCDaHhPV6mrvCuhKg2psaEJjMgH2qkoTxmqntLJTT5OzcDU909HeJ0rRFfF1iLIWxH1cmIHwqL5Flefysdqcg=" 
            },
            "ed25519": {
                "fingerprints": {
                    "sha1": "SSHFP 4 1 a60be29442c022895463a94f0298c7ba6aa19d27",
                    "sha256": "SSHFP 4 2 c2cabc6043fe3eae1c592afe6bb1ec939ee4b3891ad34a8f82461828ce448a75" 
                },
                "key": "AAAAC3NzaC1lZDI1NTE5AAAAIP0e/trDyDauAirD8M5ZXQ33749YxRcpGMf2rXnlhR1V" 
            },
            "rsa": {
                "fingerprints": {
                    "sha1": "SSHFP 1 1 444b49eb2d61add9a3053779cde74b3831a4b531",
                    "sha256": "SSHFP 1 2 490ae4b872f80e0e371dc772d787c781520724034464ea476d0668acd689d625" 
                },
                "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDvvJgexZCXVhEFb/rl8eWsT6jkuk4Pvds+fj4mmQ5O50Qxe6h3QWX9eEw2yIgCeQkQ/TaJtR1rSSHRzDsYYuqr59sb9V0JTsyBW5aBlyVMRucc8rs84KR9YVDupiRWzkhkIk0iGRe3HiXYBmkcnnbKWOZEAqzBiKbrXd/ydsucXP6Cs5TwWl49maSpA3lWn+Ddbc0T1Q+pdgr8IzgNNVk3iNRon2HxkfdNXWvxXNeq8h4DlP7AJdTXOlsih/1u5GyT1j+/LimlIMWojcwZ7/Ec+RDxQiwE+zS1jSvmQKFGbbxAQmIz179zWTIRwZ8rZCvHsLeDx50PBnkvMNjhKryx" 
            }
        },
        "facter_system_uptime": {
            "days": 0,
            "hours": 13,
            "seconds": 48879,
            "uptime": "13:34 hours" 
        },
        "facter_timezone": "UTC",
        "facter_virtual": "kvm",
        "gather_subset": [
            "all" 
        ],
        "module_setup": true
    },
    "changed": false
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "gid": 0,
    "group": "root",
    "mode": "0755",
    "owner": "root",
    "path": "/etc/pki/rpm-gpg/",
    "secontext": "system_u:object_r:cert_t:s0",
    "size": 4096,
    "state": "directory",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "checksum": "491dc189ad1ceccb3b03277e88eb939dd238d32c",
    "dest": "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7",
    "gid": 0,
    "group": "root",
    "mode": "0644",
    "owner": "root",
    "path": "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7",
    "secontext": "system_u:object_r:cert_t:s0",
    "size": 1662,
    "state": "file",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "gid": 0,
    "group": "root",
    "mode": "0755",
    "owner": "root",
    "path": "/usr/lib/rpm/macros.d/",
    "secontext": "system_u:object_r:lib_t:s0",
    "size": 4096,
    "state": "directory",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "checksum": "001c0a309ef671c05b40f1a148266622240e0fbe",
    "dest": "/usr/lib/rpm/macros.d//macros.ghc-srpm",
    "gid": 0,
    "group": "root",
    "mode": "0644",
    "owner": "root",
    "path": "/usr/lib/rpm/macros.d//macros.ghc-srpm",
    "secontext": "system_u:object_r:lib_t:s0",
    "size": 122,
    "state": "file",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "gid": 0,
    "group": "root",
    "mode": "0755",
    "owner": "root",
    "path": "/usr/lib/systemd/system-preset/",
    "secontext": "system_u:object_r:lib_t:s0",
    "size": 4096,
    "state": "directory",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "checksum": "e16120db2b0d6db508ef74a617273ea0966af1a5",
    "dest": "/usr/lib/systemd/system-preset//90-epel.preset",
    "gid": 0,
    "group": "root",
    "mode": "0644",
    "owner": "root",
    "path": "/usr/lib/systemd/system-preset//90-epel.preset",
    "secontext": "system_u:object_r:lib_t:s0",
    "size": 2813,
    "state": "file",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "gid": 0,
    "group": "root",
    "mode": "0755",
    "owner": "root",
    "path": "/usr/share/doc/epel-release-7",
    "secontext": "system_u:object_r:usr_t:s0",
    "size": 16,
    "state": "directory",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "checksum": "e6a5b15ba241c4fb6cf4653ca2525ea391164c58",
    "dest": "/usr/share/doc/epel-release-7/GPL",
    "gid": 0,
    "group": "root",
    "mode": "0644",
    "owner": "root",
    "path": "/usr/share/doc/epel-release-7/GPL",
    "secontext": "system_u:object_r:usr_t:s0",
    "size": 18385,
    "state": "file",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "gid": 0,
    "group": "root",
    "mode": "0755",
    "owner": "root",
    "path": "/etc/yum.repos.d/",
    "secontext": "system_u:object_r:system_conf_t:s0",
    "size": 4096,
    "state": "directory",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "checksum": "7abc765aa6f79dcd782468a67e391b7581655393",
    "dest": "/etc/yum.repos.d/epel.repo",
    "gid": 0,
    "group": "root",
    "mode": "0644",
    "owner": "root",
    "path": "/etc/yum.repos.d/epel.repo",
    "secontext": "system_u:object_r:system_conf_t:s0",
    "size": 957,
    "state": "file",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "checksum": "e42fc51938b5d0ba538db0de4c1f1164fc0ac5f6",
    "dest": "/etc/yum.repos.d/epel-testing.repo",
    "gid": 0,
    "group": "root",
    "mode": "0644",
    "owner": "root",
    "path": "/etc/yum.repos.d/epel-testing.repo",
    "secontext": "system_u:object_r:system_conf_t:s0",
    "size": 1056,
    "state": "file",
    "uid": 0
}
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "msg": "",
    "rc": 0,
    "results": [
        "epel-release-7-11.noarch providing epel-release is already installed" 
    ]
}
centos7-devel.lobatolan.home | SUCCESS => {
    "ansible_facts": {
        "ntp_config_driftfile": "/var/lib/ntp/drift",
        "ntp_service_name": "ntpd" 
    },
    "ansible_included_var_files": [
        "/etc/ansible/roles/ntp/vars/RedHat.yml" 
    ],
    "changed": false
}
500 Server Error: Internal Server Error for url: https://centos7-devel.lobatolan.home/api/v2/hosts/facts
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "msg": "",
    "rc": 0,
    "results": [
        "ntp-4.2.6p5-25.el7.centos.2.x86_64 providing ntp is already installed" 
    ]
}
centos7-devel.lobatolan.home | SKIPPED
centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "checksum": "ff8f22dc9e7f6e845295bf961bc51d5dab024760",
    "dest": "/etc/ntp.conf",
    "gid": 0,
    "group": "root",
    "mode": "0644",
    "owner": "root",
    "path": "/etc/ntp.conf",
    "secontext": "system_u:object_r:net_conf_t:s0",
    "size": 484,
    "state": "file",
    "uid": 0
}
 [WARNING]: Ignoring "pattern" as it is not used in "systemd" 

centos7-devel.lobatolan.home | SUCCESS => {
    "changed": false,
    "enabled": true,
    "name": "ntpd",
    "state": "started",
    "status": {
        "ActiveEnterTimestamp": "Mon 2018-05-28 14:00:05 UTC",
        "ActiveEnterTimestampMonotonic": "29480187423",
        "ActiveExitTimestampMonotonic": "0",
        "ActiveState": "active",
        "After": "sntp.service ntpdate.service system.slice basic.target systemd-journald.socket tmp.mount syslog.target -.mount",
        "AllowIsolate": "no",
        "AmbientCapabilities": "0",
        "AssertResult": "yes",
        "AssertTimestamp": "Mon 2018-05-28 14:00:05 UTC",
        "AssertTimestampMonotonic": "29480162812",
        "Before": "shutdown.target chronyd.service multi-user.target",
        "BlockIOAccounting": "no",
        "BlockIOWeight": "18446744073709551615",
        "CPUAccounting": "no",
        "CPUQuotaPerSecUSec": "infinity",
        "CPUSchedulingPolicy": "0",
        "CPUSchedulingPriority": "0",
        "CPUSchedulingResetOnFork": "no",
        "CPUShares": "18446744073709551615",
        "CanIsolate": "no",
        "CanReload": "no",
        "CanStart": "yes",
        "CanStop": "yes",
        "CapabilityBoundingSet": "18446744073709551615",
        "ConditionResult": "yes",
        "ConditionTimestamp": "Mon 2018-05-28 14:00:05 UTC",
        "ConditionTimestampMonotonic": "29480162811",
        "ConflictedBy": "chronyd.service",
        "Conflicts": "shutdown.target",
        "ControlGroup": "/system.slice/ntpd.service",
        "ControlPID": "0",
        "DefaultDependencies": "yes",
        "Delegate": "no",
        "Description": "Network Time Service",
        "DevicePolicy": "auto",
        "EnvironmentFile": "/etc/sysconfig/ntpd (ignore_errors=yes)",
        "ExecMainCode": "0",
        "ExecMainExitTimestampMonotonic": "0",
        "ExecMainPID": "3360",
        "ExecMainStartTimestamp": "Mon 2018-05-28 14:00:05 UTC",
        "ExecMainStartTimestampMonotonic": "29480187388",
        "ExecMainStatus": "0",
        "ExecStart": "{ path=/usr/sbin/ntpd ; argv[]=/usr/sbin/ntpd -u ntp:ntp $OPTIONS ; ignore_errors=no ; start_time=[Mon 2018-05-28 14:00:05 UTC] ; stop_time=[Mon 2018-05-28 14:00:05 UTC] ; pid=3359 ; code=exited ; status=0 }",
        "FailureAction": "none",
        "FileDescriptorStoreMax": "0",
        "FragmentPath": "/usr/lib/systemd/system/ntpd.service",
        "GuessMainPID": "yes",
        "IOScheduling": "0",
        "Id": "ntpd.service",
        "IgnoreOnIsolate": "no",
        "IgnoreOnSnapshot": "no",
        "IgnoreSIGPIPE": "yes",
        "InactiveEnterTimestampMonotonic": "0",
        "InactiveExitTimestamp": "Mon 2018-05-28 14:00:05 UTC",
        "InactiveExitTimestampMonotonic": "29480164340",
        "JobTimeoutAction": "none",
        "JobTimeoutUSec": "0",
        "KillMode": "control-group",
        "KillSignal": "15",
        "LimitAS": "18446744073709551615",
        "LimitCORE": "18446744073709551615",
        "LimitCPU": "18446744073709551615",
        "LimitDATA": "18446744073709551615",
        "LimitFSIZE": "18446744073709551615",
        "LimitLOCKS": "18446744073709551615",
        "LimitMEMLOCK": "65536",
        "LimitMSGQUEUE": "819200",
        "LimitNICE": "0",
        "LimitNOFILE": "4096",
        "LimitNPROC": "23797",
        "LimitRSS": "18446744073709551615",
        "LimitRTPRIO": "0",
        "LimitRTTIME": "18446744073709551615",
        "LimitSIGPENDING": "23797",
        "LimitSTACK": "18446744073709551615",
        "LoadState": "loaded",
        "MainPID": "3360",
        "MemoryAccounting": "no",
        "MemoryCurrent": "18446744073709551615",
        "MemoryLimit": "18446744073709551615",
        "MountFlags": "0",
        "Names": "ntpd.service",
        "NeedDaemonReload": "no",
        "Nice": "0",
        "NoNewPrivileges": "no",
        "NonBlocking": "no",
        "NotifyAccess": "none",
        "OOMScoreAdjust": "0",
        "OnFailureJobMode": "replace",
        "PermissionsStartOnly": "no",
        "PrivateDevices": "no",
        "PrivateNetwork": "no",
        "PrivateTmp": "yes",
        "ProtectHome": "no",
        "ProtectSystem": "no",
        "RefuseManualStart": "no",
        "RefuseManualStop": "no",
        "RemainAfterExit": "no",
        "Requires": "-.mount basic.target",
        "RequiresMountsFor": "/var/tmp",
        "Restart": "no",
        "RestartUSec": "100ms",
        "Result": "success",
        "RootDirectoryStartOnly": "no",
        "RuntimeDirectoryMode": "0755",
        "SameProcessGroup": "no",
        "SecureBits": "0",
        "SendSIGHUP": "no",
        "SendSIGKILL": "yes",
        "Slice": "system.slice",
        "StandardError": "inherit",
        "StandardInput": "null",
        "StandardOutput": "journal",
        "StartLimitAction": "none",
        "StartLimitBurst": "5",
        "StartLimitInterval": "10000000",
        "StartupBlockIOWeight": "18446744073709551615",
        "StartupCPUShares": "18446744073709551615",
        "StatusErrno": "0",
        "StopWhenUnneeded": "no",
        "SubState": "running",
        "SyslogLevelPrefix": "yes",
        "SyslogPriority": "30",
        "SystemCallErrorNumber": "0",
        "TTYReset": "no",
        "TTYVHangup": "no",
        "TTYVTDisallocate": "no",
        "TasksAccounting": "no",
        "TasksCurrent": "18446744073709551615",
        "TasksMax": "18446744073709551615",
        "TimeoutStartUSec": "1min 30s",
        "TimeoutStopUSec": "1min 30s",
        "TimerSlackNSec": "50000",
        "Transient": "no",
        "Type": "forking",
        "UMask": "0022",
        "UnitFilePreset": "disabled",
        "UnitFileState": "enabled",
        "WantedBy": "multi-user.target",
        "Wants": "system.slice",
        "WatchdogTimestamp": "Mon 2018-05-28 14:00:05 UTC",
        "WatchdogTimestampMonotonic": "29480187404",
        "WatchdogUSec": "0" 
    }
}
Actions #2

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman_ansible/pull/174 added
Actions #3

Updated by Marek Hulán over 6 years ago

  • Translation missing: en.field_release set to 361
Actions #4

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF