You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -112,23 +113,23 @@ A specialized [Convert2RHEL](https://github.com/oamg/convert2rhel) playbook can
112
113
113
114
## FAQ
114
115
115
-
### Are there special environment variables used by `rhc-worker-bash`?
116
+
### Are there special environment variables used by `rhc-worker-script`?
116
117
117
118
There is one special variable that must be set in order to run our worker and that is `YGG_SOCKET_ADDR`, this variable value is set by `rhcd` via `--socket-addr` option.
118
119
119
120
Other than that there are no special variables, however if downloaded yaml file contained `content_vars` (like the example above), then before the execution of the bash script (`content`) all such variables are set as environment variables and prefixed with `RHC_WORKER_`, after script execution is done they are unset.
120
121
121
-
### Can I change behavior of `rhc-worker-bash`?
122
+
### Can I change behavior of `rhc-worker-script`?
122
123
123
-
Yes, some values can be changed if config exists at `/etc/rhc/workers/rhc-worker-bash.yml`, **the config must have valid yaml format**, see all available fields below.
124
+
Yes, some values can be changed if config exists at `/etc/rhc/workers/rhc-worker-script.yml`, **the config must have valid yaml format**, see all available fields below.
124
125
125
126
Example of full config (with default values):
126
127
127
128
```yaml
128
-
# rhc-worker-bash configuration
129
+
# rhc-worker-script configuration
129
130
130
131
# recipient directive to register with dispatcher
131
-
directive: "rhc-worker-bash"
132
+
directive: "rhc-worker-script"
132
133
133
134
# whether to verify incoming yaml files
134
135
verify_yaml: true
@@ -137,10 +138,10 @@ verify_yaml: true
137
138
insights_core_gpg_check: true
138
139
139
140
# temporary directory in which the temporary files with executed bash scripts are created
0 commit comments