redhat-nfvpe / base-infra-bootstrap

Generic node bootstrap for virtual KVM or baremetal
Apache License 2.0
3 stars 4 forks source link

Clean up the inventory files herein #26

Closed dougbtv closed 6 years ago

dougbtv commented 6 years ago

There's some confusion about how to use them, there's too many and they're named poorly.

s1061123 commented 6 years ago

I am rewriting inventory file and current draft is following:

Comments are appreciated.

# Setup this host first, and put the IP here.
all:
  hosts:
    virt_host:
      ansible_host:  <IP ADDR>
      ansible_user: root

  vars:
    ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
    vm_disk_device: vdb

virthosts:
  hosts:
    virt_host
  vars:
    virtual_machines:
      - name: openshift-master
        node_type: master
        system_ram_mb: 24576
        system_cpus: 4
(snip)
      - name: openshift-node-2
        node_type: nodes
        system_ram_mb: 24576
        system_cpus: 4
    centos_genericcloud_url: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1801-01.qcow2
(snip)
    increase_root_size_gigs: 35
s1061123 commented 6 years ago

@dougbtv can we remove final.inventory in top directory, btw?

dougbtv commented 6 years ago

Absolutely, it's definitely misplaced and out date -- ok to remove, good eye, thanks!

On Thu, Mar 1, 2018, 4:11 AM Tomofumi Hayashi notifications@github.com wrote:

@dougbtv https://github.com/dougbtv can we remove final.inventory in top directory, btw?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/redhat-nfvpe/base-infra-bootstrap/issues/26#issuecomment-369526390, or mute the thread https://github.com/notifications/unsubscribe-auth/AFN_ve6GmIkPxtas0_p_XDlZvuCo4Yzvks5tZ7tUgaJpZM4SV6EF .

leifmadsen commented 6 years ago

Resolved by @s1061123