Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IronicDrivers
openstack-ansible-os_ironic
Commits
80a027f1
Commit
80a027f1
authored
Dec 13, 2016
by
Jenkins
Committed by
Gerrit Code Review
Dec 13, 2016
Browse files
Merge "Add ldlinux.c32 to the tftp directory"
parents
9a3a5ae5
1ed97c1a
Changes
3
Hide whitespace changes
Inline
Side-by-side
tasks/ironic_conductor_post_install.yml
View file @
80a027f1
...
...
@@ -15,8 +15,8 @@
-
name
:
Copy in sample dhcpd.conf file
copy
:
src
:
dhcpd.conf
dest
:
/etc/dhcp/
src
:
"
dhcpd.conf
"
dest
:
"
/etc/dhcp/
"
when
:
ironic_standalone
notify
:
-
Restart isc-dhcp-server
...
...
@@ -31,30 +31,21 @@
-
name
:
Copy in tftpd-hpa config file
template
:
src
:
tftpd-hpa.j2
dest
:
/etc/default/tftpd-hpa
src
:
"
tftpd-hpa.j2
"
dest
:
"
/etc/default/tftpd-hpa
"
notify
:
-
Restart tftpd-hpa
-
name
:
Copy in tftpd-hpa map file
copy
:
src
:
map-file
dest
:
/tftpboot/map-file
src
:
"
map-file
"
dest
:
"
/tftpboot/map-file
"
notify
:
-
Restart tftpd-hpa
## TODO(odyssey4me): Switch this to the copy module and make use of
## remote_src: True once we move to Ansible 2.x. For Ansible 1.9x
## there is no idempotent way of doing this without several tasks
## which is a wasted effort.
-
name
:
Copy syslinux pxlinux.0
command
:
"
cp
{{
ironic_pxelinux_path
}}
/tftpboot/pxelinux.0"
changed_when
:
false
## TODO(odyssey4me): Switch this to the copy module and make use of
## remote_src: True once we move to Ansible 2.x. For Ansible 1.9x
## there is no idempotent way of doing this without several tasks
## which is a wasted effort.
-
name
:
Copy syslinux chain.c32
command
:
"
cp
{{
ironic_chainc32_path
}}
/tftpboot/chain.c32"
changed_when
:
false
-
name
:
Copy library modules into /tftpboot
copy
:
src
:
"
{{
item
}}"
dest
:
"
/tftpboot/"
remote_src
:
True
with_items
:
"
{{
ironic_library_modules_paths
}}"
vars/ubuntu-14.04.yml
View file @
80a027f1
...
...
@@ -38,5 +38,6 @@ ironic_conductor_distro_packages:
ironic_conductor_standalone_distro_packages
:
-
isc-dhcp-server
ironic_pxelinux_path
:
"
/usr/lib/syslinux/pxelinux.0"
ironic_chainc32_path
:
"
/usr/lib/syslinux/chain.c32"
ironic_library_modules_paths
:
-
"
/usr/lib/syslinux/pxelinux.0"
-
"
/usr/lib/syslinux/chain.c32"
vars/ubuntu-16.04.yml
View file @
80a027f1
...
...
@@ -40,5 +40,7 @@ ironic_conductor_distro_packages:
ironic_conductor_standalone_distro_packages
:
-
isc-dhcp-server
ironic_pxelinux_path
:
"
/usr/lib/PXELINUX/pxelinux.0"
ironic_chainc32_path
:
"
/usr/lib/syslinux/modules/efi64/chain.c32"
ironic_library_modules_paths
:
-
"
/usr/lib/PXELINUX/pxelinux.0"
-
"
/usr/lib/syslinux/modules/efi64/chain.c32"
-
"
/usr/lib/syslinux/modules/bios/ldlinux.c32"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment