This allows users to use the traditional multitoolbox options if needed without needing to reconfigure this file. It will be deployed automatically.
This pull request introduces changes to the Ansible playbook to automate the deployment of the install_conf.json configuration file to a specific user's home directory.
The most important changes are:
roles/common/tasks/common-installFluxInstallConf.yml: A new Ansible task has been created to copy the install_conf.json file from the global.fluxPath to the home directory of the user specified in global.user. The file permissions are set to 0644 and the file owner is set to global.user.
roles/common/tasks/main.yml: The newly created task common-installFluxInstallConf.yml is included in the main playbook. This task is tagged with common-installFluxInstallConf, common, and all. The task is also set to run with escalated privileges (become: true).
roles/common/templates/install_conf.json: A new template for the install_conf.json file has been added. This file contains various configuration settings, such as import_settings, prvkey, outpoint, index, ssh_port, zelid, kda_address, firewall_disable, bootstrap_url, bootstrap_zip_del, swapon, use_old_chain, node_label, discord, ping, telegram_alert, telegram_bot_token, telegram_chat_id, eps_limit, zelflux_update, zelcash_update, zelbench_update, upnp_port, and gateway_ip. These settings are populated using Ansible variables.
This allows users to use the traditional multitoolbox options if needed without needing to reconfigure this file. It will be deployed automatically.
This pull request introduces changes to the Ansible playbook to automate the deployment of the
install_conf.json
configuration file to a specific user's home directory.The most important changes are:
roles/common/tasks/common-installFluxInstallConf.yml
: A new Ansible task has been created to copy theinstall_conf.json
file from theglobal.fluxPath
to the home directory of the user specified inglobal.user
. The file permissions are set to0644
and the file owner is set toglobal.user
.roles/common/tasks/main.yml
: The newly created taskcommon-installFluxInstallConf.yml
is included in the main playbook. This task is tagged withcommon-installFluxInstallConf
,common
, andall
. The task is also set to run with escalated privileges (become: true
).roles/common/templates/install_conf.json
: A new template for theinstall_conf.json
file has been added. This file contains various configuration settings, such asimport_settings
,prvkey
,outpoint
,index
,ssh_port
,zelid
,kda_address
,firewall_disable
,bootstrap_url
,bootstrap_zip_del
,swapon
,use_old_chain
,node_label
,discord
,ping
,telegram_alert
,telegram_bot_token
,telegram_chat_id
,eps_limit
,zelflux_update
,zelcash_update
,zelbench_update
,upnp_port
, andgateway_ip
. These settings are populated using Ansible variables.