-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from klauer/ref_organization
REF: switch from host_inventory.yaml to LCLS-style directory structure
- Loading branch information
Showing
11 changed files
with
97 additions
and
59 deletions.
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 | ||
|