Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Create/refactor lightbulb-control and lightbulb-instructor roles for provisioner #195

Open
tima opened this issue Sep 27, 2017 · 0 comments

Comments

@tima
Copy link
Collaborator

tima commented Sep 27, 2017

This is part of the refactor of the lab provisioner to create a more flexible lab provisioner to handle the expanding scope of lightbulb content. (See #141)

lightbulb-control

WAS: roles/control_node

NOTE: RHEL7/CentOS7 only here

  1. install and enable EPEL repos
  2. install base packages
    • vim
    • git
    • wget [NEW]
    • sshpass
  3. install ansible
    • pip or yum? needs to be an optional switch to install or not at a minimum. (Issue here)
  4. clone lightbulb -- locally to temp directory -- run once [NEW]
  5. synchronize applicable files from local repo into user home directory [NEW]
    • Skip if instructor?
  6. Install ansible.cfg and vimrc in home student directory
  7. Create lab inventory directory
    • necessary? just drop file in next step to home as “hosts”? if yes the ansible.cfg template needs to be updated.
  8. Upload student's static inventory file

lightbulb-instructor

[NEW] Fold into the lightbulb-control role and wrap in a block conditional?

NOTE: There could be multiple instructors -- how to flag users as instructors? boolean in users dict?

  1. upload instructor lab inventory
    • alternative static inventory to their personal lab inventory. Issue here.
  2. clone lightbulb to instructor home directory
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant