diff --git a/roles/nox/defaults/main.yml b/roles/nox/defaults/main.yml index 5a55188..88fb0be 100644 --- a/roles/nox/defaults/main.yml +++ b/roles/nox/defaults/main.yml @@ -15,6 +15,7 @@ nox_unit_file: | Environment="FLUENCE_CONFIG={{ nox_dir }}/Config.toml" Environment="FLUENCE_BASE_DIR={{ nox_dir }}/state" Environment="FLUENCE_ROOT_KEY_PAIR__PATH={{ nox_dir }}/state/root_secret_key.ed25519" + Environment="RUST_LOG=info,chain-listener=debug;chain-connector=debug" ExecStart={{ nox_dir }}/nox Restart=on-failure User=root diff --git a/roles/nox/tasks/00-preflight.yml b/roles/nox/tasks/00-preflight.yml index 0f05679..9965014 100644 --- a/roles/nox/tasks/00-preflight.yml +++ b/roles/nox/tasks/00-preflight.yml @@ -81,3 +81,8 @@ debug: msg: "Checking existence of {{ fluence_instance_id }} config at {{ _config_path }}" failed_when: not _config_stat.stat.exists + +- name: print nox config file + debug: + msg: "{{ lookup('ansible.builtin.file', 'files/{{ fluence_project_dir }}/.fluence/configs/{{ fluence_instance_id }}_Config.toml') }}" + when: show_nox_config is defined \ No newline at end of file