Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.