use different syntax

which allow me to use inner "rules"
This commit is contained in:
Miroslav Suchý 2014-09-22 09:43:57 +00:00
parent 7ab68385ad
commit 5cc523f862

View file

@ -439,10 +439,12 @@
# ##############
- name: Copr - Create 'ssh-anywhere' security group
neutron_sec_group:
login_username="admin" login_password="{{ ADMIN_PASS }}" login_tenant_name="admin"
state=present
login_username: "admin"
login_password: "{{ ADMIN_PASS }}"
login_tenant_name: "admin"
state: "present"
description="allow ssh from anywhere"
tenant_name=copr
tenant_name: "copr"
rules:
- direction: "ingress"
port_range_min: "22"