-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: more steps, full remote setup from factory #13
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find it difficult to provide much useful feedback here, not knowing what it takes to set up one of these PLCs. What's here looks good to me.
group_vars/tcbsd_vms/vars.yml
Outdated
use_psntp: false | ||
|
||
# set static IP on x000 (mac id 2) | ||
x000_static: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this would need to be filled, but it doesn't break anything now because we don't use the VMs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The intent here is that it is set to empty string, but maybe this is fundamentally unclear and I should add boolean switches for using the setting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do this clarity change and then I think this PR is done after that
tcbsd-provision-playbook.yaml
Outdated
@@ -44,8 +106,8 @@ | |||
ansible.builtin.pip: | |||
name: "{{ tc_install_pip_packages }}" | |||
|
|||
- name: Install pip | |||
# Packages only available via pip will be installed after this | |||
- name: Unstall pip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I swear I read the previous PR 😓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty upset at myself for unstall
vs uninstall
lol
I think this is everything we need for people to be able to run the script reliably once and get all the settings for a PLC program + IOC to be able to work.
It's possible that we'll also need a plc restart step, I'll add one after the next "from factory" go if needed.
Main additions:
Misc: