From 670be2873c45d019a97251f37844125c4bb1fc6c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 20 Jul 2016 21:19:11 +0000 Subject: [PATCH] fix deprecated syntax --- .../fed-cloud09.cloud.fedoraproject.org.yml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml b/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml index 00347af7ce..7ee9a869d1 100644 --- a/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml +++ b/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml @@ -795,7 +795,7 @@ - name: Create roles for additional tenants shell: source /root/keystonerc_admin && keystone role-list |grep ' {{item}} ' || keystone role-create --name {{ item }} - with_items: all_tenants + with_items: "{{all_tenants}}" - name: Assign users to secondary tentants shell: source /root/keystonerc_admin && keystone user-role-list --user "{{item.user}}" --tenant "{{item.tenant}}" | grep ' {{item.tenant }} ' || keystone user-role-add --user {{item.user}} --role {{item.tenant}} --tenant {{item.tenant}} || true #keystone_user: @@ -905,14 +905,14 @@ auth_url="https://{{controller_publicname}}:35357/v2.0" tenant_name="{{ item }}" name="ext-to-{{ item }}" - with_items: all_tenants + with_items: "{{all_tenants}}" - name: "Connect router's gateway to the external network" neutron_router_gateway: login_username="admin" login_password="{{ ADMIN_PASS }}" login_tenant_name="admin" auth_url="https://{{controller_publicname}}:35357/v2.0" router_name="ext-to-{{ item }}" network_name="external" - with_items: all_tenants + with_items: "{{all_tenants}}" - name: Create a private network for all tenants neutron_network: login_username="admin" login_password="{{ ADMIN_PASS }}" login_tenant_name="admin" @@ -961,7 +961,7 @@ tenant_name="{{ item }}" router_name="ext-to-{{ item }}" subnet_name="{{ item }}-subnet" - with_items: all_tenants + with_items: "{{all_tenants}}" ################# # Security Groups @@ -983,7 +983,7 @@ ethertype: "IPv4" protocol: "tcp" remote_ip_prefix: "0.0.0.0/0" - with_items: all_tenants + with_items: "{{all_tenants}}" - name: "Allow nagios checks" neutron_sec_group: @@ -1078,7 +1078,7 @@ ethertype: "IPv4" protocol: "tcp" remote_ip_prefix: "0.0.0.0/0" - with_items: all_tenants + with_items: "{{all_tenants}}" - name: "Create 'web-443-anywhere' security group" neutron_sec_group: @@ -1097,7 +1097,7 @@ ethertype: "IPv4" protocol: "tcp" remote_ip_prefix: "0.0.0.0/0" - with_items: all_tenants + with_items: "{{all_tenants}}" - name: "Create 'docker-registry-5000-anywhere' security group" neutron_sec_group: @@ -1116,7 +1116,7 @@ ethertype: "IPv4" protocol: "tcp" remote_ip_prefix: "0.0.0.0/0" - with_items: all_tenants + with_items: "{{all_tenants}}" - name: "Create 'wide-open' security group" neutron_sec_group: @@ -1141,7 +1141,7 @@ ethertype: "IPv4" protocol: "udp" remote_ip_prefix: "0.0.0.0/0" - with_items: all_tenants + with_items: "{{all_tenants}}" - name: "Create 'ALL ICMP' security group" neutron_sec_group: @@ -1158,7 +1158,7 @@ ethertype: "IPv4" protocol: "icmp" remote_ip_prefix: "0.0.0.0/0" - with_items: all_tenants + with_items: "{{all_tenants}}" - name: "Create 'keygen-persistent' security group" neutron_sec_group: @@ -1201,7 +1201,7 @@ ethertype: "IPv4" protocol: "tcp" remote_ip_prefix: "0.0.0.0/0" - with_items: all_tenants + with_items: "{{all_tenants}}" # Update quota for Copr