Skip to content

Conversation

@jfcampos1
Copy link

When you have a configuration file with multiple servers if you filter servers with roles like this ones:

autoscale 'app-autoscale-group', user: 'apps', roles: [:app, :web]
autoscale 'worker-autoscale-group', user: 'apps', roles: [:worker]

If you do in deploy:
cap ROLES=worker production deploy

Will create a new AMI for all autoscaling groups in the configuration.

I've added this PR to fix it 😄 , selecting ami creation to only deployed servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant