From c1e20b79ae4aa298eaac205287daf5d18cda141b Mon Sep 17 00:00:00 2001 From: hitchhooker Date: Sat, 3 Feb 2024 12:08:04 +0700 Subject: [PATCH] fd '\.yaml$' | xargs rg '^\.\.\.$' -l | while read file; do sed -i '$ d' ; done --- group_vars/all/all.yaml | 1 - group_vars/arbitrum.yaml | 1 - group_vars/avalanche.yaml | 1 - group_vars/binance.yaml | 1 - group_vars/cumulus.yaml | 1 - group_vars/defikingdom.yaml | 1 - group_vars/encointer.yaml | 1 - group_vars/erigon.yaml | 1 - group_vars/ethereum.yaml | 1 - group_vars/evmos.yaml | 1 - group_vars/hardware.yaml | 1 - group_vars/kava.yaml | 1 - group_vars/klaytn.yaml | 1 - group_vars/moonbeam.yaml | 1 - group_vars/optimism.yaml | 1 - group_vars/polkadot.yaml | 1 - group_vars/polygon.yaml | 1 - group_vars/proxmox_hosts.yaml | 1 - group_vars/proxmox_nodes.yaml | 1 - group_vars/routers.yaml | 1 - host_vars/ansible.yaml | 1 - host_vars/bkk00.yaml | 1 - host_vars/bkk01.yaml | 1 - host_vars/bkk02.yaml | 1 - host_vars/bkk03.yaml | 1 - host_vars/bkk04.yaml | 1 - host_vars/bkk05.yaml | 1 - host_vars/bkk06.yaml | 1 - host_vars/dot01.yaml | 1 - host_vars/dot02.yaml | 1 - host_vars/dot03.yaml | 1 - host_vars/dot04.yaml | 1 - host_vars/dot14.yaml | 1 - host_vars/dot23.yaml | 1 - host_vars/dot24.yaml | 1 - host_vars/dot26.yaml | 1 - host_vars/enc14.yaml | 1 - host_vars/enc24.yaml | 1 - host_vars/enc26.yaml | 1 - host_vars/gatus.yaml | 1 - host_vars/ibp.yaml | 1 - host_vars/kbr13.yaml | 1 - host_vars/kbr24.yaml | 1 - host_vars/kbr26.yaml | 1 - host_vars/ksm01.yaml | 1 - host_vars/ksm02.yaml | 1 - host_vars/ksm03.yaml | 1 - host_vars/ksm04.yaml | 1 - host_vars/ksm14.yaml | 1 - host_vars/ksm23.yaml | 1 - host_vars/ksm24.yaml | 1 - host_vars/ksm26.yaml | 1 - host_vars/kvm01.yaml | 1 - host_vars/kvm02.yaml | 1 - host_vars/kvm03.yaml | 1 - host_vars/kvm04.yaml | 1 - host_vars/kvm06.yaml | 1 - host_vars/matrix.yaml | 1 - host_vars/mine14.yaml | 1 - host_vars/mine24.yaml | 1 - host_vars/mine26.yaml | 1 - host_vars/mint14.yaml | 1 - host_vars/mint23.yaml | 1 - host_vars/mint26.yaml | 1 - host_vars/monitor.yaml | 1 - host_vars/pbr13.yaml | 1 - host_vars/pbr26.yaml | 1 - host_vars/pch13.yaml | 1 - host_vars/pch26.yaml | 1 - host_vars/pso01.yaml | 1 - host_vars/pso02.yaml | 1 - host_vars/pso06.yaml | 1 - host_vars/pso16.yaml | 1 - host_vars/pso26.yaml | 1 - host_vars/wbr13.yaml | 1 - host_vars/wbr24.yaml | 1 - host_vars/wbr26.yaml | 1 - host_vars/wch13.yaml | 1 - host_vars/wch26.yaml | 1 - host_vars/wmint14.yaml | 1 - host_vars/wmint23.yaml | 1 - host_vars/wmint26.yaml | 1 - host_vars/wnd14.yaml | 1 - host_vars/wnd23.yaml | 1 - host_vars/wnd24.yaml | 1 - host_vars/wnd26.yaml | 1 - host_vars/zabbix.yaml | 1 - playbooks/acl_development.yaml | 1 - playbooks/all.yaml | 1 - playbooks/arbitrum.yaml | 1 - playbooks/basic_installation.yaml | 1 - playbooks/binance.yaml | 1 - playbooks/cumulus.yaml | 1 - playbooks/encointer.yaml | 1 - playbooks/erigon.yaml | 1 - playbooks/ethereum.yaml | 1 - playbooks/evmos.yaml | 1 - playbooks/kava.yaml | 1 - playbooks/monitoring.yaml | 1 - playbooks/moonbeam.yaml | 1 - playbooks/networkid_pk_backup.yaml | 1 - playbooks/optimism.yaml | 1 - playbooks/polkadot.yaml | 1 - playbooks/polkadot_rotate.yaml | 1 - playbooks/proxmox_install_nodes.yaml | 1 - playbooks/proxmox_install_on_debian_host.yaml | 1 - playbooks/restart.yaml | 13 ++++ playbooks/test_router.yaml | 1 - playbooks/unvault.yaml | 1 - playbooks/user_management.yaml | 1 - requirements.yaml | 1 - roles/proxmox_acl_access/tasks/main.yaml | 1 - roles/proxmox_acl_groups/tasks/main.yaml | 1 - roles/proxmox_acl_tokens/handlers/main.yaml | 1 - roles/proxmox_acl_tokens/meta/main.yaml | 1 - roles/proxmox_acl_tokens/tasks/main.yaml | 1 - roles/proxmox_acl_users/tasks/main.yaml | 1 - .../proxmox_debian_gpgkeys/defaults/main.yaml | 1 - roles/proxmox_debian_gpgkeys/meta/main.yaml | 1 - roles/proxmox_debian_gpgkeys/tasks/main.yaml | 1 - .../handlers/main.yaml | 1 - .../tasks/main.yaml | 1 - .../proxmox_debian_repository/tasks/main.yaml | 1 - .../tasks/main.yaml | 1 - .../proxmox_full_installation/meta/main.yaml | 1 - .../tasks/main.yaml | 1 - roles/proxmox_secure_node/tasks/main.yaml | 1 - roles/proxmox_setup_nodes/handlers/main.yaml | 1 - roles/proxmox_setup_nodes/tasks/main.yaml | 1 - .../proxmox_setup_storage/defaults/main.yaml | 1 - roles/proxmox_setup_storage/tasks/main.yaml | 1 - roles/setup_add_node_role/handlers/main.yaml | 1 - roles/setup_add_node_role/meta/main.yaml | 1 - roles/setup_add_node_role/tasks/main.yaml | 1 - roles/setup_ansible_facts/tasks/main.yaml | 1 - roles/setup_config_sysctl/tasks/main.yaml | 1 - .../handlers/main.yaml | 1 - roles/setup_debian_repository/meta/main.yaml | 1 - roles/setup_debian_repository/tasks/main.yaml | 1 - roles/setup_disable_services/tasks/main.yaml | 1 - .../setup_install_arbitrum/handlers/main.yaml | 1 - roles/setup_install_arbitrum/meta/main.yaml | 1 - roles/setup_install_arbitrum/tasks/main.yaml | 1 - .../handlers/main.yaml | 1 - roles/setup_install_avalanche/meta/main.yaml | 1 - roles/setup_install_avalanche/tasks/main.yaml | 1 - .../setup_install_basic_tools/tasks/main.yaml | 1 - .../setup_install_binance/handlers/main.yaml | 1 - roles/setup_install_binance/meta/main.yaml | 1 - roles/setup_install_binance/tasks/main.yaml | 1 - .../setup_install_cumulus/handlers/main.yaml | 1 - roles/setup_install_cumulus/meta/main.yaml | 1 - roles/setup_install_cumulus/tasks/main.yaml | 1 - .../handlers/main.yaml | 1 - roles/setup_install_encointer/meta/main.yaml | 1 - roles/setup_install_encointer/tasks/main.yaml | 1 - roles/setup_install_erigon/handlers/main.yaml | 1 - roles/setup_install_erigon/meta/main.yaml | 1 - roles/setup_install_erigon/tasks/main.yaml | 1 - .../setup_install_ethereum/handlers/main.yaml | 1 - roles/setup_install_ethereum/meta/main.yaml | 1 - roles/setup_install_ethereum/tasks/main.yaml | 1 - roles/setup_install_evmos/handlers/main.yaml | 1 - roles/setup_install_evmos/meta/main.yaml | 1 - roles/setup_install_evmos/tasks/main.yaml | 1 - .../setup_install_foundry/handlers/main.yaml | 1 - roles/setup_install_foundry/meta/main.yaml | 1 - roles/setup_install_foundry/tasks/main.yaml | 1 - roles/setup_install_golang/handlers/main.yaml | 1 - roles/setup_install_golang/meta/main.yaml | 1 - roles/setup_install_golang/tasks/main.yaml | 1 - roles/setup_install_kava/handlers/main.yaml | 1 - roles/setup_install_kava/meta/main.yaml | 1 - roles/setup_install_kava/tasks/main.yaml | 1 - .../handlers/main.yaml | 1 - roles/setup_install_lighthouse/meta/main.yaml | 1 - .../setup_install_lighthouse/tasks/main.yaml | 1 - .../setup_install_moonbeam/handlers/main.yaml | 1 - roles/setup_install_moonbeam/meta/main.yaml | 1 - roles/setup_install_moonbeam/tasks/main.yaml | 1 - roles/setup_install_nginx/handlers/main.yaml | 1 - .../tasks/loadbalancer.yaml | 1 - roles/setup_install_nginx/tasks/main.yaml | 1 - roles/setup_install_nodejs/handlers/main.yaml | 1 - roles/setup_install_nodejs/tasks/main.yaml | 1 - .../setup_install_optimism/handlers/main.yaml | 1 - roles/setup_install_optimism/meta/main.yaml | 1 - roles/setup_install_optimism/tasks/main.yaml | 1 - .../setup_install_polkadot/handlers/main.yaml | 1 - roles/setup_install_polkadot/meta/main.yaml | 1 - roles/setup_install_polkadot/tasks/main.yaml | 1 - .../setup_install_postfix/handlers/main.yaml | 1 - roles/setup_install_postfix/meta/main.yaml | 1 - roles/setup_install_postfix/tasks/main.yaml | 1 - .../setup_install_prometheus/tasks/main.yaml | 1 - .../tasks/prometheus-tasks.yaml | 1 - roles/setup_install_rust/handlers/main.yaml | 1 - roles/setup_install_rust/meta/main.yaml | 1 - roles/setup_install_rust/tasks/main.yaml | 1 - .../defaults/main.yaml | 1 - .../handlers/main.yaml | 1 - roles/setup_install_wireguard/meta/main.yaml | 1 - roles/setup_install_wireguard/tasks/main.yaml | 1 - .../defaults/main.yaml | 1 - .../handlers/main.yaml | 1 - .../tasks/main.yaml | 1 - roles/setup_kernel_modules/meta/main.yaml | 1 - roles/setup_kernel_modules/tasks/main.yaml | 1 - roles/setup_log_rotation/handlers/main.yaml | 1 - roles/setup_log_rotation/meta/main.yaml | 1 - roles/setup_log_rotation/tasks/main.yaml | 1 - .../handlers/main.yaml | 1 - .../setup_networking_iptables/meta/main.yaml | 1 - .../setup_networking_iptables/tasks/main.yaml | 1 - .../setup_networking_iptables/vars/main.yaml | 1 - .../setup_networking_routeros/meta/main.yaml | 1 - .../setup_networking_routeros/tasks/main.yaml | 1 - .../handlers/main.yaml | 1 - .../setup_set_default_locale/tasks/main.yaml | 1 - roles/setup_set_hostname/tasks/main.yaml | 1 - roles/setup_set_timezone/handlers/main.yaml | 1 - roles/setup_set_timezone/tasks/main.yaml | 1 - roles/setup_user_management/tasks/main.yaml | 1 - scripts/calc_cores.sh | 13 ++++ scripts/regdo | 60 +++++++++++++++++++ 225 files changed, 86 insertions(+), 222 deletions(-) create mode 100644 playbooks/restart.yaml create mode 100755 scripts/calc_cores.sh create mode 100755 scripts/regdo diff --git a/group_vars/all/all.yaml b/group_vars/all/all.yaml index 2acaeb4..4747665 100644 --- a/group_vars/all/all.yaml +++ b/group_vars/all/all.yaml @@ -166,4 +166,3 @@ service_users: polygon: "polygon" polkadot: "polkadot" optimism: "optimism" -... diff --git a/group_vars/arbitrum.yaml b/group_vars/arbitrum.yaml index 721d7aa..00c8426 100644 --- a/group_vars/arbitrum.yaml +++ b/group_vars/arbitrum.yaml @@ -44,4 +44,3 @@ default_packages: - librocksdb-dev - libboost-all-dev - logrotate -... diff --git a/group_vars/avalanche.yaml b/group_vars/avalanche.yaml index 17443b7..8e3550b 100644 --- a/group_vars/avalanche.yaml +++ b/group_vars/avalanche.yaml @@ -18,4 +18,3 @@ avalanche_staking_port: "9651" avalanche_enable_swimmer: False default_max_open_files_in_service: 32768 -... diff --git a/group_vars/binance.yaml b/group_vars/binance.yaml index 09899e0..40bdf73 100644 --- a/group_vars/binance.yaml +++ b/group_vars/binance.yaml @@ -17,4 +17,3 @@ binance_ipc_path: "{{ binance_base }}/geth.ipc" binance_user: "{{ service_users['binance'] }}" binance_archive_node: False -... diff --git a/group_vars/cumulus.yaml b/group_vars/cumulus.yaml index 0b24800..4d5ff55 100644 --- a/group_vars/cumulus.yaml +++ b/group_vars/cumulus.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9400 default_secure_rpc_port: 42400 default_prom_port: 7400 zabbix_ext_port: 10400 -... diff --git a/group_vars/defikingdom.yaml b/group_vars/defikingdom.yaml index 6a2192b..920f087 100644 --- a/group_vars/defikingdom.yaml +++ b/group_vars/defikingdom.yaml @@ -20,4 +20,3 @@ defikingdom_staking_port: "9651" defikingdom_enable_swimmer: False default_max_open_files_in_service: 32768 -... diff --git a/group_vars/encointer.yaml b/group_vars/encointer.yaml index b6b70eb..7df0ea8 100644 --- a/group_vars/encointer.yaml +++ b/group_vars/encointer.yaml @@ -19,4 +19,3 @@ default_rpc_port: 9000 default_secure_rpc_port: 42000 default_prom_port: 7000 zabbix_ext_port: 10000 -... diff --git a/group_vars/erigon.yaml b/group_vars/erigon.yaml index 92f7189..7a15a93 100644 --- a/group_vars/erigon.yaml +++ b/group_vars/erigon.yaml @@ -53,4 +53,3 @@ erigon_gno_bt_port: 42269 erigon_gno_sentry_port: 4020 erigon_gno_sentry2_port: 4021 erigon_gno_http_api: "engine,eth,erigon,ots,web3,net,debug,trace,txpool,shh" -... diff --git a/group_vars/ethereum.yaml b/group_vars/ethereum.yaml index d5570e7..608aa97 100644 --- a/group_vars/ethereum.yaml +++ b/group_vars/ethereum.yaml @@ -23,4 +23,3 @@ ethereum_http_port: 8545 ethereum_ws_port: 8546 ethereum_lighthouse_beacon_port: 9000 ethereum_cache_size: 4096 -... diff --git a/group_vars/evmos.yaml b/group_vars/evmos.yaml index c506ac8..8e939c7 100644 --- a/group_vars/evmos.yaml +++ b/group_vars/evmos.yaml @@ -45,4 +45,3 @@ evmos_timeout_broadcast_tx_commit: 60s evmos_min_gas_prices: "10000" evmos_mempool_size: 5000 evmos_api_namespaces: eth,net,web3,txpool -... diff --git a/group_vars/hardware.yaml b/group_vars/hardware.yaml index 0b4f944..293f07f 100644 --- a/group_vars/hardware.yaml +++ b/group_vars/hardware.yaml @@ -29,4 +29,3 @@ default_packages: - logrotate - rsync - nvme-cli -... diff --git a/group_vars/kava.yaml b/group_vars/kava.yaml index 8386e0d..fa7e83f 100644 --- a/group_vars/kava.yaml +++ b/group_vars/kava.yaml @@ -45,4 +45,3 @@ kava_timeout_broadcast_tx_commit: 60s kava_min_gas_prices: "10000" kava_mempool_size: 5000 kava_api_namespaces: eth,net,web3,txpool -... diff --git a/group_vars/klaytn.yaml b/group_vars/klaytn.yaml index df60184..c8e9079 100644 --- a/group_vars/klaytn.yaml +++ b/group_vars/klaytn.yaml @@ -14,4 +14,3 @@ klaytn_rpc_port: 8551 klaytn_ws_port: 8552 klaytn_bridge_port: 50505 klaytn_ws_api: "klay,eth,net,web3,rpc,txpool" -... diff --git a/group_vars/moonbeam.yaml b/group_vars/moonbeam.yaml index b3e4fe8..9c023d0 100644 --- a/group_vars/moonbeam.yaml +++ b/group_vars/moonbeam.yaml @@ -14,4 +14,3 @@ moonbeam_chain_port: 30334 moonbeam_chain_rpc_port: 9934 moonbeam_chain_ws_port: 9945 moonbeam_pruning: archive -... diff --git a/group_vars/optimism.yaml b/group_vars/optimism.yaml index 80ad614..2908ca4 100644 --- a/group_vars/optimism.yaml +++ b/group_vars/optimism.yaml @@ -45,4 +45,3 @@ default_packages: - pkg-config - curl - logrotate -... diff --git a/group_vars/polkadot.yaml b/group_vars/polkadot.yaml index 26e9fd4..22ac27c 100644 --- a/group_vars/polkadot.yaml +++ b/group_vars/polkadot.yaml @@ -28,4 +28,3 @@ default_rpc_port: 9100 default_secure_rpc_port: 42100 default_prom_port: 7100 zabbix_ext_port: 10100 -... diff --git a/group_vars/polygon.yaml b/group_vars/polygon.yaml index f104708..bc09fe8 100644 --- a/group_vars/polygon.yaml +++ b/group_vars/polygon.yaml @@ -4,4 +4,3 @@ polygon_base: "/opt/polygon" polygon_storage_path: "{{ polygon_base }}" polygon_log_level: "info" polygon_network: "mainnet-v1" -... diff --git a/group_vars/proxmox_hosts.yaml b/group_vars/proxmox_hosts.yaml index ced02e6..75d428b 100644 --- a/group_vars/proxmox_hosts.yaml +++ b/group_vars/proxmox_hosts.yaml @@ -42,4 +42,3 @@ default_packages: - zsh - chrony - jq -... diff --git a/group_vars/proxmox_nodes.yaml b/group_vars/proxmox_nodes.yaml index 1dae349..779e9f6 100644 --- a/group_vars/proxmox_nodes.yaml +++ b/group_vars/proxmox_nodes.yaml @@ -34,4 +34,3 @@ default_packages: - certbot - chrony - jq -... diff --git a/group_vars/routers.yaml b/group_vars/routers.yaml index 1c056bf..15653a9 100644 --- a/group_vars/routers.yaml +++ b/group_vars/routers.yaml @@ -5,4 +5,3 @@ ansible_network_os: community.network.routeros ansible_user: ansible ansible_ssh_private_key_file: ~/.ssh/unlabored/ansible_mikrotik ansible_port: 20780 -... diff --git a/host_vars/ansible.yaml b/host_vars/ansible.yaml index 36bbcba..3ccf404 100644 --- a/host_vars/ansible.yaml +++ b/host_vars/ansible.yaml @@ -9,4 +9,3 @@ role: "ansible" pinned_service: False default_container_template: "debian-11-turnkey-ansible_17.1-1_amd64.tar.gz" -... diff --git a/host_vars/bkk00.yaml b/host_vars/bkk00.yaml index ad9eeae..8b3ca77 100644 --- a/host_vars/bkk00.yaml +++ b/host_vars/bkk00.yaml @@ -11,4 +11,3 @@ ansible_private_key_file: ~/.ssh/unlabored/ansible_mikrotik # ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q bkk01"' default_gw_device: "sfp-sfpplus2" # ether1, sfp-sfpplus1, sfp-sfpplus2 -... diff --git a/host_vars/bkk01.yaml b/host_vars/bkk01.yaml index 3763b2a..40aff9d 100644 --- a/host_vars/bkk01.yaml +++ b/host_vars/bkk01.yaml @@ -100,4 +100,3 @@ lxc_nodes: - from_port: "{{ hostvars['ksm01']['default_p2p_port_ws'] }}" to_host: "{{ hostvars['ksm01']['container_ip'] }}:{{ hostvars['ksm01']['default_p2p_port_ws'] }}" protocol: "udp" -... diff --git a/host_vars/bkk02.yaml b/host_vars/bkk02.yaml index 313ce7e..dfe932a 100644 --- a/host_vars/bkk02.yaml +++ b/host_vars/bkk02.yaml @@ -100,4 +100,3 @@ lxc_nodes: - from_port: "{{ hostvars['ksm02']['default_p2p_port_ws'] }}" to_host: "{{ hostvars['ksm02']['container_ip'] }}:{{ hostvars['ksm02']['default_p2p_port_ws'] }}" protocol: "udp" -... diff --git a/host_vars/bkk03.yaml b/host_vars/bkk03.yaml index 6781456..a3d9f3d 100644 --- a/host_vars/bkk03.yaml +++ b/host_vars/bkk03.yaml @@ -169,4 +169,3 @@ lxc_nodes: - from_port: "{{ hostvars['wnd23']['default_p2p_port_ws'] }}" to_host: "{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_p2p_port_ws'] }}" protocol: "udp" -... diff --git a/host_vars/bkk04.yaml b/host_vars/bkk04.yaml index 459ea9f..72b0344 100644 --- a/host_vars/bkk04.yaml +++ b/host_vars/bkk04.yaml @@ -582,4 +582,3 @@ lxc_nodes: - from_port: "{{ hostvars['enc14']['default_p2p_port_wss'] }}" to_host: "{{ hostvars['enc14']['container_ip'] }}:{{ hostvars['enc14']['default_p2p_port_wss'] }}" protocol: "udp" -... diff --git a/host_vars/bkk05.yaml b/host_vars/bkk05.yaml index 8a1e973..53c912e 100644 --- a/host_vars/bkk05.yaml +++ b/host_vars/bkk05.yaml @@ -6,4 +6,3 @@ host_name: "bkk05.rotko.net" host_timezone: "Asia/Bangkok" role: "webserver" pinned_service: False -... diff --git a/host_vars/bkk06.yaml b/host_vars/bkk06.yaml index fedb778..17acc66 100644 --- a/host_vars/bkk06.yaml +++ b/host_vars/bkk06.yaml @@ -1223,4 +1223,3 @@ lxc_nodes: - from_port: "{{ hostvars['wch26']['default_p2p_port_wss'] }}" to_host: "{{ hostvars['wch26']['container_ip'] }}:{{ hostvars['wch26']['default_p2p_port_wss'] }}" protocol: "udp" -... diff --git a/host_vars/dot01.yaml b/host_vars/dot01.yaml index 9a9f895..39da8be 100644 --- a/host_vars/dot01.yaml +++ b/host_vars/dot01.yaml @@ -21,4 +21,3 @@ default_rpc_port: 9111 default_secure_rpc_port: 42111 default_prom_port: 7111 zabbix_ext_port: 10111 -... diff --git a/host_vars/dot02.yaml b/host_vars/dot02.yaml index d31617f..b7a9ca9 100644 --- a/host_vars/dot02.yaml +++ b/host_vars/dot02.yaml @@ -23,4 +23,3 @@ default_p2p_port_wss: 35112 default_rpc_port: 9112 default_secure_rpc_port: 42112 default_prom_port: 7112 -... diff --git a/host_vars/dot03.yaml b/host_vars/dot03.yaml index e45b562..9177c5a 100644 --- a/host_vars/dot03.yaml +++ b/host_vars/dot03.yaml @@ -21,4 +21,3 @@ default_rpc_port: 9113 default_secure_rpc_port: 42113 default_prom_port: 7113 zabbix_ext_port: 10113 -... diff --git a/host_vars/dot04.yaml b/host_vars/dot04.yaml index 60a9f7d..40b1a6a 100644 --- a/host_vars/dot04.yaml +++ b/host_vars/dot04.yaml @@ -21,4 +21,3 @@ default_rpc_port: 9114 default_secure_rpc_port: 42114 default_prom_port: 7114 zabbix_ext_port: 10114 -... diff --git a/host_vars/dot14.yaml b/host_vars/dot14.yaml index 18c98b3..682b786 100644 --- a/host_vars/dot14.yaml +++ b/host_vars/dot14.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9214 default_secure_rpc_port: 42214 default_prom_port: 7214 zabbix_ext_port: 10214 -... diff --git a/host_vars/dot23.yaml b/host_vars/dot23.yaml index 7a287e0..b36e993 100644 --- a/host_vars/dot23.yaml +++ b/host_vars/dot23.yaml @@ -27,4 +27,3 @@ default_rpc_port: 9313 default_secure_rpc_port: 42313 default_prom_port: 7313 zabbix_ext_port: 10313 -... diff --git a/host_vars/dot24.yaml b/host_vars/dot24.yaml index b558b2f..66d5763 100644 --- a/host_vars/dot24.yaml +++ b/host_vars/dot24.yaml @@ -27,4 +27,3 @@ default_rpc_port: 9314 default_secure_rpc_port: 42314 default_prom_port: 7314 zabbix_ext_port: 10314 -... diff --git a/host_vars/dot26.yaml b/host_vars/dot26.yaml index 39b3a10..fdb12a7 100644 --- a/host_vars/dot26.yaml +++ b/host_vars/dot26.yaml @@ -27,4 +27,3 @@ default_rpc_port: 9316 default_secure_rpc_port: 42316 default_prom_port: 7316 zabbix_ext_port: 10316 -... diff --git a/host_vars/enc14.yaml b/host_vars/enc14.yaml index f5ed753..654b11c 100644 --- a/host_vars/enc14.yaml +++ b/host_vars/enc14.yaml @@ -24,4 +24,3 @@ default_rpc_port: 9504 default_secure_rpc_port: 42504 default_prom_port: 7504 zabbix_ext_port: 10504 -... diff --git a/host_vars/enc24.yaml b/host_vars/enc24.yaml index b7079e5..f8462af 100644 --- a/host_vars/enc24.yaml +++ b/host_vars/enc24.yaml @@ -24,4 +24,3 @@ default_rpc_port: 9604 default_secure_rpc_port: 42604 default_prom_port: 7604 zabbix_ext_port: 10604 -... diff --git a/host_vars/enc26.yaml b/host_vars/enc26.yaml index fd12b38..f165c5f 100644 --- a/host_vars/enc26.yaml +++ b/host_vars/enc26.yaml @@ -24,4 +24,3 @@ default_rpc_port: 9606 default_secure_rpc_port: 42606 default_prom_port: 7606 zabbix_ext_port: 10606 -... diff --git a/host_vars/gatus.yaml b/host_vars/gatus.yaml index 10833e1..ab78ec0 100644 --- a/host_vars/gatus.yaml +++ b/host_vars/gatus.yaml @@ -4,4 +4,3 @@ ansible_port: "22" # ansible_port: "20780" host_name: "status.rotko.net" host_timezone: "Europe/Helsinki" -... diff --git a/host_vars/ibp.yaml b/host_vars/ibp.yaml index 73e0084..3c64f41 100644 --- a/host_vars/ibp.yaml +++ b/host_vars/ibp.yaml @@ -7,4 +7,3 @@ host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' role: "ibp" pinned_service: False -... diff --git a/host_vars/kbr13.yaml b/host_vars/kbr13.yaml index 755428d..5b257dc 100644 --- a/host_vars/kbr13.yaml +++ b/host_vars/kbr13.yaml @@ -24,4 +24,3 @@ default_rpc_port: 9553 default_secure_rpc_port: 42553 default_prom_port: 7553 zabbix_ext_port: 10553 -... diff --git a/host_vars/kbr24.yaml b/host_vars/kbr24.yaml index e68a107..c54b082 100644 --- a/host_vars/kbr24.yaml +++ b/host_vars/kbr24.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9656 default_secure_rpc_port: 42656 default_prom_port: 7656 zabbix_ext_port: 10656 -... diff --git a/host_vars/kbr26.yaml b/host_vars/kbr26.yaml index 7459288..afe56d9 100644 --- a/host_vars/kbr26.yaml +++ b/host_vars/kbr26.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9656 default_secure_rpc_port: 42656 default_prom_port: 7656 zabbix_ext_port: 10656 -... diff --git a/host_vars/ksm01.yaml b/host_vars/ksm01.yaml index 796f7b9..c67ea9d 100644 --- a/host_vars/ksm01.yaml +++ b/host_vars/ksm01.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9121 default_secure_rpc_port: 42121 default_prom_port: 7121 zabbix_ext_port: 10121 -... diff --git a/host_vars/ksm02.yaml b/host_vars/ksm02.yaml index 823dda6..610be3e 100644 --- a/host_vars/ksm02.yaml +++ b/host_vars/ksm02.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9122 default_secure_rpc_port: 42122 default_prom_port: 7122 zabbix_ext_port: 10122 -... diff --git a/host_vars/ksm03.yaml b/host_vars/ksm03.yaml index 62e7015..e287911 100644 --- a/host_vars/ksm03.yaml +++ b/host_vars/ksm03.yaml @@ -21,4 +21,3 @@ default_rpc_port: 9123 default_secure_rpc_port: 42123 default_prom_port: 7123 zabbix_ext_port: 10123 -... diff --git a/host_vars/ksm04.yaml b/host_vars/ksm04.yaml index dc36111..d2cd1ef 100644 --- a/host_vars/ksm04.yaml +++ b/host_vars/ksm04.yaml @@ -23,4 +23,3 @@ default_rpc_port: 9124 default_secure_rpc_port: 42124 default_prom_port: 7124 zabbix_ext_port: 10124 -... diff --git a/host_vars/ksm14.yaml b/host_vars/ksm14.yaml index 1db6908..febc37d 100644 --- a/host_vars/ksm14.yaml +++ b/host_vars/ksm14.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9224 default_secure_rpc_port: 42224 default_prom_port: 7224 zabbix_ext_port: 10224 -... diff --git a/host_vars/ksm23.yaml b/host_vars/ksm23.yaml index 889d035..ae3f244 100644 --- a/host_vars/ksm23.yaml +++ b/host_vars/ksm23.yaml @@ -27,4 +27,3 @@ default_rpc_port: 9323 default_secure_rpc_port: 42323 default_prom_port: 7323 zabbix_ext_port: 10323 -... diff --git a/host_vars/ksm24.yaml b/host_vars/ksm24.yaml index cfdcbb9..8e4ef53 100644 --- a/host_vars/ksm24.yaml +++ b/host_vars/ksm24.yaml @@ -27,4 +27,3 @@ default_rpc_port: 9324 default_secure_rpc_port: 42324 default_prom_port: 7324 zabbix_ext_port: 10324 -... diff --git a/host_vars/ksm26.yaml b/host_vars/ksm26.yaml index 042e616..a65fff9 100644 --- a/host_vars/ksm26.yaml +++ b/host_vars/ksm26.yaml @@ -27,4 +27,3 @@ default_rpc_port: 9326 default_secure_rpc_port: 42326 default_prom_port: 7326 zabbix_ext_port: 10326 -... diff --git a/host_vars/kvm01.yaml b/host_vars/kvm01.yaml index f358bc8..1c0c7f0 100644 --- a/host_vars/kvm01.yaml +++ b/host_vars/kvm01.yaml @@ -11,4 +11,3 @@ port_forwards: - from_port: "{{ ansible_port }}" to_host: "{{ container_ip }}:22" protocol: "tcp" -... diff --git a/host_vars/kvm02.yaml b/host_vars/kvm02.yaml index 4c9c1b0..a39816c 100644 --- a/host_vars/kvm02.yaml +++ b/host_vars/kvm02.yaml @@ -11,4 +11,3 @@ port_forwards: - from_port: "{{ ansible_port }}" to_host: "{{ container_ip }}:22" protocol: "tcp" -... diff --git a/host_vars/kvm03.yaml b/host_vars/kvm03.yaml index e3db10d..a735929 100644 --- a/host_vars/kvm03.yaml +++ b/host_vars/kvm03.yaml @@ -11,4 +11,3 @@ port_forwards: - from_port: "{{ ansible_port }}" to_host: "{{ container_ip }}:22" protocol: "tcp" -... diff --git a/host_vars/kvm04.yaml b/host_vars/kvm04.yaml index 21387e3..ab9e6f0 100644 --- a/host_vars/kvm04.yaml +++ b/host_vars/kvm04.yaml @@ -11,4 +11,3 @@ port_forwards: - from_port: "{{ ansible_port }}" to_host: "{{ container_ip }}:22" protocol: "tcp" -... diff --git a/host_vars/kvm06.yaml b/host_vars/kvm06.yaml index e1a6d6e..d3f261b 100644 --- a/host_vars/kvm06.yaml +++ b/host_vars/kvm06.yaml @@ -11,4 +11,3 @@ port_forwards: - from_port: "{{ ansible_port }}" to_host: "{{ container_ip }}:22" protocol: "tcp" -... diff --git a/host_vars/matrix.yaml b/host_vars/matrix.yaml index e1a0d30..170436c 100644 --- a/host_vars/matrix.yaml +++ b/host_vars/matrix.yaml @@ -7,4 +7,3 @@ host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' role: "matrix" pinned_service: False -... diff --git a/host_vars/mine14.yaml b/host_vars/mine14.yaml index f798021..6814301 100644 --- a/host_vars/mine14.yaml +++ b/host_vars/mine14.yaml @@ -24,4 +24,3 @@ default_rpc_port: 9524 default_secure_rpc_port: 42524 default_prom_port: 7524 zabbix_ext_port: 10524 -... diff --git a/host_vars/mine24.yaml b/host_vars/mine24.yaml index 5e7a90e..a972916 100644 --- a/host_vars/mine24.yaml +++ b/host_vars/mine24.yaml @@ -24,4 +24,3 @@ default_rpc_port: 9624 default_secure_rpc_port: 42624 default_prom_port: 7624 zabbix_ext_port: 10624 -... diff --git a/host_vars/mine26.yaml b/host_vars/mine26.yaml index 22db5d2..d58099a 100644 --- a/host_vars/mine26.yaml +++ b/host_vars/mine26.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9626 default_secure_rpc_port: 42626 default_prom_port: 7626 zabbix_ext_port: 10626 -... diff --git a/host_vars/mint14.yaml b/host_vars/mint14.yaml index 6e14e2a..1a51b15 100644 --- a/host_vars/mint14.yaml +++ b/host_vars/mint14.yaml @@ -24,4 +24,3 @@ default_rpc_port: 9514 default_secure_rpc_port: 42514 default_prom_port: 7514 zabbix_ext_port: 10514 -... diff --git a/host_vars/mint23.yaml b/host_vars/mint23.yaml index a232495..18cafef 100644 --- a/host_vars/mint23.yaml +++ b/host_vars/mint23.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9513 default_secure_rpc_port: 42513 default_prom_port: 7513 zabbix_ext_port: 10513 -... diff --git a/host_vars/mint26.yaml b/host_vars/mint26.yaml index 0362773..bb873c8 100644 --- a/host_vars/mint26.yaml +++ b/host_vars/mint26.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9716 default_secure_rpc_port: 42616 default_prom_port: 7616 zabbix_ext_port: 10616 -... diff --git a/host_vars/monitor.yaml b/host_vars/monitor.yaml index c2b9406..60a7d7c 100644 --- a/host_vars/monitor.yaml +++ b/host_vars/monitor.yaml @@ -7,4 +7,3 @@ host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' role: "monitor" pinned_service: False -... diff --git a/host_vars/pbr13.yaml b/host_vars/pbr13.yaml index d8284e4..6f6cdd8 100644 --- a/host_vars/pbr13.yaml +++ b/host_vars/pbr13.yaml @@ -24,4 +24,3 @@ default_rpc_port: 9543 default_secure_rpc_port: 42543 default_prom_port: 7543 zabbix_ext_port: 10543 -... diff --git a/host_vars/pbr26.yaml b/host_vars/pbr26.yaml index 81c2d1b..477da81 100644 --- a/host_vars/pbr26.yaml +++ b/host_vars/pbr26.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9646 default_secure_rpc_port: 42646 default_prom_port: 7646 zabbix_ext_port: 10646 -... diff --git a/host_vars/pch13.yaml b/host_vars/pch13.yaml index b586c03..77b68ad 100644 --- a/host_vars/pch13.yaml +++ b/host_vars/pch13.yaml @@ -24,4 +24,3 @@ default_rpc_port: 9573 default_secure_rpc_port: 42573 default_prom_port: 7573 zabbix_ext_port: 10573 -... diff --git a/host_vars/pch26.yaml b/host_vars/pch26.yaml index a2f5ed2..d629cae 100644 --- a/host_vars/pch26.yaml +++ b/host_vars/pch26.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9676 default_secure_rpc_port: 42676 default_prom_port: 7676 zabbix_ext_port: 10676 -... diff --git a/host_vars/pso01.yaml b/host_vars/pso01.yaml index 5c2a3cf..d6717d8 100644 --- a/host_vars/pso01.yaml +++ b/host_vars/pso01.yaml @@ -25,4 +25,3 @@ default_rpc_port: 9141 default_secure_rpc_port: 42141 default_prom_port: 7141 zabbix_ext_port: 10141 -... diff --git a/host_vars/pso02.yaml b/host_vars/pso02.yaml index 5ff981c..bf6e57d 100644 --- a/host_vars/pso02.yaml +++ b/host_vars/pso02.yaml @@ -25,4 +25,3 @@ default_rpc_port: 9142 default_secure_rpc_port: 42142 default_prom_port: 7142 zabbix_ext_port: 10142 -... diff --git a/host_vars/pso06.yaml b/host_vars/pso06.yaml index dd76ccc..8b75ef9 100644 --- a/host_vars/pso06.yaml +++ b/host_vars/pso06.yaml @@ -26,4 +26,3 @@ default_rpc_port: 9146 default_secure_rpc_port: 42146 default_prom_port: 7146 zabbix_ext_port: 10146 -... diff --git a/host_vars/pso16.yaml b/host_vars/pso16.yaml index c43f5ee..6aa8cd4 100644 --- a/host_vars/pso16.yaml +++ b/host_vars/pso16.yaml @@ -26,4 +26,3 @@ default_rpc_port: 9246 default_secure_rpc_port: 42246 default_prom_port: 7246 zabbix_ext_port: 10246 -... diff --git a/host_vars/pso26.yaml b/host_vars/pso26.yaml index ae60a52..a623123 100644 --- a/host_vars/pso26.yaml +++ b/host_vars/pso26.yaml @@ -32,4 +32,3 @@ default_rpc_port: 9346 default_secure_rpc_port: 42346 default_prom_port: 7346 zabbix_ext_port: 10346 -... diff --git a/host_vars/wbr13.yaml b/host_vars/wbr13.yaml index bbb3700..74e4d50 100644 --- a/host_vars/wbr13.yaml +++ b/host_vars/wbr13.yaml @@ -25,4 +25,3 @@ default_rpc_port: 9563 default_secure_rpc_port: 42563 default_prom_port: 7563 zabbix_ext_port: 10563 -... diff --git a/host_vars/wbr24.yaml b/host_vars/wbr24.yaml index d04f3e3..612ab7f 100644 --- a/host_vars/wbr24.yaml +++ b/host_vars/wbr24.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9666 default_secure_rpc_port: 42666 default_prom_port: 7666 zabbix_ext_port: 10666 -... diff --git a/host_vars/wbr26.yaml b/host_vars/wbr26.yaml index 836e2e8..7223f17 100644 --- a/host_vars/wbr26.yaml +++ b/host_vars/wbr26.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9666 default_secure_rpc_port: 42666 default_prom_port: 7666 zabbix_ext_port: 10666 -... diff --git a/host_vars/wch13.yaml b/host_vars/wch13.yaml index 5208038..18f3d4f 100644 --- a/host_vars/wch13.yaml +++ b/host_vars/wch13.yaml @@ -25,4 +25,3 @@ default_rpc_port: 9593 default_secure_rpc_port: 42593 default_prom_port: 7593 zabbix_ext_port: 10593 -... diff --git a/host_vars/wch26.yaml b/host_vars/wch26.yaml index 404bb7c..31af3a7 100644 --- a/host_vars/wch26.yaml +++ b/host_vars/wch26.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9696 default_secure_rpc_port: 42696 default_prom_port: 7696 zabbix_ext_port: 10696 -... diff --git a/host_vars/wmint14.yaml b/host_vars/wmint14.yaml index 5d332ed..bd3285b 100644 --- a/host_vars/wmint14.yaml +++ b/host_vars/wmint14.yaml @@ -25,4 +25,3 @@ default_rpc_port: 9534 default_secure_rpc_port: 42534 default_prom_port: 7534 zabbix_ext_port: 10534 -... diff --git a/host_vars/wmint23.yaml b/host_vars/wmint23.yaml index 57d592b..7a9e88d 100644 --- a/host_vars/wmint23.yaml +++ b/host_vars/wmint23.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9533 default_secure_rpc_port: 42533 default_prom_port: 7533 zabbix_ext_port: 10533 -... diff --git a/host_vars/wmint26.yaml b/host_vars/wmint26.yaml index 8b09451..46450ef 100644 --- a/host_vars/wmint26.yaml +++ b/host_vars/wmint26.yaml @@ -22,4 +22,3 @@ default_rpc_port: 9636 default_secure_rpc_port: 42636 default_prom_port: 7636 zabbix_ext_port: 10636 -... diff --git a/host_vars/wnd14.yaml b/host_vars/wnd14.yaml index f6322c6..9849fe7 100644 --- a/host_vars/wnd14.yaml +++ b/host_vars/wnd14.yaml @@ -23,4 +23,3 @@ default_rpc_port: 9234 default_secure_rpc_port: 42234 default_prom_port: 7234 zabbix_ext_port: 10234 -... diff --git a/host_vars/wnd23.yaml b/host_vars/wnd23.yaml index 3bdbc70..edfde9a 100644 --- a/host_vars/wnd23.yaml +++ b/host_vars/wnd23.yaml @@ -27,4 +27,3 @@ default_rpc_port: 9333 default_secure_rpc_port: 42333 default_prom_port: 7333 zabbix_ext_port: 10333 -... diff --git a/host_vars/wnd24.yaml b/host_vars/wnd24.yaml index 14dcbc5..3de99f2 100644 --- a/host_vars/wnd24.yaml +++ b/host_vars/wnd24.yaml @@ -27,4 +27,3 @@ default_rpc_port: 9334 default_secure_rpc_port: 42334 default_prom_port: 7334 zabbix_ext_port: 10334 -... diff --git a/host_vars/wnd26.yaml b/host_vars/wnd26.yaml index 5e48f78..3b6cce5 100644 --- a/host_vars/wnd26.yaml +++ b/host_vars/wnd26.yaml @@ -27,4 +27,3 @@ default_rpc_port: 9336 default_secure_rpc_port: 42336 default_prom_port: 7336 zabbix_ext_port: 10336 -... diff --git a/host_vars/zabbix.yaml b/host_vars/zabbix.yaml index 1f040f0..0109c0e 100644 --- a/host_vars/zabbix.yaml +++ b/host_vars/zabbix.yaml @@ -3,4 +3,3 @@ ansible_host: "65.21.107.112" ansible_port: "20780" host_name: "monitor.rotko.net" host_timezone: "Europe/Helsinki" -... diff --git a/playbooks/acl_development.yaml b/playbooks/acl_development.yaml index bfc3c1e..9175e66 100644 --- a/playbooks/acl_development.yaml +++ b/playbooks/acl_development.yaml @@ -9,4 +9,3 @@ - proxmox_acl_users - proxmox_acl_access - proxmox_acl_tokens -... diff --git a/playbooks/all.yaml b/playbooks/all.yaml index 50d894c..21c3762 100644 --- a/playbooks/all.yaml +++ b/playbooks/all.yaml @@ -10,4 +10,3 @@ ansible.builtin.import_playbook: monitoring.yaml - name: User Management ansible.builtin.import_playbook: user_management.yaml -... diff --git a/playbooks/arbitrum.yaml b/playbooks/arbitrum.yaml index c649705..8babcda 100644 --- a/playbooks/arbitrum.yaml +++ b/playbooks/arbitrum.yaml @@ -7,4 +7,3 @@ roles: - setup_add_node_role - setup_install_arbitrum -... diff --git a/playbooks/basic_installation.yaml b/playbooks/basic_installation.yaml index fbaa5be..011756c 100644 --- a/playbooks/basic_installation.yaml +++ b/playbooks/basic_installation.yaml @@ -15,4 +15,3 @@ - setup_ansible_facts - setup_kernel_modules - setup_log_rotation -... diff --git a/playbooks/binance.yaml b/playbooks/binance.yaml index 9d6ac83..c9abea0 100644 --- a/playbooks/binance.yaml +++ b/playbooks/binance.yaml @@ -5,4 +5,3 @@ roles: - setup_add_node_role - setup_install_binance -... diff --git a/playbooks/cumulus.yaml b/playbooks/cumulus.yaml index 1e7fb37..366bcd5 100644 --- a/playbooks/cumulus.yaml +++ b/playbooks/cumulus.yaml @@ -8,4 +8,3 @@ - setup_install_rust - setup_install_cumulus - setup_install_nginx -... diff --git a/playbooks/encointer.yaml b/playbooks/encointer.yaml index 8beb5d9..3192f63 100644 --- a/playbooks/encointer.yaml +++ b/playbooks/encointer.yaml @@ -8,4 +8,3 @@ - setup_install_rust - setup_install_encointer - setup_install_nginx -... diff --git a/playbooks/erigon.yaml b/playbooks/erigon.yaml index dee6716..ffc0c56 100644 --- a/playbooks/erigon.yaml +++ b/playbooks/erigon.yaml @@ -5,4 +5,3 @@ roles: - setup_add_node_role - setup_install_erigon -... diff --git a/playbooks/ethereum.yaml b/playbooks/ethereum.yaml index 6dfe044..ecda6a5 100644 --- a/playbooks/ethereum.yaml +++ b/playbooks/ethereum.yaml @@ -5,4 +5,3 @@ roles: - setup_add_node_role - setup_install_ethereum -... diff --git a/playbooks/evmos.yaml b/playbooks/evmos.yaml index 341e76d..d715aa6 100644 --- a/playbooks/evmos.yaml +++ b/playbooks/evmos.yaml @@ -5,4 +5,3 @@ roles: - setup_add_node_role - setup_install_evmos -... diff --git a/playbooks/kava.yaml b/playbooks/kava.yaml index 3976781..6878203 100644 --- a/playbooks/kava.yaml +++ b/playbooks/kava.yaml @@ -5,4 +5,3 @@ roles: - setup_add_node_role - setup_install_kava -... diff --git a/playbooks/monitoring.yaml b/playbooks/monitoring.yaml index b59e16d..f08294f 100644 --- a/playbooks/monitoring.yaml +++ b/playbooks/monitoring.yaml @@ -7,4 +7,3 @@ roles: - setup_add_node_role - setup_install_zabbix_agent -... diff --git a/playbooks/moonbeam.yaml b/playbooks/moonbeam.yaml index ee99e18..97b8b9f 100644 --- a/playbooks/moonbeam.yaml +++ b/playbooks/moonbeam.yaml @@ -6,4 +6,3 @@ roles: - setup_add_node_role - setup_install_moonbeam -... diff --git a/playbooks/networkid_pk_backup.yaml b/playbooks/networkid_pk_backup.yaml index b581c22..9e19031 100644 --- a/playbooks/networkid_pk_backup.yaml +++ b/playbooks/networkid_pk_backup.yaml @@ -53,4 +53,3 @@ flat: True when: network_dir.matched > 0 and networkid.stdout tags: backup -... diff --git a/playbooks/optimism.yaml b/playbooks/optimism.yaml index 533039b..bbd1eaf 100644 --- a/playbooks/optimism.yaml +++ b/playbooks/optimism.yaml @@ -6,4 +6,3 @@ roles: - setup_add_node_role - setup_install_optimism -... diff --git a/playbooks/polkadot.yaml b/playbooks/polkadot.yaml index 46e827d..a686022 100644 --- a/playbooks/polkadot.yaml +++ b/playbooks/polkadot.yaml @@ -8,4 +8,3 @@ - setup_install_rust - setup_install_polkadot - setup_install_nginx -... diff --git a/playbooks/polkadot_rotate.yaml b/playbooks/polkadot_rotate.yaml index c17d817..3f7aedb 100644 --- a/playbooks/polkadot_rotate.yaml +++ b/playbooks/polkadot_rotate.yaml @@ -29,4 +29,3 @@ when: default_node_type in ["validator"] and cargo_installed is succeeded args: executable: /bin/bash -... diff --git a/playbooks/proxmox_install_nodes.yaml b/playbooks/proxmox_install_nodes.yaml index 4746461..32e4037 100644 --- a/playbooks/proxmox_install_nodes.yaml +++ b/playbooks/proxmox_install_nodes.yaml @@ -106,4 +106,3 @@ roles: - setup_install_encointer - setup_install_nginx -... diff --git a/playbooks/proxmox_install_on_debian_host.yaml b/playbooks/proxmox_install_on_debian_host.yaml index a3d642e..c798358 100644 --- a/playbooks/proxmox_install_on_debian_host.yaml +++ b/playbooks/proxmox_install_on_debian_host.yaml @@ -7,4 +7,3 @@ roles: - proxmox_full_installation - setup_disable_services -... diff --git a/playbooks/restart.yaml b/playbooks/restart.yaml new file mode 100644 index 0000000..e6b0bad --- /dev/null +++ b/playbooks/restart.yaml @@ -0,0 +1,13 @@ +tandards: 0.2 + +ame: Backup networkid secret key +osts: polkadot,cumulus,encointer +ather_facts: True +asks: + - name: Restart default_service + become: True + become_user: root + ansible.builtin.systemd: + name: "{{ default_service }}" + state: restarted + diff --git a/playbooks/test_router.yaml b/playbooks/test_router.yaml index 5f5c54b..7a9184a 100644 --- a/playbooks/test_router.yaml +++ b/playbooks/test_router.yaml @@ -6,4 +6,3 @@ roles: - role: setup_networking_routeros when: default_need_routeros_port_forwarding -... diff --git a/playbooks/unvault.yaml b/playbooks/unvault.yaml index e1c14c5..ecc7a06 100644 --- a/playbooks/unvault.yaml +++ b/playbooks/unvault.yaml @@ -7,4 +7,3 @@ var: api_token_secret vars: api_token_secret: "{{ ansible_local.proxmox.api.token | unvault(default_passphrase) }}" -... diff --git a/playbooks/user_management.yaml b/playbooks/user_management.yaml index 5cb8910..e4ee52c 100644 --- a/playbooks/user_management.yaml +++ b/playbooks/user_management.yaml @@ -6,4 +6,3 @@ roles: - setup_user_management -... diff --git a/requirements.yaml b/requirements.yaml index f2d1d15..47ba949 100644 --- a/requirements.yaml +++ b/requirements.yaml @@ -7,4 +7,3 @@ collections: roles: - src: geerlingguy.postfix -... diff --git a/roles/proxmox_acl_access/tasks/main.yaml b/roles/proxmox_acl_access/tasks/main.yaml index f8bc502..9a737ff 100644 --- a/roles/proxmox_acl_access/tasks/main.yaml +++ b/roles/proxmox_acl_access/tasks/main.yaml @@ -34,4 +34,3 @@ - "{{ item.roleid }}" with_items: "{{ proxmox_acl_list }}" when: (item.group ~ item.path ~ item.roleid) not in current_group_acl | map('join', '') | list -... diff --git a/roles/proxmox_acl_groups/tasks/main.yaml b/roles/proxmox_acl_groups/tasks/main.yaml index 0690aca..33be5f5 100644 --- a/roles/proxmox_acl_groups/tasks/main.yaml +++ b/roles/proxmox_acl_groups/tasks/main.yaml @@ -42,4 +42,3 @@ when: (item.name not in current_groups) and (inventory_hostname == primary_node) delegate_to: "{{ primary_node }}" with_items: "{{ proxmox_admin_groups }}" -... diff --git a/roles/proxmox_acl_tokens/handlers/main.yaml b/roles/proxmox_acl_tokens/handlers/main.yaml index f17e4fe..3bb13de 100644 --- a/roles/proxmox_acl_tokens/handlers/main.yaml +++ b/roles/proxmox_acl_tokens/handlers/main.yaml @@ -25,4 +25,3 @@ - name: Refresh Facts ansible.builtin.setup: listen: Refresh Facts -... diff --git a/roles/proxmox_acl_tokens/meta/main.yaml b/roles/proxmox_acl_tokens/meta/main.yaml index 4ce8386..88aede3 100644 --- a/roles/proxmox_acl_tokens/meta/main.yaml +++ b/roles/proxmox_acl_tokens/meta/main.yaml @@ -11,4 +11,3 @@ galaxy_info: - bookworm dependencies: - role: setup_ansible_facts -... diff --git a/roles/proxmox_acl_tokens/tasks/main.yaml b/roles/proxmox_acl_tokens/tasks/main.yaml index 7a521ce..66ed32b 100644 --- a/roles/proxmox_acl_tokens/tasks/main.yaml +++ b/roles/proxmox_acl_tokens/tasks/main.yaml @@ -50,4 +50,3 @@ - Extract Generated Proxmox Admin Token - Save Proxmox Admin Token - Refresh Facts -... diff --git a/roles/proxmox_acl_users/tasks/main.yaml b/roles/proxmox_acl_users/tasks/main.yaml index abcb7de..425ce4b 100644 --- a/roles/proxmox_acl_users/tasks/main.yaml +++ b/roles/proxmox_acl_users/tasks/main.yaml @@ -51,4 +51,3 @@ - "{{ item.groups }}" when: item.name not in current_users and item.name and (inventory_hostname == primary_node) with_items: "{{ proxmox_admin_accounts }}" -... diff --git a/roles/proxmox_debian_gpgkeys/defaults/main.yaml b/roles/proxmox_debian_gpgkeys/defaults/main.yaml index 5054f8a..de268d4 100644 --- a/roles/proxmox_debian_gpgkeys/defaults/main.yaml +++ b/roles/proxmox_debian_gpgkeys/defaults/main.yaml @@ -1,4 +1,3 @@ --- bullseye_gpg_key_hash: "7fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa" bookworm_gpg_key_hash: "7da6fe34168adc6e479327ba517796d4702fa2f8b4f0a9833f5ea6e6b48f6507a6da403a274fe201595edc86a84463d50383d07f64bdde2e3658108db7d6dc87" -... diff --git a/roles/proxmox_debian_gpgkeys/meta/main.yaml b/roles/proxmox_debian_gpgkeys/meta/main.yaml index 4cb5d7f..2d4f62f 100644 --- a/roles/proxmox_debian_gpgkeys/meta/main.yaml +++ b/roles/proxmox_debian_gpgkeys/meta/main.yaml @@ -10,4 +10,3 @@ galaxy_info: - bullseye - bookworm dependencies: [] -... diff --git a/roles/proxmox_debian_gpgkeys/tasks/main.yaml b/roles/proxmox_debian_gpgkeys/tasks/main.yaml index a6a08f8..6d73f3c 100644 --- a/roles/proxmox_debian_gpgkeys/tasks/main.yaml +++ b/roles/proxmox_debian_gpgkeys/tasks/main.yaml @@ -31,4 +31,3 @@ when: - ansible_facts['distribution_release'] == "bookworm" - bookworm_gpg_key_hash not in sha512sum_result.stdout -... diff --git a/roles/proxmox_debian_installation/handlers/main.yaml b/roles/proxmox_debian_installation/handlers/main.yaml index d38ebe0..30cd27f 100644 --- a/roles/proxmox_debian_installation/handlers/main.yaml +++ b/roles/proxmox_debian_installation/handlers/main.yaml @@ -17,4 +17,3 @@ reboot_timeout: 300 reboot_timeout_unit: seconds msg: "Reboot initiated by Ansible for {{ ansible_hostname }}" -... diff --git a/roles/proxmox_debian_installation/tasks/main.yaml b/roles/proxmox_debian_installation/tasks/main.yaml index 03a386e..a121ce9 100644 --- a/roles/proxmox_debian_installation/tasks/main.yaml +++ b/roles/proxmox_debian_installation/tasks/main.yaml @@ -81,4 +81,3 @@ ansible.builtin.apt: pkg: os-prober state: absent -... diff --git a/roles/proxmox_debian_repository/tasks/main.yaml b/roles/proxmox_debian_repository/tasks/main.yaml index 73a1798..485934a 100644 --- a/roles/proxmox_debian_repository/tasks/main.yaml +++ b/roles/proxmox_debian_repository/tasks/main.yaml @@ -22,4 +22,3 @@ ansible.builtin.apt: update_cache: True force_apt_get: True -... diff --git a/roles/proxmox_disable_subscription_nag/tasks/main.yaml b/roles/proxmox_disable_subscription_nag/tasks/main.yaml index 01a2138..e3fc4a1 100644 --- a/roles/proxmox_disable_subscription_nag/tasks/main.yaml +++ b/roles/proxmox_disable_subscription_nag/tasks/main.yaml @@ -8,4 +8,3 @@ backup: True notify: - Restart pveproxy -... diff --git a/roles/proxmox_full_installation/meta/main.yaml b/roles/proxmox_full_installation/meta/main.yaml index 8d3fd92..f4efe37 100644 --- a/roles/proxmox_full_installation/meta/main.yaml +++ b/roles/proxmox_full_installation/meta/main.yaml @@ -24,4 +24,3 @@ dependencies: # Disabled for now # - role: proxmox_secure_node -... diff --git a/roles/proxmox_install_container_templates/tasks/main.yaml b/roles/proxmox_install_container_templates/tasks/main.yaml index 42dba5d..73d4213 100644 --- a/roles/proxmox_install_container_templates/tasks/main.yaml +++ b/roles/proxmox_install_container_templates/tasks/main.yaml @@ -27,4 +27,3 @@ - "{{ default_container_template }}" when: item not in pveam_available_containers failed_when: pveam_output.rc != 0 -... diff --git a/roles/proxmox_secure_node/tasks/main.yaml b/roles/proxmox_secure_node/tasks/main.yaml index ade8dc5..74460e6 100644 --- a/roles/proxmox_secure_node/tasks/main.yaml +++ b/roles/proxmox_secure_node/tasks/main.yaml @@ -16,4 +16,3 @@ notify: - Restart pveproxy - Restart spiceproxy -... diff --git a/roles/proxmox_setup_nodes/handlers/main.yaml b/roles/proxmox_setup_nodes/handlers/main.yaml index 11b6f31..ee84e03 100644 --- a/roles/proxmox_setup_nodes/handlers/main.yaml +++ b/roles/proxmox_setup_nodes/handlers/main.yaml @@ -10,4 +10,3 @@ vmid: "{{ item.proxmox_config['vmid'] }}" state: 'started' listen: Start container -... diff --git a/roles/proxmox_setup_nodes/tasks/main.yaml b/roles/proxmox_setup_nodes/tasks/main.yaml index 0a98847..f1cbe9c 100644 --- a/roles/proxmox_setup_nodes/tasks/main.yaml +++ b/roles/proxmox_setup_nodes/tasks/main.yaml @@ -13,4 +13,3 @@ - lxc_nodes is defined - item.proxmox_config['state'] == 'present' register: container_start_result -... diff --git a/roles/proxmox_setup_storage/defaults/main.yaml b/roles/proxmox_setup_storage/defaults/main.yaml index aba4b31..c7ae80b 100644 --- a/roles/proxmox_setup_storage/defaults/main.yaml +++ b/roles/proxmox_setup_storage/defaults/main.yaml @@ -4,4 +4,3 @@ default_storage_mountpoint: "/mnt/tank" default_storage_type: "zfspool" default_storage_content: "images,rootdir" default_storage_sparse: 1 -... diff --git a/roles/proxmox_setup_storage/tasks/main.yaml b/roles/proxmox_setup_storage/tasks/main.yaml index 798e465..0033f42 100644 --- a/roles/proxmox_setup_storage/tasks/main.yaml +++ b/roles/proxmox_setup_storage/tasks/main.yaml @@ -14,4 +14,3 @@ # -content {{ default_storage_content }} # -sparse {{ default_storage_sparse }} # when: default_storage not in pvesm_output.stdout -... diff --git a/roles/setup_add_node_role/handlers/main.yaml b/roles/setup_add_node_role/handlers/main.yaml index 551b145..f383689 100644 --- a/roles/setup_add_node_role/handlers/main.yaml +++ b/roles/setup_add_node_role/handlers/main.yaml @@ -263,4 +263,3 @@ owner: root group: root mode: '0644' -... diff --git a/roles/setup_add_node_role/meta/main.yaml b/roles/setup_add_node_role/meta/main.yaml index 69da008..3777880 100644 --- a/roles/setup_add_node_role/meta/main.yaml +++ b/roles/setup_add_node_role/meta/main.yaml @@ -11,4 +11,3 @@ galaxy_info: - bookworm dependencies: - role: setup_ansible_facts -... diff --git a/roles/setup_add_node_role/tasks/main.yaml b/roles/setup_add_node_role/tasks/main.yaml index e37e601..650d57e 100644 --- a/roles/setup_add_node_role/tasks/main.yaml +++ b/roles/setup_add_node_role/tasks/main.yaml @@ -44,4 +44,3 @@ - role == "ethereum" with_items: - { section: "lighthouse", option: "version", value: "undefined" } -... diff --git a/roles/setup_ansible_facts/tasks/main.yaml b/roles/setup_ansible_facts/tasks/main.yaml index 813d636..84b5cfc 100644 --- a/roles/setup_ansible_facts/tasks/main.yaml +++ b/roles/setup_ansible_facts/tasks/main.yaml @@ -6,4 +6,3 @@ group: root mode: '0755' state: directory -... diff --git a/roles/setup_config_sysctl/tasks/main.yaml b/roles/setup_config_sysctl/tasks/main.yaml index cd515a0..e7d5ab7 100644 --- a/roles/setup_config_sysctl/tasks/main.yaml +++ b/roles/setup_config_sysctl/tasks/main.yaml @@ -8,4 +8,3 @@ loop: "{{ (kernel_params_default | map('combine', kernel_params) | list) }}" loop_control: label: "Setting {{ item.name }}" -... diff --git a/roles/setup_debian_repository/handlers/main.yaml b/roles/setup_debian_repository/handlers/main.yaml index 72a9ace..51ed39d 100644 --- a/roles/setup_debian_repository/handlers/main.yaml +++ b/roles/setup_debian_repository/handlers/main.yaml @@ -2,4 +2,3 @@ - name: Update APT cache ansible.builtin.apt: update_cache: yes -... diff --git a/roles/setup_debian_repository/meta/main.yaml b/roles/setup_debian_repository/meta/main.yaml index 305818b..b50d496 100644 --- a/roles/setup_debian_repository/meta/main.yaml +++ b/roles/setup_debian_repository/meta/main.yaml @@ -10,4 +10,3 @@ galaxy_info: - bookworm - bullseye dependencies: [] -... diff --git a/roles/setup_debian_repository/tasks/main.yaml b/roles/setup_debian_repository/tasks/main.yaml index 194772c..41432dd 100644 --- a/roles/setup_debian_repository/tasks/main.yaml +++ b/roles/setup_debian_repository/tasks/main.yaml @@ -34,4 +34,3 @@ - ansible_distribution_release == 'bullseye' notify: - Update APT cache -... diff --git a/roles/setup_disable_services/tasks/main.yaml b/roles/setup_disable_services/tasks/main.yaml index eac2ab0..fecff92 100644 --- a/roles/setup_disable_services/tasks/main.yaml +++ b/roles/setup_disable_services/tasks/main.yaml @@ -17,4 +17,3 @@ - rpcbind.socket - rpcbind.service - rpcbind.target -... diff --git a/roles/setup_install_arbitrum/handlers/main.yaml b/roles/setup_install_arbitrum/handlers/main.yaml index ba23728..55a6cbe 100644 --- a/roles/setup_install_arbitrum/handlers/main.yaml +++ b/roles/setup_install_arbitrum/handlers/main.yaml @@ -56,4 +56,3 @@ - "{{ arbitrum_build_path }}/rocksdb" - "{{ arbitrum_base }}/go" - "{{ arbitrum_base }}/.hunter" -... diff --git a/roles/setup_install_arbitrum/meta/main.yaml b/roles/setup_install_arbitrum/meta/main.yaml index 922fb24..b38c973 100644 --- a/roles/setup_install_arbitrum/meta/main.yaml +++ b/roles/setup_install_arbitrum/meta/main.yaml @@ -12,4 +12,3 @@ galaxy_info: dependencies: - role: setup_install_nodejs - role: setup_install_golang -... diff --git a/roles/setup_install_arbitrum/tasks/main.yaml b/roles/setup_install_arbitrum/tasks/main.yaml index 738dd1a..3371423 100644 --- a/roles/setup_install_arbitrum/tasks/main.yaml +++ b/roles/setup_install_arbitrum/tasks/main.yaml @@ -174,4 +174,3 @@ - Start Arbitrum - Clean build artifacts - Add Arbitrum service version -... diff --git a/roles/setup_install_avalanche/handlers/main.yaml b/roles/setup_install_avalanche/handlers/main.yaml index fb18220..8fd7cb4 100644 --- a/roles/setup_install_avalanche/handlers/main.yaml +++ b/roles/setup_install_avalanche/handlers/main.yaml @@ -39,4 +39,3 @@ state: link owner: "{{ avalanche_user }}" group: "{{ avalanche_user }}" -... diff --git a/roles/setup_install_avalanche/meta/main.yaml b/roles/setup_install_avalanche/meta/main.yaml index 3313f9b..f5404b9 100644 --- a/roles/setup_install_avalanche/meta/main.yaml +++ b/roles/setup_install_avalanche/meta/main.yaml @@ -12,4 +12,3 @@ galaxy_info: dependencies: - role: setup_add_node_role - role: setup_install_golang -... diff --git a/roles/setup_install_avalanche/tasks/main.yaml b/roles/setup_install_avalanche/tasks/main.yaml index 1133f00..27da849 100644 --- a/roles/setup_install_avalanche/tasks/main.yaml +++ b/roles/setup_install_avalanche/tasks/main.yaml @@ -111,4 +111,3 @@ with_items: - { source: "chain_1_config.json", destination: "{{ avalanche_chain_config_path }}/2Sk6j8TYVQc2oR1TtUz64EWHAYjDUoDQ4hpbu6FMN2JBKC77xa/config.json" } - { source: "chain_2_config.json", destination: "{{ avalanche_chain_config_path }}/2K33xS9AyP9oCDiHYKVrHe7F54h2La5D8erpTChaAhdzeSu2RX/config.json" } -... diff --git a/roles/setup_install_basic_tools/tasks/main.yaml b/roles/setup_install_basic_tools/tasks/main.yaml index 0f87896..209e00a 100644 --- a/roles/setup_install_basic_tools/tasks/main.yaml +++ b/roles/setup_install_basic_tools/tasks/main.yaml @@ -11,4 +11,3 @@ ansible.builtin.pip: name: "{{ lookup('file', 'python_requirements.txt') | regex_replace('\n', ',') }}" extra_args: --break-system-packages -... diff --git a/roles/setup_install_binance/handlers/main.yaml b/roles/setup_install_binance/handlers/main.yaml index 4d4138d..d0d1114 100644 --- a/roles/setup_install_binance/handlers/main.yaml +++ b/roles/setup_install_binance/handlers/main.yaml @@ -34,4 +34,3 @@ - name: Systemd daemon-reload ansible.builtin.systemd: daemon_reload: True -... diff --git a/roles/setup_install_binance/meta/main.yaml b/roles/setup_install_binance/meta/main.yaml index 56335c0..1e33832 100644 --- a/roles/setup_install_binance/meta/main.yaml +++ b/roles/setup_install_binance/meta/main.yaml @@ -11,4 +11,3 @@ galaxy_info: - bookworm dependencies: - role: setup_add_node_role -... diff --git a/roles/setup_install_binance/tasks/main.yaml b/roles/setup_install_binance/tasks/main.yaml index 4705ec3..5163db4 100644 --- a/roles/setup_install_binance/tasks/main.yaml +++ b/roles/setup_install_binance/tasks/main.yaml @@ -98,4 +98,3 @@ - { section: "Node", option: "WSHost", value: '"0.0.0.0"', state: "present" } notify: - Restart Binance -... diff --git a/roles/setup_install_cumulus/handlers/main.yaml b/roles/setup_install_cumulus/handlers/main.yaml index 48bcf97..5b96044 100644 --- a/roles/setup_install_cumulus/handlers/main.yaml +++ b/roles/setup_install_cumulus/handlers/main.yaml @@ -42,4 +42,3 @@ name: cumulus state: started enabled: True -... diff --git a/roles/setup_install_cumulus/meta/main.yaml b/roles/setup_install_cumulus/meta/main.yaml index e82dc10..e29e21c 100644 --- a/roles/setup_install_cumulus/meta/main.yaml +++ b/roles/setup_install_cumulus/meta/main.yaml @@ -12,4 +12,3 @@ galaxy_info: dependencies: - setup_add_node_role - setup_install_rust -... diff --git a/roles/setup_install_cumulus/tasks/main.yaml b/roles/setup_install_cumulus/tasks/main.yaml index 1a587a5..bac5d31 100644 --- a/roles/setup_install_cumulus/tasks/main.yaml +++ b/roles/setup_install_cumulus/tasks/main.yaml @@ -84,4 +84,3 @@ ansible.builtin.systemd: name: cumulus state: started -... diff --git a/roles/setup_install_encointer/handlers/main.yaml b/roles/setup_install_encointer/handlers/main.yaml index 5b21cfc..c340868 100644 --- a/roles/setup_install_encointer/handlers/main.yaml +++ b/roles/setup_install_encointer/handlers/main.yaml @@ -42,4 +42,3 @@ name: encointer state: started enabled: True -... diff --git a/roles/setup_install_encointer/meta/main.yaml b/roles/setup_install_encointer/meta/main.yaml index 9a7b2e6..2611c79 100644 --- a/roles/setup_install_encointer/meta/main.yaml +++ b/roles/setup_install_encointer/meta/main.yaml @@ -11,4 +11,3 @@ galaxy_info: - bookworm dependencies: - role: setup_add_node_role -... diff --git a/roles/setup_install_encointer/tasks/main.yaml b/roles/setup_install_encointer/tasks/main.yaml index 96878e4..911814d 100644 --- a/roles/setup_install_encointer/tasks/main.yaml +++ b/roles/setup_install_encointer/tasks/main.yaml @@ -84,4 +84,3 @@ ansible.builtin.systemd: name: encointer state: started -... diff --git a/roles/setup_install_erigon/handlers/main.yaml b/roles/setup_install_erigon/handlers/main.yaml index 7aeaa2b..908ce55 100644 --- a/roles/setup_install_erigon/handlers/main.yaml +++ b/roles/setup_install_erigon/handlers/main.yaml @@ -46,4 +46,3 @@ daemon_reload: True state: started enabled: True -... diff --git a/roles/setup_install_erigon/meta/main.yaml b/roles/setup_install_erigon/meta/main.yaml index 4119a5e..be96351 100644 --- a/roles/setup_install_erigon/meta/main.yaml +++ b/roles/setup_install_erigon/meta/main.yaml @@ -12,4 +12,3 @@ galaxy_info: dependencies: - role: setup_install_golang - role: setup_add_node_role -... diff --git a/roles/setup_install_erigon/tasks/main.yaml b/roles/setup_install_erigon/tasks/main.yaml index aef446f..d22096a 100644 --- a/roles/setup_install_erigon/tasks/main.yaml +++ b/roles/setup_install_erigon/tasks/main.yaml @@ -94,4 +94,3 @@ - Symlink Erigon service - Systemd daemon-reload - Start Erigon -... diff --git a/roles/setup_install_ethereum/handlers/main.yaml b/roles/setup_install_ethereum/handlers/main.yaml index 40a683b..31c8caa 100644 --- a/roles/setup_install_ethereum/handlers/main.yaml +++ b/roles/setup_install_ethereum/handlers/main.yaml @@ -38,4 +38,3 @@ state: started enabled: True -... diff --git a/roles/setup_install_ethereum/meta/main.yaml b/roles/setup_install_ethereum/meta/main.yaml index 979bdff..dcfddbc 100644 --- a/roles/setup_install_ethereum/meta/main.yaml +++ b/roles/setup_install_ethereum/meta/main.yaml @@ -11,4 +11,3 @@ galaxy_info: - bookworm dependencies: - role: setup_add_node_role -... diff --git a/roles/setup_install_ethereum/tasks/main.yaml b/roles/setup_install_ethereum/tasks/main.yaml index c472021..19098a2 100644 --- a/roles/setup_install_ethereum/tasks/main.yaml +++ b/roles/setup_install_ethereum/tasks/main.yaml @@ -91,4 +91,3 @@ ansible.builtin.include_role: name: setup_install_lighthouse when: ethereum_syncmode != "light" -... diff --git a/roles/setup_install_evmos/handlers/main.yaml b/roles/setup_install_evmos/handlers/main.yaml index 2f4d9bc..ce865a7 100644 --- a/roles/setup_install_evmos/handlers/main.yaml +++ b/roles/setup_install_evmos/handlers/main.yaml @@ -41,4 +41,3 @@ state: link owner: "root" group: "root" -... diff --git a/roles/setup_install_evmos/meta/main.yaml b/roles/setup_install_evmos/meta/main.yaml index 3160a0c..825550d 100644 --- a/roles/setup_install_evmos/meta/main.yaml +++ b/roles/setup_install_evmos/meta/main.yaml @@ -12,4 +12,3 @@ galaxy_info: dependencies: - role: setup_install_golang - role: setup_add_node_role -... diff --git a/roles/setup_install_evmos/tasks/main.yaml b/roles/setup_install_evmos/tasks/main.yaml index c398030..910354c 100644 --- a/roles/setup_install_evmos/tasks/main.yaml +++ b/roles/setup_install_evmos/tasks/main.yaml @@ -113,4 +113,3 @@ - Systemd daemon-reload - Stop evmosd - Start evmosd -... diff --git a/roles/setup_install_foundry/handlers/main.yaml b/roles/setup_install_foundry/handlers/main.yaml index 7bab159..55522bd 100644 --- a/roles/setup_install_foundry/handlers/main.yaml +++ b/roles/setup_install_foundry/handlers/main.yaml @@ -1,3 +1,2 @@ # Standards: 0.2 --- -... diff --git a/roles/setup_install_foundry/meta/main.yaml b/roles/setup_install_foundry/meta/main.yaml index 82abb0d..a562f09 100644 --- a/roles/setup_install_foundry/meta/main.yaml +++ b/roles/setup_install_foundry/meta/main.yaml @@ -10,4 +10,3 @@ galaxy_info: - bullseye - bookworm dependencies: -... diff --git a/roles/setup_install_foundry/tasks/main.yaml b/roles/setup_install_foundry/tasks/main.yaml index ff29eed..06c68ce 100644 --- a/roles/setup_install_foundry/tasks/main.yaml +++ b/roles/setup_install_foundry/tasks/main.yaml @@ -30,4 +30,3 @@ when: foundryup.stat.exists == False environment: FOUNDRY_DIR: /usr/local -... diff --git a/roles/setup_install_golang/handlers/main.yaml b/roles/setup_install_golang/handlers/main.yaml index 7bab159..55522bd 100644 --- a/roles/setup_install_golang/handlers/main.yaml +++ b/roles/setup_install_golang/handlers/main.yaml @@ -1,3 +1,2 @@ # Standards: 0.2 --- -... diff --git a/roles/setup_install_golang/meta/main.yaml b/roles/setup_install_golang/meta/main.yaml index 447eec5..223479d 100644 --- a/roles/setup_install_golang/meta/main.yaml +++ b/roles/setup_install_golang/meta/main.yaml @@ -10,4 +10,3 @@ galaxy_info: - bullseye - bookworm dependencies: -... diff --git a/roles/setup_install_golang/tasks/main.yaml b/roles/setup_install_golang/tasks/main.yaml index b351a10..fc8fc00 100644 --- a/roles/setup_install_golang/tasks/main.yaml +++ b/roles/setup_install_golang/tasks/main.yaml @@ -23,4 +23,3 @@ - "export GOROOT={{ default_golang_GOROOT }}" - "export GOPATH=$HOME/go" - "export PATH=$GOPATH/bin:$GOROOT/bin:$PATH" -... diff --git a/roles/setup_install_kava/handlers/main.yaml b/roles/setup_install_kava/handlers/main.yaml index 94e6aee..8a12ab8 100644 --- a/roles/setup_install_kava/handlers/main.yaml +++ b/roles/setup_install_kava/handlers/main.yaml @@ -41,4 +41,3 @@ state: link owner: "root" group: "root" -... diff --git a/roles/setup_install_kava/meta/main.yaml b/roles/setup_install_kava/meta/main.yaml index 8ed07bb..5e2e212 100644 --- a/roles/setup_install_kava/meta/main.yaml +++ b/roles/setup_install_kava/meta/main.yaml @@ -12,4 +12,3 @@ galaxy_info: dependencies: - role: setup_install_golang - role: setup_add_node_role -... diff --git a/roles/setup_install_kava/tasks/main.yaml b/roles/setup_install_kava/tasks/main.yaml index 3bd26a6..cfcdcdd 100644 --- a/roles/setup_install_kava/tasks/main.yaml +++ b/roles/setup_install_kava/tasks/main.yaml @@ -112,4 +112,3 @@ - Systemd daemon-reload - Stop kavad - Start kavad -... diff --git a/roles/setup_install_lighthouse/handlers/main.yaml b/roles/setup_install_lighthouse/handlers/main.yaml index 7dfeac9..fab8e3d 100644 --- a/roles/setup_install_lighthouse/handlers/main.yaml +++ b/roles/setup_install_lighthouse/handlers/main.yaml @@ -38,4 +38,3 @@ state: started enabled: True -... diff --git a/roles/setup_install_lighthouse/meta/main.yaml b/roles/setup_install_lighthouse/meta/main.yaml index 25ccaae..cc42d62 100644 --- a/roles/setup_install_lighthouse/meta/main.yaml +++ b/roles/setup_install_lighthouse/meta/main.yaml @@ -10,4 +10,3 @@ galaxy_info: - bullseye - bookworm dependencies: -... diff --git a/roles/setup_install_lighthouse/tasks/main.yaml b/roles/setup_install_lighthouse/tasks/main.yaml index 9b184e4..81339ee 100644 --- a/roles/setup_install_lighthouse/tasks/main.yaml +++ b/roles/setup_install_lighthouse/tasks/main.yaml @@ -67,4 +67,3 @@ - Start Lighthouse when: - ethereum_syncmode != "light" -... diff --git a/roles/setup_install_moonbeam/handlers/main.yaml b/roles/setup_install_moonbeam/handlers/main.yaml index 8f6c0e7..25e0b28 100644 --- a/roles/setup_install_moonbeam/handlers/main.yaml +++ b/roles/setup_install_moonbeam/handlers/main.yaml @@ -32,4 +32,3 @@ state: link owner: "{{ moonbeam_user }}" group: "{{ moonbeam_user }}" -... diff --git a/roles/setup_install_moonbeam/meta/main.yaml b/roles/setup_install_moonbeam/meta/main.yaml index 8a48114..95e6c95 100644 --- a/roles/setup_install_moonbeam/meta/main.yaml +++ b/roles/setup_install_moonbeam/meta/main.yaml @@ -11,4 +11,3 @@ galaxy_info: - bookworm dependencies: - role: setup_add_node_role -... diff --git a/roles/setup_install_moonbeam/tasks/main.yaml b/roles/setup_install_moonbeam/tasks/main.yaml index 20cccc8..0eff81b 100644 --- a/roles/setup_install_moonbeam/tasks/main.yaml +++ b/roles/setup_install_moonbeam/tasks/main.yaml @@ -60,4 +60,3 @@ - Stop Moonbeam - Systemd daemon-reload - Restart Moonbeam -... diff --git a/roles/setup_install_nginx/handlers/main.yaml b/roles/setup_install_nginx/handlers/main.yaml index ea611d1..9537e7d 100644 --- a/roles/setup_install_nginx/handlers/main.yaml +++ b/roles/setup_install_nginx/handlers/main.yaml @@ -10,4 +10,3 @@ name: nginx state: restarted listen: Reload nginx -... diff --git a/roles/setup_install_nginx/tasks/loadbalancer.yaml b/roles/setup_install_nginx/tasks/loadbalancer.yaml index 12124d4..dd09c91 100644 --- a/roles/setup_install_nginx/tasks/loadbalancer.yaml +++ b/roles/setup_install_nginx/tasks/loadbalancer.yaml @@ -148,4 +148,3 @@ - default_node_type == 'endpoint' - inventory_hostname != domain_groups[default_public_dns_lb][0] notify: Reload nginx -... diff --git a/roles/setup_install_nginx/tasks/main.yaml b/roles/setup_install_nginx/tasks/main.yaml index 061d94e..921c133 100644 --- a/roles/setup_install_nginx/tasks/main.yaml +++ b/roles/setup_install_nginx/tasks/main.yaml @@ -114,4 +114,3 @@ # - name: Include loadbalancer tasks for endpoints # ansible.builtin.import_tasks: loadbalancer.yaml # when: default_node_type == 'endpoint' -... diff --git a/roles/setup_install_nodejs/handlers/main.yaml b/roles/setup_install_nodejs/handlers/main.yaml index f580d8f..d6277c1 100644 --- a/roles/setup_install_nodejs/handlers/main.yaml +++ b/roles/setup_install_nodejs/handlers/main.yaml @@ -4,4 +4,3 @@ ansible.builtin.apt: update_cache: True force_apt_get: True -... diff --git a/roles/setup_install_nodejs/tasks/main.yaml b/roles/setup_install_nodejs/tasks/main.yaml index 769a4e6..9db3a87 100644 --- a/roles/setup_install_nodejs/tasks/main.yaml +++ b/roles/setup_install_nodejs/tasks/main.yaml @@ -35,4 +35,3 @@ autoclean: True autoremove: False state: present -... diff --git a/roles/setup_install_optimism/handlers/main.yaml b/roles/setup_install_optimism/handlers/main.yaml index 136ac46..db1f49e 100644 --- a/roles/setup_install_optimism/handlers/main.yaml +++ b/roles/setup_install_optimism/handlers/main.yaml @@ -42,4 +42,3 @@ state: started enabled: True -... diff --git a/roles/setup_install_optimism/meta/main.yaml b/roles/setup_install_optimism/meta/main.yaml index e3ef044..c138e18 100644 --- a/roles/setup_install_optimism/meta/main.yaml +++ b/roles/setup_install_optimism/meta/main.yaml @@ -14,4 +14,3 @@ dependencies: - role: setup_install_golang - role: setup_install_foundry -... diff --git a/roles/setup_install_optimism/tasks/main.yaml b/roles/setup_install_optimism/tasks/main.yaml index 86e2574..6ad5af2 100644 --- a/roles/setup_install_optimism/tasks/main.yaml +++ b/roles/setup_install_optimism/tasks/main.yaml @@ -236,4 +236,3 @@ notify: - Restart Optimism-geth - Restart Optimism-dtl -... diff --git a/roles/setup_install_polkadot/handlers/main.yaml b/roles/setup_install_polkadot/handlers/main.yaml index 6e6db0d..7e33a5c 100644 --- a/roles/setup_install_polkadot/handlers/main.yaml +++ b/roles/setup_install_polkadot/handlers/main.yaml @@ -42,4 +42,3 @@ name: polkadot state: started enabled: True -... diff --git a/roles/setup_install_polkadot/meta/main.yaml b/roles/setup_install_polkadot/meta/main.yaml index 343755a..9845568 100644 --- a/roles/setup_install_polkadot/meta/main.yaml +++ b/roles/setup_install_polkadot/meta/main.yaml @@ -12,4 +12,3 @@ galaxy_info: dependencies: - setup_add_node_role - setup_install_rust -... diff --git a/roles/setup_install_polkadot/tasks/main.yaml b/roles/setup_install_polkadot/tasks/main.yaml index 3b0b448..4c24c38 100644 --- a/roles/setup_install_polkadot/tasks/main.yaml +++ b/roles/setup_install_polkadot/tasks/main.yaml @@ -119,4 +119,3 @@ ansible.builtin.systemd: name: polkadot state: started -... diff --git a/roles/setup_install_postfix/handlers/main.yaml b/roles/setup_install_postfix/handlers/main.yaml index 42c1fa4..c2ab50b 100644 --- a/roles/setup_install_postfix/handlers/main.yaml +++ b/roles/setup_install_postfix/handlers/main.yaml @@ -5,4 +5,3 @@ name: postfix state: restarted enabled: True -... diff --git a/roles/setup_install_postfix/meta/main.yaml b/roles/setup_install_postfix/meta/main.yaml index a718f7f..76915df 100644 --- a/roles/setup_install_postfix/meta/main.yaml +++ b/roles/setup_install_postfix/meta/main.yaml @@ -11,4 +11,3 @@ galaxy_info: - bookworm dependencies: - role: setup_set_hostname -... diff --git a/roles/setup_install_postfix/tasks/main.yaml b/roles/setup_install_postfix/tasks/main.yaml index e4849df..9ebeba5 100644 --- a/roles/setup_install_postfix/tasks/main.yaml +++ b/roles/setup_install_postfix/tasks/main.yaml @@ -9,4 +9,3 @@ postfix_service_enabled: True postfix_inet_interfaces: "loopback-only" postfix_inet_protocols: "ipv4" -... diff --git a/roles/setup_install_prometheus/tasks/main.yaml b/roles/setup_install_prometheus/tasks/main.yaml index 38db4c5..4bd85db 100644 --- a/roles/setup_install_prometheus/tasks/main.yaml +++ b/roles/setup_install_prometheus/tasks/main.yaml @@ -44,4 +44,3 @@ name: prometheus state: restarted daemon_reload: yes -... diff --git a/roles/setup_install_prometheus/tasks/prometheus-tasks.yaml b/roles/setup_install_prometheus/tasks/prometheus-tasks.yaml index 70e900d..24971ac 100644 --- a/roles/setup_install_prometheus/tasks/prometheus-tasks.yaml +++ b/roles/setup_install_prometheus/tasks/prometheus-tasks.yaml @@ -74,4 +74,3 @@ daemon_reload: yes enabled: yes state: "{{ 'started' if not servicestatus.stat.exists else 'restarted' }}" -... diff --git a/roles/setup_install_rust/handlers/main.yaml b/roles/setup_install_rust/handlers/main.yaml index b5d347d..c948444 100644 --- a/roles/setup_install_rust/handlers/main.yaml +++ b/roles/setup_install_rust/handlers/main.yaml @@ -22,4 +22,3 @@ create: yes when: "'/usr/bin/zsh' in ansible_user_shell" become: no -... diff --git a/roles/setup_install_rust/meta/main.yaml b/roles/setup_install_rust/meta/main.yaml index 5c70b5a..1c540e3 100644 --- a/roles/setup_install_rust/meta/main.yaml +++ b/roles/setup_install_rust/meta/main.yaml @@ -11,4 +11,3 @@ galaxy_info: - bookworm - bookworm dependencies: -... diff --git a/roles/setup_install_rust/tasks/main.yaml b/roles/setup_install_rust/tasks/main.yaml index 3329a88..9e04c06 100644 --- a/roles/setup_install_rust/tasks/main.yaml +++ b/roles/setup_install_rust/tasks/main.yaml @@ -39,4 +39,3 @@ ansible.builtin.command: cmd: "{{ ansible_env.HOME }}/.cargo/bin/rustup update nightly" when: rust_installed.stat.exists -... diff --git a/roles/setup_install_wireguard/defaults/main.yaml b/roles/setup_install_wireguard/defaults/main.yaml index a751c5a..1e9c510 100644 --- a/roles/setup_install_wireguard/defaults/main.yaml +++ b/roles/setup_install_wireguard/defaults/main.yaml @@ -18,4 +18,3 @@ wg_server_ip: "{{ wg_address | ansible.utils.ipaddr('network') | ansible.utils.i wg_interface_addr: "{{ ansible_default_ipv4.address | default(ansible_all_ipv4_addresses[0]) }}/{{ ansible_default_ipv4.netmask }}" wg_peers_allowed_ips: '{{ ([(_wg_interface_addr | ansible.utils.ipaddr(''network/prefix''))] + (wireguard_additional_routes | default([]))) | join(", ") }}' wg_pskkey: romeblockchainlabs -... diff --git a/roles/setup_install_wireguard/handlers/main.yaml b/roles/setup_install_wireguard/handlers/main.yaml index 7c4b0aa..f8359fc 100644 --- a/roles/setup_install_wireguard/handlers/main.yaml +++ b/roles/setup_install_wireguard/handlers/main.yaml @@ -11,4 +11,3 @@ name: wg-quick@wg0 state: started daemon_reload: yes -... diff --git a/roles/setup_install_wireguard/meta/main.yaml b/roles/setup_install_wireguard/meta/main.yaml index cec51f4..4390a60 100644 --- a/roles/setup_install_wireguard/meta/main.yaml +++ b/roles/setup_install_wireguard/meta/main.yaml @@ -23,4 +23,3 @@ galaxy_info: - vpn - wireguard dependencies: [] -... diff --git a/roles/setup_install_wireguard/tasks/main.yaml b/roles/setup_install_wireguard/tasks/main.yaml index 542aa7b..b0d054c 100644 --- a/roles/setup_install_wireguard/tasks/main.yaml +++ b/roles/setup_install_wireguard/tasks/main.yaml @@ -65,4 +65,3 @@ when: file_status.results[0].stat.exists == False notify: - Start wireguard -... diff --git a/roles/setup_install_zabbix_agent/defaults/main.yaml b/roles/setup_install_zabbix_agent/defaults/main.yaml index 05a9f7e..18b15ec 100644 --- a/roles/setup_install_zabbix_agent/defaults/main.yaml +++ b/roles/setup_install_zabbix_agent/defaults/main.yaml @@ -7,4 +7,3 @@ zabbix_agent_script_path: "{{ zabbix_agent_base_path }}/scripts" zabbix_agent_confd_path: "{{ zabbix_agent_base_path }}/zabbix_agentd.conf.d" zabbix_ansible_base_path: "/etc/ansible" zabbix_ansible_factsd_path: "{{ zabbix_ansible_base_path }}/facts.d" -... diff --git a/roles/setup_install_zabbix_agent/handlers/main.yaml b/roles/setup_install_zabbix_agent/handlers/main.yaml index 9583ea5..72e043c 100644 --- a/roles/setup_install_zabbix_agent/handlers/main.yaml +++ b/roles/setup_install_zabbix_agent/handlers/main.yaml @@ -11,4 +11,3 @@ ansible.builtin.systemd: daemon_reload: True check_mode: False -... diff --git a/roles/setup_install_zabbix_agent/tasks/main.yaml b/roles/setup_install_zabbix_agent/tasks/main.yaml index 8e2b68d..a664e56 100644 --- a/roles/setup_install_zabbix_agent/tasks/main.yaml +++ b/roles/setup_install_zabbix_agent/tasks/main.yaml @@ -61,4 +61,3 @@ notify: - Systemd daemon-reload - Restart zabbix-agent -... diff --git a/roles/setup_kernel_modules/meta/main.yaml b/roles/setup_kernel_modules/meta/main.yaml index 76c1cb0..eed29cd 100644 --- a/roles/setup_kernel_modules/meta/main.yaml +++ b/roles/setup_kernel_modules/meta/main.yaml @@ -10,4 +10,3 @@ galaxy_info: - bullseye - bookworm dependencies: [] -... diff --git a/roles/setup_kernel_modules/tasks/main.yaml b/roles/setup_kernel_modules/tasks/main.yaml index 615752d..f7a083b 100644 --- a/roles/setup_kernel_modules/tasks/main.yaml +++ b/roles/setup_kernel_modules/tasks/main.yaml @@ -83,4 +83,3 @@ mode: '0644' state: present loop: "{{ kernel_modules }}" -... diff --git a/roles/setup_log_rotation/handlers/main.yaml b/roles/setup_log_rotation/handlers/main.yaml index b6e0692..f479e96 100644 --- a/roles/setup_log_rotation/handlers/main.yaml +++ b/roles/setup_log_rotation/handlers/main.yaml @@ -3,4 +3,3 @@ - name: Systemd daemon-reload ansible.builtin.systemd: daemon_reload: True -... diff --git a/roles/setup_log_rotation/meta/main.yaml b/roles/setup_log_rotation/meta/main.yaml index 76c1cb0..eed29cd 100644 --- a/roles/setup_log_rotation/meta/main.yaml +++ b/roles/setup_log_rotation/meta/main.yaml @@ -10,4 +10,3 @@ galaxy_info: - bullseye - bookworm dependencies: [] -... diff --git a/roles/setup_log_rotation/tasks/main.yaml b/roles/setup_log_rotation/tasks/main.yaml index d032b93..06421ed 100644 --- a/roles/setup_log_rotation/tasks/main.yaml +++ b/roles/setup_log_rotation/tasks/main.yaml @@ -27,4 +27,3 @@ - { src: "rsyslog.template", dst: "/etc/logrotate.d/rsyslog" } notify: - Systemd daemon-reload -... diff --git a/roles/setup_networking_iptables/handlers/main.yaml b/roles/setup_networking_iptables/handlers/main.yaml index 3a223db..cbf6284 100644 --- a/roles/setup_networking_iptables/handlers/main.yaml +++ b/roles/setup_networking_iptables/handlers/main.yaml @@ -16,4 +16,3 @@ name: iptables state: restarted enabled: True -... diff --git a/roles/setup_networking_iptables/meta/main.yaml b/roles/setup_networking_iptables/meta/main.yaml index c2485e0..d31024b 100644 --- a/roles/setup_networking_iptables/meta/main.yaml +++ b/roles/setup_networking_iptables/meta/main.yaml @@ -10,4 +10,3 @@ galaxy_info: - bullseye - bookworm dependencies: -... diff --git a/roles/setup_networking_iptables/tasks/main.yaml b/roles/setup_networking_iptables/tasks/main.yaml index 14dbd27..042165c 100644 --- a/roles/setup_networking_iptables/tasks/main.yaml +++ b/roles/setup_networking_iptables/tasks/main.yaml @@ -118,4 +118,3 @@ notify: - Persist iptables - Restart iptables -... diff --git a/roles/setup_networking_iptables/vars/main.yaml b/roles/setup_networking_iptables/vars/main.yaml index a249403..a9c045b 100644 --- a/roles/setup_networking_iptables/vars/main.yaml +++ b/roles/setup_networking_iptables/vars/main.yaml @@ -27,4 +27,3 @@ internal_ip_ranges: - "224.0.0.0/4" - "240.0.0.0/4" - "255.255.255.255/32" -... diff --git a/roles/setup_networking_routeros/meta/main.yaml b/roles/setup_networking_routeros/meta/main.yaml index c22322c..84f3020 100644 --- a/roles/setup_networking_routeros/meta/main.yaml +++ b/roles/setup_networking_routeros/meta/main.yaml @@ -10,4 +10,3 @@ galaxy_info: - bullseye - bookworm dependencies: -... diff --git a/roles/setup_networking_routeros/tasks/main.yaml b/roles/setup_networking_routeros/tasks/main.yaml index c275d40..cc6a920 100644 --- a/roles/setup_networking_routeros/tasks/main.yaml +++ b/roles/setup_networking_routeros/tasks/main.yaml @@ -52,4 +52,3 @@ loop: "{{ filter_exist_check.results }}" when: item.ansible_facts.filter_exists == False delegate_to: "{{ routeros_delegate_host }}" -... diff --git a/roles/setup_set_default_locale/handlers/main.yaml b/roles/setup_set_default_locale/handlers/main.yaml index 4741c7a..285eb2d 100644 --- a/roles/setup_set_default_locale/handlers/main.yaml +++ b/roles/setup_set_default_locale/handlers/main.yaml @@ -13,4 +13,3 @@ - update-locale - LANG={{ default_locale }} -... diff --git a/roles/setup_set_default_locale/tasks/main.yaml b/roles/setup_set_default_locale/tasks/main.yaml index e4f6778..1682f31 100644 --- a/roles/setup_set_default_locale/tasks/main.yaml +++ b/roles/setup_set_default_locale/tasks/main.yaml @@ -34,4 +34,3 @@ notify: - Rebuild Locales - Update Locale -... diff --git a/roles/setup_set_hostname/tasks/main.yaml b/roles/setup_set_hostname/tasks/main.yaml index 810ab92..23a9713 100644 --- a/roles/setup_set_hostname/tasks/main.yaml +++ b/roles/setup_set_hostname/tasks/main.yaml @@ -21,4 +21,3 @@ group: root mode: '0644' state: present -... diff --git a/roles/setup_set_timezone/handlers/main.yaml b/roles/setup_set_timezone/handlers/main.yaml index 32ffc5b..7405600 100644 --- a/roles/setup_set_timezone/handlers/main.yaml +++ b/roles/setup_set_timezone/handlers/main.yaml @@ -6,4 +6,3 @@ - dpkg-reconfigure - --frontend=noninteractive - tzdata -... diff --git a/roles/setup_set_timezone/tasks/main.yaml b/roles/setup_set_timezone/tasks/main.yaml index 2c99b45..265e5eb 100644 --- a/roles/setup_set_timezone/tasks/main.yaml +++ b/roles/setup_set_timezone/tasks/main.yaml @@ -4,4 +4,3 @@ community.general.timezone: name: "{{ host_timezone }}" notify: Rebuild Timezone Data -... diff --git a/roles/setup_user_management/tasks/main.yaml b/roles/setup_user_management/tasks/main.yaml index bd4bf7b..3e19aa9 100644 --- a/roles/setup_user_management/tasks/main.yaml +++ b/roles/setup_user_management/tasks/main.yaml @@ -91,4 +91,3 @@ owner: root group: root mode: '0644' -... diff --git a/scripts/calc_cores.sh b/scripts/calc_cores.sh new file mode 100755 index 0000000..7828305 --- /dev/null +++ b/scripts/calc_cores.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Check if a filename is provided +if [ "$#" -ne 1 ]; then + echo "Usage: $0 " + exit 1 +fi + +# Filename is the first argument +filename=$1 + +# Calculate the sum of cores +awk '!/^[[:space:]]*#/ && (/^cores: [0-9]+/ || /^[[:space:]]+cores: [0-9]+/) {sum += $2} END {print sum}' $filename diff --git a/scripts/regdo b/scripts/regdo new file mode 100755 index 0000000..fa9741a --- /dev/null +++ b/scripts/regdo @@ -0,0 +1,60 @@ +#!/bin/bash + +# Function to check if a domain is already registered +is_domain_registered() { + local domain=$1 + if grep -q "$domain" <<< "$existing_dns_records"; then + return 0 # Domain is registered + else + return 1 # Domain is not registered + fi +} + +get_dns_record_id() { + local hostname=$1 + echo "$existing_dns_records" | grep "$hostname" | awk -F'ID: ' '{print $2}' | awk -F', ' '{print $1}' +} + +# Check if the argument is provided +if [ $# -ne 1 ]; then + echo "Usage: $0 sshconfigname" + exit 1 +fi + +ssh_details=$1 +# IP address for the DNS record +ip_address="27.131.160.106" + +# Fetch existing DNS records +existing_dns_records=$(porkctl dns list rotko.net) + +# SSH into the host and get the list of VMs +ssh_output=$(ssh "$ssh_details" 'pct list') + +# Parse the ssh_output to extract hostnames +# Adjusting the parsing logic based on your `pct list` output +hostnames=$(echo "$ssh_output" | awk '/rotko.net/{print $3}') + +# Debug: Echo hostnames after they are defined +echo "Hostnames found: $hostnames" + +# Loop through each hostname and register if not already done +for hostname in $hostnames; do + if ! is_domain_registered "$hostname"; then + # Register the domain + porkctl dns create --name "$hostname" --type A --data "$ip_address" + echo "Registered $hostname with IP $ip_address" + else + echo "$hostname is already registered." + # Extract the record ID + record_id=$(get_dns_record_id "$hostname") + if [ -n "$record_id" ]; then + # Update the existing DNS record + # porkctl dns update --record_id "$record_id" --name "$hostname" --type A --data "$ip_address" + # echo "Updated $hostname with IP $ip_address" + echo "skip update" + else + echo "Failed to find DNS record ID for $hostname" + fi + fi +done