correct name of variable
This commit is contained in:
parent
d9f8ab9679
commit
a302055f07
1 changed files with 3 additions and 3 deletions
|
@ -54,9 +54,9 @@
|
|||
- lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth1 regexp="^ONBOOT=" line="ONBOOT=yes"
|
||||
# only for first run
|
||||
- lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth1 regexp="^NETMASK=" line="NETMASK=255.255.255.0"
|
||||
when: packstack_sucessfully_finished.exists == False
|
||||
when: packstack_sucessfully_finished.stat.exists == False
|
||||
- lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth1 regexp="^IPADDR=" line="IPADDR={{controller_private_ip}}"
|
||||
when: packstack_sucessfully_finished.exists == False
|
||||
when: packstack_sucessfully_finished.stat.exists == False
|
||||
- lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth1 regexp="BOOTPROTO=" line="BOOTPROTO=none"
|
||||
- template: src={{files}}/fedora-cloud/ifcfg-br-ex dest=/etc/sysconfig/network-scripts/ifcfg-br-ex owner=root mode=0644
|
||||
# FIXME notify network service restart, eth1 must be up and configured
|
||||
|
@ -109,7 +109,7 @@
|
|||
- template: src={{ files }}/fedora-cloud/packstack-controller-answers.txt dest=/root/ owner=root mode=0600
|
||||
- authorized_key: user=root key="{{ lookup('file', files + '/fedora-cloud/fed09-ssh-key.pub') }}"
|
||||
- command: packstack --answer-file=/root/packstack-controller-answers.txt
|
||||
when: packstack_sucessfully_finished.exists == False
|
||||
when: packstack_sucessfully_finished.state.exists == False
|
||||
- file: path=/etc/packstack_sucessfully_finished state=touch
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue