---
- name: ensure a list of packages installed
  yum:
    name: "{{ packages }}"
    state: latest
  vars:
    packages:
    - lustre-client
    - kmod-lustre-client
  become: true
  become_user: root

- name: Unconditionally reboot the machine with all defaults
  reboot:
  become: true
  become_user: root
