From 029c34b7162ee5ae7abf8e798d0280724e23bd29 Mon Sep 17 00:00:00 2001 From: Zachary Lentz Date: Tue, 23 Jul 2024 17:00:02 -0700 Subject: [PATCH 1/8] Automatic backup @ Tue Jul 23 17:00:02 PDT 2024 --- host_vars/plc-kfe-rix-vac-new/vars.yml | 132 +++++++++++++++++++++++++ inventory/plcs.yaml | 1 + 2 files changed, 133 insertions(+) create mode 100644 host_vars/plc-kfe-rix-vac-new/vars.yml diff --git a/host_vars/plc-kfe-rix-vac-new/vars.yml b/host_vars/plc-kfe-rix-vac-new/vars.yml new file mode 100644 index 0000000..4a774cd --- /dev/null +++ b/host_vars/plc-kfe-rix-vac-new/vars.yml @@ -0,0 +1,132 @@ +--- +ansible_host: plc-kfe-rix-vac-new +fixed_xar_version: 4026.3.55 + +# Uncomment any setting below and change it to override a default setting. +#ansible_user: Administrator +#ansible_become: true +#ansible_become_method: doas +#ansible_python_interpreter: /usr/local/bin/python3 +# +## freebsd packages are the standard internet packages for bsd +#enable_freebsd_packages: false +## tcbsd packages are the latest packages for tcbsd from Beckhoff +#enable_tcbsd_packages: false +## slac packages are a specific version-stamped mirror of tcbsd on the internal network +## this is required if you want control over your XAR version +#enable_slac_packages: true +# +## fixed XAR ensures you set up the PLC with a known runtime +## this requires a pkg mirror +## fixed XAR version should never be defined in a group file, only in a host file, to ensure no surprise updates +#set_fixed_xar: true +##fixed_xar_version: 4026.3.55 +# +## psproxy is needed to get freebsd and tcbsd packages +#use_psproxy: false +## an ntp config is needed to get any packages at all, psntp is the internal service at lcls +#use_psntp: true +# +## Dynamic AMS net id = set AMS net id to ip addr .1.1 +## Static AMS net id = set AMS net id to the value of tc_ams_net_id +#dynamic_ams: true +## tc_ams_net_id: 0.0.0.0.1.1 +# +## Extra user for non-admin activities +#create_user: true +#create_username: ecs-user +# +## set static IP on x000 (mac id 2) +#x000_set_static_ip: true +#x000_static_ip: 192.168.1.10 +# +## set static IP on x001 (mac id 1) +## Uses the DHCP assigned address, set statically +#x001_set_static_ip: false +# +## We can set the PLC's timezone, which is largely cosmetic +## See /usr/share/zoneinfo/ on the PLC for options +#set_plc_timezone: true +#plc_timezone: America/Los_Angeles +# +## 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: 2048 +## 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 +# +## Packages to install: +#tc_libraries: +## - TC31-OrderNo # Mapping of TwinCAT order numbers to TC/BSD package names +## - TC31-TcIoPtp # TcIoPtp | TC3 Precise Time Protocol +## - TC31-TcOsSys # TwinCAT runtime component TcOsSys.dll and TwinCAT license text +## - TC31-XAR # TwinCAT System Service +## - TC31-XAR-EtherCATSlave # TwinCAT EtherCATSlave driver +## - TCBSD-CrossBuildSDK # SDK for TC/BSD cross-compilation +## - TCBSD-Install-Scripts # TCBSD installer scripts +## - TF1810-PLC-HMI-Web # TF1810 | TC3 PLC HMI Web +## - TF2000-HMI-Server # TF2000-HMI-Server +## - TF3300-Scope-Server-IoT # +## - TF3500-Analytics-Logger # TF3500 | TC3 Analytics Logger +## - TF360x-Condition-Monitoring # TF360x | TC3 Condition Monitoring +## - TF3650-Power-Monitoring # TF3650 | TC3 Power Monitoring +## - TF3800-Machine-Learning # TF3800 | TC3 Machine Learning +## - TF5000-NC-PTP # TwinCAT NC PTP driver +## - TF5100-NCI # TF5100 | TC3 NC I +## - TF5210-CNC-E # TF5210 | TC3 CNC E +## - TF5850-XTS-Technology # TF5850 | XTS Technology +## - TF6000-ADS-Comm-Lib # TF6000 | TC3 ADS Communication Library +## - TF6100-OPC-UA-beta # TF6100 | TC3 OPC UA +## - TF6230-Parallel-Redundancy-Protocol # TF6230 | TC3 Parallel Redundancy Protocol +## - TF6250-Modbus-TCP # TF6250 | TC3 Modbus TCP +## - TF627x-PROFINET-RT # TwinCAT PROFINET RT driver +## - TF6280-EtherNetIP # This package was replaces by TF628x-EthernetIP +## - TF628x-EtherNetIP # TwinCAT EtherNet/IP driver +#- TF6310-TCP-IP # TF6310 | TC3 TCP/IP +## - TF6340-Serial-Communication-beta # TF6340 | TC3 Serial Communication +## - TF6420-Database-Server # TF6420 | TC3 Database Server +## - TF6421-XML-Server # TF6421 | TC3 XML Server +## - TF6620-S7-Comm # TF6620 | S7 Communication +## - TF8020-BACnet # TwinCAT BACnet driver +## - TF8310-Wind-Framework # TF8310 | TC3 Wind Framework +# +#tc_tools_packages: +# - TcAdsTool # TcAdsTool | Use the power of ADS from your command line +# - TcAmsLogger # TwinCAT ADS Monitor - AMS Logger +# # - TcBackup # Tools to easily create and restore full system backups +# # - TcBackup-Gui-Installer # Tools to easily create and restore full system backups +# # - TcCoreConf # TwinCAT CPU core configuration tool +# # - TcCppUtils2.0 # +# # - TcEventLoggerAdsProxy # TcEventLoggerAdsProxy +# # - TcImportCert # TcImportCert | Import TwinCAT OEM certificate data into TwinCAT registry +# # - TcPalDrv # TwinCAT PAL driver +# # - TcTypeSystem2.7 # +# # - TcTypeSystem2.8 # +# # - TcUsb # TwinCAT USB driver +# +#tc_packages_to_install: +# - git +# - vim +# - ripgrep +# +## Packages only available via pip can be installed using this. +## py39-pip will only be installed if you marked it here. +## As far as the security implications go: well, that's up to you! +#tc_install_pip_packages: +## - pytmc +## Uninstall pip after using it? +#tc_uninstall_pip: true +# +## 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: [] diff --git a/inventory/plcs.yaml b/inventory/plcs.yaml index dad3930..ba22556 100644 --- a/inventory/plcs.yaml +++ b/inventory/plcs.yaml @@ -25,6 +25,7 @@ tmo_all: plc-tmo-vac: rix_all: hosts: + plc-kfe-rix-vac-new: txi_all: hosts: lfe_all: From 3ed77b1ce1e6f0ef1bfc94b9466f290bb35bbea0 Mon Sep 17 00:00:00 2001 From: Zachary Lentz Date: Wed, 24 Jul 2024 17:00:02 -0700 Subject: [PATCH 2/8] Automatic backup @ Wed Jul 24 17:00:02 PDT 2024 --- host_vars/plc-kfe-rix-motion-new/vars.yml | 132 ++++++++++++++++++++++ inventory/plcs.yaml | 1 + 2 files changed, 133 insertions(+) create mode 100644 host_vars/plc-kfe-rix-motion-new/vars.yml diff --git a/host_vars/plc-kfe-rix-motion-new/vars.yml b/host_vars/plc-kfe-rix-motion-new/vars.yml new file mode 100644 index 0000000..3ebc8c4 --- /dev/null +++ b/host_vars/plc-kfe-rix-motion-new/vars.yml @@ -0,0 +1,132 @@ +--- +ansible_host: plc-kfe-rix-motion-new +fixed_xar_version: 4026.3.55 + +# Uncomment any setting below and change it to override a default setting. +#ansible_user: Administrator +#ansible_become: true +#ansible_become_method: doas +#ansible_python_interpreter: /usr/local/bin/python3 +# +## freebsd packages are the standard internet packages for bsd +#enable_freebsd_packages: false +## tcbsd packages are the latest packages for tcbsd from Beckhoff +#enable_tcbsd_packages: false +## slac packages are a specific version-stamped mirror of tcbsd on the internal network +## this is required if you want control over your XAR version +#enable_slac_packages: true +# +## fixed XAR ensures you set up the PLC with a known runtime +## this requires a pkg mirror +## fixed XAR version should never be defined in a group file, only in a host file, to ensure no surprise updates +#set_fixed_xar: true +##fixed_xar_version: 4026.3.55 +# +## psproxy is needed to get freebsd and tcbsd packages +#use_psproxy: false +## an ntp config is needed to get any packages at all, psntp is the internal service at lcls +#use_psntp: true +# +## Dynamic AMS net id = set AMS net id to ip addr .1.1 +## Static AMS net id = set AMS net id to the value of tc_ams_net_id +#dynamic_ams: true +## tc_ams_net_id: 0.0.0.0.1.1 +# +## Extra user for non-admin activities +#create_user: true +#create_username: ecs-user +# +## set static IP on x000 (mac id 2) +#x000_set_static_ip: true +#x000_static_ip: 192.168.1.10 +# +## set static IP on x001 (mac id 1) +## Uses the DHCP assigned address, set statically +#x001_set_static_ip: false +# +## We can set the PLC's timezone, which is largely cosmetic +## See /usr/share/zoneinfo/ on the PLC for options +#set_plc_timezone: true +#plc_timezone: America/Los_Angeles +# +## 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: 2048 +## 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 +# +## Packages to install: +#tc_libraries: +## - TC31-OrderNo # Mapping of TwinCAT order numbers to TC/BSD package names +## - TC31-TcIoPtp # TcIoPtp | TC3 Precise Time Protocol +## - TC31-TcOsSys # TwinCAT runtime component TcOsSys.dll and TwinCAT license text +## - TC31-XAR # TwinCAT System Service +## - TC31-XAR-EtherCATSlave # TwinCAT EtherCATSlave driver +## - TCBSD-CrossBuildSDK # SDK for TC/BSD cross-compilation +## - TCBSD-Install-Scripts # TCBSD installer scripts +## - TF1810-PLC-HMI-Web # TF1810 | TC3 PLC HMI Web +## - TF2000-HMI-Server # TF2000-HMI-Server +## - TF3300-Scope-Server-IoT # +## - TF3500-Analytics-Logger # TF3500 | TC3 Analytics Logger +## - TF360x-Condition-Monitoring # TF360x | TC3 Condition Monitoring +## - TF3650-Power-Monitoring # TF3650 | TC3 Power Monitoring +## - TF3800-Machine-Learning # TF3800 | TC3 Machine Learning +## - TF5000-NC-PTP # TwinCAT NC PTP driver +## - TF5100-NCI # TF5100 | TC3 NC I +## - TF5210-CNC-E # TF5210 | TC3 CNC E +## - TF5850-XTS-Technology # TF5850 | XTS Technology +## - TF6000-ADS-Comm-Lib # TF6000 | TC3 ADS Communication Library +## - TF6100-OPC-UA-beta # TF6100 | TC3 OPC UA +## - TF6230-Parallel-Redundancy-Protocol # TF6230 | TC3 Parallel Redundancy Protocol +## - TF6250-Modbus-TCP # TF6250 | TC3 Modbus TCP +## - TF627x-PROFINET-RT # TwinCAT PROFINET RT driver +## - TF6280-EtherNetIP # This package was replaces by TF628x-EthernetIP +## - TF628x-EtherNetIP # TwinCAT EtherNet/IP driver +#- TF6310-TCP-IP # TF6310 | TC3 TCP/IP +## - TF6340-Serial-Communication-beta # TF6340 | TC3 Serial Communication +## - TF6420-Database-Server # TF6420 | TC3 Database Server +## - TF6421-XML-Server # TF6421 | TC3 XML Server +## - TF6620-S7-Comm # TF6620 | S7 Communication +## - TF8020-BACnet # TwinCAT BACnet driver +## - TF8310-Wind-Framework # TF8310 | TC3 Wind Framework +# +#tc_tools_packages: +# - TcAdsTool # TcAdsTool | Use the power of ADS from your command line +# - TcAmsLogger # TwinCAT ADS Monitor - AMS Logger +# # - TcBackup # Tools to easily create and restore full system backups +# # - TcBackup-Gui-Installer # Tools to easily create and restore full system backups +# # - TcCoreConf # TwinCAT CPU core configuration tool +# # - TcCppUtils2.0 # +# # - TcEventLoggerAdsProxy # TcEventLoggerAdsProxy +# # - TcImportCert # TcImportCert | Import TwinCAT OEM certificate data into TwinCAT registry +# # - TcPalDrv # TwinCAT PAL driver +# # - TcTypeSystem2.7 # +# # - TcTypeSystem2.8 # +# # - TcUsb # TwinCAT USB driver +# +#tc_packages_to_install: +# - git +# - vim +# - ripgrep +# +## Packages only available via pip can be installed using this. +## py39-pip will only be installed if you marked it here. +## As far as the security implications go: well, that's up to you! +#tc_install_pip_packages: +## - pytmc +## Uninstall pip after using it? +#tc_uninstall_pip: true +# +## 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: [] diff --git a/inventory/plcs.yaml b/inventory/plcs.yaml index ba22556..394b8cb 100644 --- a/inventory/plcs.yaml +++ b/inventory/plcs.yaml @@ -25,6 +25,7 @@ tmo_all: plc-tmo-vac: rix_all: hosts: + plc-kfe-rix-motion-new: plc-kfe-rix-vac-new: txi_all: hosts: From 3bd5ba7f7d579b9a643009d25df9f9a2430a5164 Mon Sep 17 00:00:00 2001 From: Zachary Lentz Date: Mon, 29 Jul 2024 17:00:02 -0700 Subject: [PATCH 3/8] Automatic backup @ Mon Jul 29 17:00:02 PDT 2024 --- host_vars/plc-kfe-rix-motion/.vars.yml.un~ | Bin 0 -> 595 bytes .../vars.yml | 2 +- inventory/plcs.yaml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 host_vars/plc-kfe-rix-motion/.vars.yml.un~ rename host_vars/{plc-kfe-rix-motion-new => plc-kfe-rix-motion}/vars.yml (99%) diff --git a/host_vars/plc-kfe-rix-motion/.vars.yml.un~ b/host_vars/plc-kfe-rix-motion/.vars.yml.un~ new file mode 100644 index 0000000000000000000000000000000000000000..0651c0a845799b76af21bd401236d45c55092b83 GIT binary patch literal 595 zcmWH`%$*;a=aT=Ffr*33X!&Kb^|F5Q(_3&}cKq+)buNw!3=Azm ztdf{loSBr98lRD0Tw zL)r>adlran`~{Ez8URVb3}N^W1YqrGiblEA3ISkr*g>P?s|3(cQ1CMYF(}SKY@*`b IwDI{W0NN-z(f|Me literal 0 HcmV?d00001 diff --git a/host_vars/plc-kfe-rix-motion-new/vars.yml b/host_vars/plc-kfe-rix-motion/vars.yml similarity index 99% rename from host_vars/plc-kfe-rix-motion-new/vars.yml rename to host_vars/plc-kfe-rix-motion/vars.yml index 3ebc8c4..ba791fa 100644 --- a/host_vars/plc-kfe-rix-motion-new/vars.yml +++ b/host_vars/plc-kfe-rix-motion/vars.yml @@ -1,5 +1,5 @@ --- -ansible_host: plc-kfe-rix-motion-new +ansible_host: plc-kfe-rix-motion fixed_xar_version: 4026.3.55 # Uncomment any setting below and change it to override a default setting. diff --git a/inventory/plcs.yaml b/inventory/plcs.yaml index 394b8cb..1f3eb9e 100644 --- a/inventory/plcs.yaml +++ b/inventory/plcs.yaml @@ -25,7 +25,7 @@ tmo_all: plc-tmo-vac: rix_all: hosts: - plc-kfe-rix-motion-new: + plc-kfe-rix-motion: plc-kfe-rix-vac-new: txi_all: hosts: From 2947f2d9e2ea9cfb9025cedf1e97c9988f06c44c Mon Sep 17 00:00:00 2001 From: Zachary Lentz Date: Thu, 1 Aug 2024 17:00:02 -0700 Subject: [PATCH 4/8] Automatic backup @ Thu Aug 1 17:00:02 PDT 2024 --- host_vars/{plc-kfe-rix-vac-new => plc-kfe-rix-vac}/vars.yml | 2 +- inventory/plcs.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename host_vars/{plc-kfe-rix-vac-new => plc-kfe-rix-vac}/vars.yml (99%) diff --git a/host_vars/plc-kfe-rix-vac-new/vars.yml b/host_vars/plc-kfe-rix-vac/vars.yml similarity index 99% rename from host_vars/plc-kfe-rix-vac-new/vars.yml rename to host_vars/plc-kfe-rix-vac/vars.yml index 4a774cd..45cf2f0 100644 --- a/host_vars/plc-kfe-rix-vac-new/vars.yml +++ b/host_vars/plc-kfe-rix-vac/vars.yml @@ -1,5 +1,5 @@ --- -ansible_host: plc-kfe-rix-vac-new +ansible_host: plc-kfe-rix-vac fixed_xar_version: 4026.3.55 # Uncomment any setting below and change it to override a default setting. diff --git a/inventory/plcs.yaml b/inventory/plcs.yaml index 1f3eb9e..374bd28 100644 --- a/inventory/plcs.yaml +++ b/inventory/plcs.yaml @@ -26,7 +26,7 @@ tmo_all: rix_all: hosts: plc-kfe-rix-motion: - plc-kfe-rix-vac-new: + plc-kfe-rix-vac: txi_all: hosts: lfe_all: From 11368d3fb0bc7f888eaac603b64d88afdc45d1ec Mon Sep 17 00:00:00 2001 From: Zachary Lentz Date: Thu, 15 Aug 2024 17:00:03 -0700 Subject: [PATCH 5/8] Automatic backup @ Thu Aug 15 17:00:02 PDT 2024 --- host_vars/plc-dream-vacuum/vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host_vars/plc-dream-vacuum/vars.yml b/host_vars/plc-dream-vacuum/vars.yml index 5147f8a..4051902 100644 --- a/host_vars/plc-dream-vacuum/vars.yml +++ b/host_vars/plc-dream-vacuum/vars.yml @@ -42,7 +42,7 @@ fixed_xar_version: 4026.3.55 # ## set static IP on x001 (mac id 1) ## Uses the DHCP assigned address, set statically -x001_set_static_ip: true +x001_set_static_ip: false # ## We can set the PLC's timezone, which is largely cosmetic ## See /usr/share/zoneinfo/ on the PLC for options From 2596b7e344802cb603d7f8d4665128802d97d5ae Mon Sep 17 00:00:00 2001 From: Zachary Lentz Date: Wed, 28 Aug 2024 17:00:03 -0700 Subject: [PATCH 6/8] Automatic backup @ Wed Aug 28 17:00:03 PDT 2024 --- host_vars/plc-mec-jj-motion/vars.yml | 132 +++++++++++++++++++++++++++ inventory/plcs.yaml | 1 + 2 files changed, 133 insertions(+) create mode 100644 host_vars/plc-mec-jj-motion/vars.yml diff --git a/host_vars/plc-mec-jj-motion/vars.yml b/host_vars/plc-mec-jj-motion/vars.yml new file mode 100644 index 0000000..0125985 --- /dev/null +++ b/host_vars/plc-mec-jj-motion/vars.yml @@ -0,0 +1,132 @@ +--- +ansible_host: plc-mec-jj-motion +fixed_xar_version: 4026.3.55 + +# Uncomment any setting below and change it to override a default setting. +#ansible_user: Administrator +#ansible_become: true +#ansible_become_method: doas +#ansible_python_interpreter: /usr/local/bin/python3 +# +## freebsd packages are the standard internet packages for bsd +#enable_freebsd_packages: false +## tcbsd packages are the latest packages for tcbsd from Beckhoff +#enable_tcbsd_packages: false +## slac packages are a specific version-stamped mirror of tcbsd on the internal network +## this is required if you want control over your XAR version +#enable_slac_packages: true +# +## fixed XAR ensures you set up the PLC with a known runtime +## this requires a pkg mirror +## fixed XAR version should never be defined in a group file, only in a host file, to ensure no surprise updates +#set_fixed_xar: true +##fixed_xar_version: 4026.3.55 +# +## psproxy is needed to get freebsd and tcbsd packages +#use_psproxy: false +## an ntp config is needed to get any packages at all, psntp is the internal service at lcls +#use_psntp: true +# +## Dynamic AMS net id = set AMS net id to ip addr .1.1 +## Static AMS net id = set AMS net id to the value of tc_ams_net_id +#dynamic_ams: true +## tc_ams_net_id: 0.0.0.0.1.1 +# +## Extra user for non-admin activities +#create_user: true +#create_username: ecs-user +# +## set static IP on x000 (mac id 2) +#x000_set_static_ip: true +#x000_static_ip: 192.168.1.10 +# +## set static IP on x001 (mac id 1) +## Uses the DHCP assigned address, set statically +#x001_set_static_ip: false +# +## We can set the PLC's timezone, which is largely cosmetic +## See /usr/share/zoneinfo/ on the PLC for options +#set_plc_timezone: true +#plc_timezone: America/Los_Angeles +# +## 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: 2048 +## 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 +# +## Packages to install: +#tc_libraries: +## - TC31-OrderNo # Mapping of TwinCAT order numbers to TC/BSD package names +## - TC31-TcIoPtp # TcIoPtp | TC3 Precise Time Protocol +## - TC31-TcOsSys # TwinCAT runtime component TcOsSys.dll and TwinCAT license text +## - TC31-XAR # TwinCAT System Service +## - TC31-XAR-EtherCATSlave # TwinCAT EtherCATSlave driver +## - TCBSD-CrossBuildSDK # SDK for TC/BSD cross-compilation +## - TCBSD-Install-Scripts # TCBSD installer scripts +## - TF1810-PLC-HMI-Web # TF1810 | TC3 PLC HMI Web +## - TF2000-HMI-Server # TF2000-HMI-Server +## - TF3300-Scope-Server-IoT # +## - TF3500-Analytics-Logger # TF3500 | TC3 Analytics Logger +## - TF360x-Condition-Monitoring # TF360x | TC3 Condition Monitoring +## - TF3650-Power-Monitoring # TF3650 | TC3 Power Monitoring +## - TF3800-Machine-Learning # TF3800 | TC3 Machine Learning +## - TF5000-NC-PTP # TwinCAT NC PTP driver +## - TF5100-NCI # TF5100 | TC3 NC I +## - TF5210-CNC-E # TF5210 | TC3 CNC E +## - TF5850-XTS-Technology # TF5850 | XTS Technology +## - TF6000-ADS-Comm-Lib # TF6000 | TC3 ADS Communication Library +## - TF6100-OPC-UA-beta # TF6100 | TC3 OPC UA +## - TF6230-Parallel-Redundancy-Protocol # TF6230 | TC3 Parallel Redundancy Protocol +## - TF6250-Modbus-TCP # TF6250 | TC3 Modbus TCP +## - TF627x-PROFINET-RT # TwinCAT PROFINET RT driver +## - TF6280-EtherNetIP # This package was replaces by TF628x-EthernetIP +## - TF628x-EtherNetIP # TwinCAT EtherNet/IP driver +#- TF6310-TCP-IP # TF6310 | TC3 TCP/IP +## - TF6340-Serial-Communication-beta # TF6340 | TC3 Serial Communication +## - TF6420-Database-Server # TF6420 | TC3 Database Server +## - TF6421-XML-Server # TF6421 | TC3 XML Server +## - TF6620-S7-Comm # TF6620 | S7 Communication +## - TF8020-BACnet # TwinCAT BACnet driver +## - TF8310-Wind-Framework # TF8310 | TC3 Wind Framework +# +#tc_tools_packages: +# - TcAdsTool # TcAdsTool | Use the power of ADS from your command line +# - TcAmsLogger # TwinCAT ADS Monitor - AMS Logger +# # - TcBackup # Tools to easily create and restore full system backups +# # - TcBackup-Gui-Installer # Tools to easily create and restore full system backups +# # - TcCoreConf # TwinCAT CPU core configuration tool +# # - TcCppUtils2.0 # +# # - TcEventLoggerAdsProxy # TcEventLoggerAdsProxy +# # - TcImportCert # TcImportCert | Import TwinCAT OEM certificate data into TwinCAT registry +# # - TcPalDrv # TwinCAT PAL driver +# # - TcTypeSystem2.7 # +# # - TcTypeSystem2.8 # +# # - TcUsb # TwinCAT USB driver +# +#tc_packages_to_install: +# - git +# - vim +# - ripgrep +# +## Packages only available via pip can be installed using this. +## py39-pip will only be installed if you marked it here. +## As far as the security implications go: well, that's up to you! +#tc_install_pip_packages: +## - pytmc +## Uninstall pip after using it? +#tc_uninstall_pip: true +# +## 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: [] diff --git a/inventory/plcs.yaml b/inventory/plcs.yaml index 374bd28..db5f77d 100644 --- a/inventory/plcs.yaml +++ b/inventory/plcs.yaml @@ -42,6 +42,7 @@ cxi_all: hosts: mec_all: hosts: + plc-mec-jj-motion: las_all: hosts: plc-las-opcpa-eps-02: From d34155f76837da1405a174205ed27c70d0d5ec96 Mon Sep 17 00:00:00 2001 From: Zachary Lentz Date: Fri, 27 Sep 2024 17:00:03 -0700 Subject: [PATCH 7/8] Automatic backup @ Fri Sep 27 17:00:02 PDT 2024 --- host_vars/plc-qrix-mot/vars.yml | 132 ++++++++++++++++++++++++++++++++ inventory/plcs.yaml | 1 + 2 files changed, 133 insertions(+) create mode 100644 host_vars/plc-qrix-mot/vars.yml diff --git a/host_vars/plc-qrix-mot/vars.yml b/host_vars/plc-qrix-mot/vars.yml new file mode 100644 index 0000000..9bc3a2f --- /dev/null +++ b/host_vars/plc-qrix-mot/vars.yml @@ -0,0 +1,132 @@ +--- +ansible_host: plc-qrix-mot +fixed_xar_version: 4026.3.55 + +# Uncomment any setting below and change it to override a default setting. +#ansible_user: Administrator +#ansible_become: true +#ansible_become_method: doas +#ansible_python_interpreter: /usr/local/bin/python3 +# +## freebsd packages are the standard internet packages for bsd +#enable_freebsd_packages: false +## tcbsd packages are the latest packages for tcbsd from Beckhoff +#enable_tcbsd_packages: false +## slac packages are a specific version-stamped mirror of tcbsd on the internal network +## this is required if you want control over your XAR version +#enable_slac_packages: true +# +## fixed XAR ensures you set up the PLC with a known runtime +## this requires a pkg mirror +## fixed XAR version should never be defined in a group file, only in a host file, to ensure no surprise updates +#set_fixed_xar: true +##fixed_xar_version: 4026.3.55 +# +## psproxy is needed to get freebsd and tcbsd packages +#use_psproxy: false +## an ntp config is needed to get any packages at all, psntp is the internal service at lcls +#use_psntp: true +# +## Dynamic AMS net id = set AMS net id to ip addr .1.1 +## Static AMS net id = set AMS net id to the value of tc_ams_net_id +#dynamic_ams: true +## tc_ams_net_id: 0.0.0.0.1.1 +# +## Extra user for non-admin activities +#create_user: true +#create_username: ecs-user +# +## set static IP on x000 (mac id 2) +#x000_set_static_ip: true +#x000_static_ip: 192.168.1.10 +# +## set static IP on x001 (mac id 1) +## Uses the DHCP assigned address, set statically +#x001_set_static_ip: false +# +## We can set the PLC's timezone, which is largely cosmetic +## See /usr/share/zoneinfo/ on the PLC for options +#set_plc_timezone: true +#plc_timezone: America/Los_Angeles +# +## 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: 2048 +## 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 +# +## Packages to install: +#tc_libraries: +## - TC31-OrderNo # Mapping of TwinCAT order numbers to TC/BSD package names +## - TC31-TcIoPtp # TcIoPtp | TC3 Precise Time Protocol +## - TC31-TcOsSys # TwinCAT runtime component TcOsSys.dll and TwinCAT license text +## - TC31-XAR # TwinCAT System Service +## - TC31-XAR-EtherCATSlave # TwinCAT EtherCATSlave driver +## - TCBSD-CrossBuildSDK # SDK for TC/BSD cross-compilation +## - TCBSD-Install-Scripts # TCBSD installer scripts +## - TF1810-PLC-HMI-Web # TF1810 | TC3 PLC HMI Web +## - TF2000-HMI-Server # TF2000-HMI-Server +## - TF3300-Scope-Server-IoT # +## - TF3500-Analytics-Logger # TF3500 | TC3 Analytics Logger +## - TF360x-Condition-Monitoring # TF360x | TC3 Condition Monitoring +## - TF3650-Power-Monitoring # TF3650 | TC3 Power Monitoring +## - TF3800-Machine-Learning # TF3800 | TC3 Machine Learning +## - TF5000-NC-PTP # TwinCAT NC PTP driver +## - TF5100-NCI # TF5100 | TC3 NC I +## - TF5210-CNC-E # TF5210 | TC3 CNC E +## - TF5850-XTS-Technology # TF5850 | XTS Technology +## - TF6000-ADS-Comm-Lib # TF6000 | TC3 ADS Communication Library +## - TF6100-OPC-UA-beta # TF6100 | TC3 OPC UA +## - TF6230-Parallel-Redundancy-Protocol # TF6230 | TC3 Parallel Redundancy Protocol +## - TF6250-Modbus-TCP # TF6250 | TC3 Modbus TCP +## - TF627x-PROFINET-RT # TwinCAT PROFINET RT driver +## - TF6280-EtherNetIP # This package was replaces by TF628x-EthernetIP +## - TF628x-EtherNetIP # TwinCAT EtherNet/IP driver +#- TF6310-TCP-IP # TF6310 | TC3 TCP/IP +## - TF6340-Serial-Communication-beta # TF6340 | TC3 Serial Communication +## - TF6420-Database-Server # TF6420 | TC3 Database Server +## - TF6421-XML-Server # TF6421 | TC3 XML Server +## - TF6620-S7-Comm # TF6620 | S7 Communication +## - TF8020-BACnet # TwinCAT BACnet driver +## - TF8310-Wind-Framework # TF8310 | TC3 Wind Framework +# +#tc_tools_packages: +# - TcAdsTool # TcAdsTool | Use the power of ADS from your command line +# - TcAmsLogger # TwinCAT ADS Monitor - AMS Logger +# # - TcBackup # Tools to easily create and restore full system backups +# # - TcBackup-Gui-Installer # Tools to easily create and restore full system backups +# # - TcCoreConf # TwinCAT CPU core configuration tool +# # - TcCppUtils2.0 # +# # - TcEventLoggerAdsProxy # TcEventLoggerAdsProxy +# # - TcImportCert # TcImportCert | Import TwinCAT OEM certificate data into TwinCAT registry +# # - TcPalDrv # TwinCAT PAL driver +# # - TcTypeSystem2.7 # +# # - TcTypeSystem2.8 # +# # - TcUsb # TwinCAT USB driver +# +#tc_packages_to_install: +# - git +# - vim +# - ripgrep +# +## Packages only available via pip can be installed using this. +## py39-pip will only be installed if you marked it here. +## As far as the security implications go: well, that's up to you! +#tc_install_pip_packages: +## - pytmc +## Uninstall pip after using it? +#tc_uninstall_pip: true +# +## 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: [] diff --git a/inventory/plcs.yaml b/inventory/plcs.yaml index db5f77d..9de0a0f 100644 --- a/inventory/plcs.yaml +++ b/inventory/plcs.yaml @@ -27,6 +27,7 @@ rix_all: hosts: plc-kfe-rix-motion: plc-kfe-rix-vac: + plc-qrix-mot: txi_all: hosts: lfe_all: From 50d586fdcfa4fafb8318255c35bf4073e9c70443 Mon Sep 17 00:00:00 2001 From: Zachary Lentz Date: Wed, 16 Oct 2024 17:00:02 -0700 Subject: [PATCH 8/8] Automatic backup @ Wed Oct 16 17:00:02 PDT 2024 --- host_vars/plc-cxi-user/vars.yml | 132 ++++++++++++++++++++++++++++++++ inventory/plcs.yaml | 1 + 2 files changed, 133 insertions(+) create mode 100644 host_vars/plc-cxi-user/vars.yml diff --git a/host_vars/plc-cxi-user/vars.yml b/host_vars/plc-cxi-user/vars.yml new file mode 100644 index 0000000..d7f50c2 --- /dev/null +++ b/host_vars/plc-cxi-user/vars.yml @@ -0,0 +1,132 @@ +--- +ansible_host: plc-cxi-user +fixed_xar_version: 4026.3.55 + +# Uncomment any setting below and change it to override a default setting. +#ansible_user: Administrator +#ansible_become: true +#ansible_become_method: doas +#ansible_python_interpreter: /usr/local/bin/python3 +# +## freebsd packages are the standard internet packages for bsd +#enable_freebsd_packages: false +## tcbsd packages are the latest packages for tcbsd from Beckhoff +#enable_tcbsd_packages: false +## slac packages are a specific version-stamped mirror of tcbsd on the internal network +## this is required if you want control over your XAR version +#enable_slac_packages: true +# +## fixed XAR ensures you set up the PLC with a known runtime +## this requires a pkg mirror +## fixed XAR version should never be defined in a group file, only in a host file, to ensure no surprise updates +#set_fixed_xar: true +##fixed_xar_version: 4026.3.55 +# +## psproxy is needed to get freebsd and tcbsd packages +#use_psproxy: false +## an ntp config is needed to get any packages at all, psntp is the internal service at lcls +#use_psntp: true +# +## Dynamic AMS net id = set AMS net id to ip addr .1.1 +## Static AMS net id = set AMS net id to the value of tc_ams_net_id +#dynamic_ams: true +## tc_ams_net_id: 0.0.0.0.1.1 +# +## Extra user for non-admin activities +#create_user: true +#create_username: ecs-user +# +## set static IP on x000 (mac id 2) +#x000_set_static_ip: true +#x000_static_ip: 192.168.1.10 +# +## set static IP on x001 (mac id 1) +## Uses the DHCP assigned address, set statically +#x001_set_static_ip: false +# +## We can set the PLC's timezone, which is largely cosmetic +## See /usr/share/zoneinfo/ on the PLC for options +#set_plc_timezone: true +#plc_timezone: America/Los_Angeles +# +## 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: 2048 +## 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 +# +## Packages to install: +#tc_libraries: +## - TC31-OrderNo # Mapping of TwinCAT order numbers to TC/BSD package names +## - TC31-TcIoPtp # TcIoPtp | TC3 Precise Time Protocol +## - TC31-TcOsSys # TwinCAT runtime component TcOsSys.dll and TwinCAT license text +## - TC31-XAR # TwinCAT System Service +## - TC31-XAR-EtherCATSlave # TwinCAT EtherCATSlave driver +## - TCBSD-CrossBuildSDK # SDK for TC/BSD cross-compilation +## - TCBSD-Install-Scripts # TCBSD installer scripts +## - TF1810-PLC-HMI-Web # TF1810 | TC3 PLC HMI Web +## - TF2000-HMI-Server # TF2000-HMI-Server +## - TF3300-Scope-Server-IoT # +## - TF3500-Analytics-Logger # TF3500 | TC3 Analytics Logger +## - TF360x-Condition-Monitoring # TF360x | TC3 Condition Monitoring +## - TF3650-Power-Monitoring # TF3650 | TC3 Power Monitoring +## - TF3800-Machine-Learning # TF3800 | TC3 Machine Learning +## - TF5000-NC-PTP # TwinCAT NC PTP driver +## - TF5100-NCI # TF5100 | TC3 NC I +## - TF5210-CNC-E # TF5210 | TC3 CNC E +## - TF5850-XTS-Technology # TF5850 | XTS Technology +## - TF6000-ADS-Comm-Lib # TF6000 | TC3 ADS Communication Library +## - TF6100-OPC-UA-beta # TF6100 | TC3 OPC UA +## - TF6230-Parallel-Redundancy-Protocol # TF6230 | TC3 Parallel Redundancy Protocol +## - TF6250-Modbus-TCP # TF6250 | TC3 Modbus TCP +## - TF627x-PROFINET-RT # TwinCAT PROFINET RT driver +## - TF6280-EtherNetIP # This package was replaces by TF628x-EthernetIP +## - TF628x-EtherNetIP # TwinCAT EtherNet/IP driver +#- TF6310-TCP-IP # TF6310 | TC3 TCP/IP +## - TF6340-Serial-Communication-beta # TF6340 | TC3 Serial Communication +## - TF6420-Database-Server # TF6420 | TC3 Database Server +## - TF6421-XML-Server # TF6421 | TC3 XML Server +## - TF6620-S7-Comm # TF6620 | S7 Communication +## - TF8020-BACnet # TwinCAT BACnet driver +## - TF8310-Wind-Framework # TF8310 | TC3 Wind Framework +# +#tc_tools_packages: +# - TcAdsTool # TcAdsTool | Use the power of ADS from your command line +# - TcAmsLogger # TwinCAT ADS Monitor - AMS Logger +# # - TcBackup # Tools to easily create and restore full system backups +# # - TcBackup-Gui-Installer # Tools to easily create and restore full system backups +# # - TcCoreConf # TwinCAT CPU core configuration tool +# # - TcCppUtils2.0 # +# # - TcEventLoggerAdsProxy # TcEventLoggerAdsProxy +# # - TcImportCert # TcImportCert | Import TwinCAT OEM certificate data into TwinCAT registry +# # - TcPalDrv # TwinCAT PAL driver +# # - TcTypeSystem2.7 # +# # - TcTypeSystem2.8 # +# # - TcUsb # TwinCAT USB driver +# +#tc_packages_to_install: +# - git +# - vim +# - ripgrep +# +## Packages only available via pip can be installed using this. +## py39-pip will only be installed if you marked it here. +## As far as the security implications go: well, that's up to you! +#tc_install_pip_packages: +## - pytmc +## Uninstall pip after using it? +#tc_uninstall_pip: true +# +## 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: [] diff --git a/inventory/plcs.yaml b/inventory/plcs.yaml index 9de0a0f..76b1208 100644 --- a/inventory/plcs.yaml +++ b/inventory/plcs.yaml @@ -41,6 +41,7 @@ mfx_all: hosts: cxi_all: hosts: + plc-cxi-user: mec_all: hosts: plc-mec-jj-motion: