-
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
REF: switch from host_inventory.yaml to LCLS-style directory structure #8
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
8d8a11c
REF: switch from host_inventory.yaml to LCLS-style directory structure
klauer 7e573d8
DOC: tweak readme
klauer 3bb6591
MNT: placeholder for host_vars
klauer 353a675
DOC: documentation links + update
klauer e97e661
FIX: host_inventory.yaml is removed
klauer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.DS_Store | ||
*_rsa | ||
*.pub | ||
# Only include the template: | ||
/host_inventory.yaml | ||
# Only include the templates here. | ||
/host_vars/*/*.yml | ||
TCBSD*.vdi | ||
TCBSD*.iso |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[defaults] | ||
inventory = ./inventory/ | ||
deprecation_warnings = True | ||
role_path = ./roles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
ansible_user: Administrator | ||
ansible_ssh_private_key_file: /Users/klauer/Repos/twincat-bsd-ansible-testing/tcbsd_key_rsa | ||
ansible_become: true | ||
ansible_become_method: doas | ||
ansible_become_password: 1 # TODO: vault | ||
ansible_python_interpreter: /usr/local/bin/python3 | ||
|
||
# This is the default of 32MB. Set to 67108864 for 64MB of router memory. | ||
tc_locked_memory_size_bytes: 33554432 | ||
|
||
# Heap memory size is not specified by default. If you wish to change the | ||
# default, set this to greater than 0 (e.g., 1024). This must be | ||
# greater than the locked memory size for the router, above. | ||
tc_heap_memory_size_mb: 0 | ||
# Install and use bash in place of sh: | ||
tc_use_bash: true | ||
# Install C/C++ development tools (approximately 1.8GB): | ||
tc_install_cpp_dev_tools: true | ||
|
||
# Install these additional packages: | ||
tc_packages_to_install: | ||
- git | ||
- vim | ||
- ripgrep | ||
|
||
# Configure the following static routes (and only those): | ||
# NOTE: if you don't want to run my arbitrary module, use this instead | ||
# of tc_add_missing_static_routes below | ||
tc_set_fixed_static_routes: [] | ||
|
||
# Alternatively, only add missing routes from the list: | ||
tc_add_missing_static_routes: | ||
- name: PC98125 | ||
address: 192.168.2.110 | ||
net_id: 192.168.2.110.1.1 |
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
plcs: | ||
children: | ||
tcbsd_plcs: | ||
|
||
tcbsd_plcs: | ||
hosts: | ||
test-plc-01: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
- hosts: plcs | ||
- hosts: tcbsd_plcs | ||
gather_facts: False | ||
|
||
tasks: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
ansible_host: ${PLC_IP} | ||
tc_ams_net_id: ${PLC_NET_ID} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
- hosts: plcs | ||
- hosts: tcbsd_plcs | ||
|
||
tasks: | ||
- name: Verify connectivity with ping | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Does this (and the rest of the file, for that matter) get templated / filled in some way? Or is this file just meant to be an example?
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.
A good catch - just an example (still probably something I should have changed before asking for a review to be honest...)