resolve fed-cloud09 to internal ip, but only on compute nodes
because swift does not listnen on internal ip and it will not work on controller itself
This commit is contained in:
parent
65d9be09f2
commit
905ae5fa76
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
- authorized_key: user=root key="{{ lookup('file', files + '/fedora-cloud/fed09-ssh-key.pub') }}"
|
||||
- template: src={{ files }}/fedora-cloud/hosts dest=/etc/hosts owner=root mode=0644
|
||||
- lineinfile: dest=/etc/hosts line="{{ controller_private_ip }} fed-cloud09.cloud.fedoraproject.org"
|
||||
|
||||
- lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth1 regexp="^ONBOOT=" line="ONBOOT=yes"
|
||||
notify:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue