We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 538d47d commit ce93ccdCopy full SHA for ce93ccd
docs/hosts.md
@@ -123,3 +123,20 @@ Deployer will not connect to this host and will execute commands locally.
123
localhost(); // Alias and hostname will be "localhost".
124
localhost('ci'); // Alias is "ci", hostname is "localhost".
125
```
126
+
127
+## YAML Inventory
128
129
+You can use [import()](api.md#import) function to keep host separately in, for
130
+example, *inventory.yaml* file.
131
132
+```php title="deploy.php"
133
+import('inventory.yaml');
134
+```
135
136
+```yaml title="inventory.yaml"
137
+hosts:
138
+ example.org:
139
+ remote_user: deployer
140
+ deployer.org:
141
142
0 commit comments