Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config:hosts shows more than one table of hosts #1403

Closed
pragmaton opened this issue Nov 1, 2017 · 2 comments
Closed

config:hosts shows more than one table of hosts #1403

pragmaton opened this issue Nov 1, 2017 · 2 comments
Labels

Comments

@pragmaton
Copy link

Q A
Issue Type Bug
Deployer Version 6.0.3 (18b279d)
Local Machine OS Ubuntu 17.04

Description

If you have more then one host (let say 3), you will get 3 tables for config:hosts

Content of deploy.php

<?php
namespace Deployer;

require_once 'recipe/common.php';

host('host1.net');
host('host2.net');
host('host3.net');

Output log

>php vendor/bin/dep --file=deploy_bug.php config:hosts  -vvv
➤ Executing task config:hosts
+-----------+-----------+-------+-------+-------------+
| Host      | Hostname  | Stage | Roles | Deploy path |
+-----------+-----------+-------+-------+-------------+
| host1.net | host1.net |       |       |             |
| host2.net | host2.net |       |       |             |
| host3.net | host3.net |       |       |             |
+-----------+-----------+-------+-------+-------------+
• done on [host1.net]
+-----------+-----------+-------+-------+-------------+
| Host      | Hostname  | Stage | Roles | Deploy path |
+-----------+-----------+-------+-------+-------------+
| host1.net | host1.net |       |       |             |
| host2.net | host2.net |       |       |             |
| host3.net | host3.net |       |       |             |
+-----------+-----------+-------+-------+-------------+
• done on [host2.net]
+-----------+-----------+-------+-------+-------------+
| Host      | Hostname  | Stage | Roles | Deploy path |
+-----------+-----------+-------+-------+-------------+
| host1.net | host1.net |       |       |             |
| host2.net | host2.net |       |       |             |
| host3.net | host3.net |       |       |             |
+-----------+-----------+-------+-------+-------------+
• done on [host3.net]
✔ Ok [5ms]
@antonmedv
Copy link
Member

Funny =)

antonmedv added a commit that referenced this issue Nov 3, 2017
Fixed bug when config:hosts shows more than one table of hosts #1403
@renanliberato
Copy link

Hey @antonmedv , this issue was already mentioned and merged. I think it should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants