Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-1523

DO457-58: "Proper" way to convert a ini inventory to a yaml one.

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • DO457 - RHAE2.5 1 20180720
    • DO457
    • None
    • VT
    • en-US (English)

      URL:
      Reporter RHNID: larry.letelier
      Section: GE 4.4 - CREATING INVENTORIES USING YAML
      Language: en-US (English)
      Workaround: 1.3) ansible-inventory -i inventory.ini -y --list> inventory.yaml

      Description: since humans make mistakes when writing YAML and / or when a static inventory is too long.

      ansible-Inventory has an built-in way of doing this.

      1.3) ansible-inventory -i inventory.ini -y --list > inventory.yaml

      I uploaded the image with the procedure and the expected results for the rest of the exercise.

              rht-sbonnevi Steven Bonneville
              larry.letelier Larry L.N.
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: