Replies: 1 comment 1 reply
-
Yes, it's possible. In Deployer each host has two properties:
You can give names to hosts via aliases and set the correct IP. Here is an example for v7: set('deploy_user', '/path'); // In v7 it's possible to set deploy_path as recipe config.
set('remote_user', 'my-user');
host('foo')
->setHostname('18.192.24.01')
->setLabels(['stage' => 'test']);
host('bar')
->setHostname('18.192.24.02')
->setLabels(['stage' => 'test']); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
we have a config like
this leads to a listing when invoked with
dep ssh
.is it possible to have 'labels' or something instead of just IPs to give the user a hint what a IP is refering to (the 2nd and 3rd entry in the list)?
with the display as can be seen on the screenshot, a user needs to know the IPs by heart which is not that useful.
Beta Was this translation helpful? Give feedback.
All reactions