| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| cloud | ||
| commands | ||
| database | ||
| files | ||
| internal | ||
| inventory | ||
| messaging | ||
| monitoring | ||
| net_infrastructure | ||
| network | ||
| notification | ||
| packaging | ||
| source_control | ||
| system | ||
| utilities | ||
| web_infrastructure |
Suppose a pair of groups, A and B, depending on each other. One solution
for breaking the circular dependency at playbook level:
- declare group A without dependencies
- declare group B depending on A
- declare group A depending on B
This patch breaks the dependency at module level. Whenever a depended-on
group is missing it's first created. This approach requires only two tasks:
- declare group A depending on B (group B will be auto created)
- declare group B depending on A
When creating a group EC2 requires you to pass the group description. In
order to fullfil this, rules now accept the `group_desc` param. Note
that group description can't be changed once the group is created so
it's nice to keep descriptions in sync.
Concrete example:
- ec2_group:
name: mysql-client
description: MySQL Client
rules_egress:
- proto: tcp
from_port: 3306
to_port: 3306
group_name: mysql-server
group_desc: MySQL Server
- ec2_group:
name: mysql-server
description: MySQL Server
rules:
- proto: tcp
from_port: 3306
to_port: 3306
group_name: mysql-client
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| cloud | Loading commit data... | |
| commands | Loading commit data... | |
| database | Loading commit data... | |
| files | Loading commit data... | |
| internal | Loading commit data... | |
| inventory | Loading commit data... | |
| messaging | Loading commit data... | |
| monitoring | Loading commit data... | |
| net_infrastructure | Loading commit data... | |
| network | Loading commit data... | |
| notification | Loading commit data... | |
| packaging | Loading commit data... | |
| source_control | Loading commit data... | |
| system | Loading commit data... | |
| utilities | Loading commit data... | |
| web_infrastructure | Loading commit data... |