*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit cceaf408 authored by Grantner, Tobias's avatar Grantner, Tobias
Browse files

Merge branch '53-bug-setup-node-fails' into 'dev'

Fixed bug where setup node failes with certain python versions

See merge request !6
parents 56642637 03bbd79d
Branches
No related tags found
2 merge requests!11Allow for the sysadmin to access the provider network, added the ui support...,!6Fixed bug where setup node failes with certain python versions
......@@ -70,7 +70,7 @@
auto_ip: no
timeout: 200
flavor: "{{ flavor | default(core_flavor) }}"
nics: "{{ vms[id].networks | map(attribute='name') | map('regex_replace', '(.*)', 'port-name=' + 'ossdip-' + id + '-\\1') | join(',') }}"
nics: "{{ vms[id].networks | map(attribute='name') | map('regex_replace', '^(.*)$', 'port-name=' + 'ossdip-' + id + '-\\1') | join(',') }}"
security_groups: "{{ vms[id].networks | map(attribute='name') | list }}"
userdata: "{{ lookup('file', '/tmp/' + id + '.cfg') }}"
when: type is undefined
......@@ -85,7 +85,7 @@
auto_ip: no
timeout: 200
flavor: "{{ flavor }}"
nics: "{{ vms[type].networks | map(attribute='name') | map('regex_replace', '(.*)', 'port-name=' + 'ossdip-' + type + '-' + id + '-\\1') | join(',') }}"
nics: "{{ vms[type].networks | map(attribute='name') | map('regex_replace', '^(.*)$', 'port-name=' + 'ossdip-' + type + '-' + id + '-\\1') | join(',') }}"
security_groups: "{{ vms[type].networks | map(attribute='name') | list }}"
userdata: "{{ lookup('file', '/tmp/' + type + '.cfg') }}"
when: type is defined
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment