Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-1544

Flag on ansible.builtin.reboot to ignore missing facts

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 2.4
    • content
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      If the system facts for a host are missing, then ansible.builtin.reboot will not execute.

      "msg": "Failed to get distribution information. Missing \"ansible_distribution\" in output.", "_ansible_no_log": false

       

      There is a parameter on reboot to specify the reboot command, and there should be a flag to ignore the missing fact "ansible_distribution".

      There are times when system facts are not available on some linux distros.  You should still be able to use the reboot module.

              mferrari@redhat.com Massimo Ferrari
              rhn-support-gscarbor Gary Scarborough
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: