clean up tftp files for external servers.
This commit is contained in:
parent
341f0c6287
commit
a242509f6d
6 changed files with 14 additions and 74 deletions
|
@ -30,6 +30,13 @@
|
||||||
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
|
- name: install some packages which arent in playbooks
|
||||||
|
package:
|
||||||
|
state: present
|
||||||
|
name:
|
||||||
|
- nmap
|
||||||
|
- tcpdump
|
||||||
|
|
||||||
- name: check if ntpd port is already known by selinux
|
- name: check if ntpd port is already known by selinux
|
||||||
shell: semanage port -l | grep ntp
|
shell: semanage port -l | grep ntp
|
||||||
register: ntp_selinux_port
|
register: ntp_selinux_port
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
DEFAULT menu
|
DEFAULT menu
|
||||||
MENU TITLE Fedora Infra Cloud PXE Boot
|
MENU TITLE Fedora Infra RDU_CC PXE Boot
|
||||||
PROMPT 0
|
PROMPT 0
|
||||||
TIMEOUT 200
|
TIMEOUT 200
|
||||||
TOTALTIMEOUT 6000
|
TOTALTIMEOUT 6000
|
||||||
|
@ -13,31 +13,31 @@ LABEL local
|
||||||
LABEL cloud-fx
|
LABEL cloud-fx
|
||||||
MENU LABEL cloud-fx
|
MENU LABEL cloud-fx
|
||||||
KERNEL images/RHEL/7/x86_64/vmlinuz
|
KERNEL images/RHEL/7/x86_64/vmlinuz
|
||||||
APPEND initrd=images/RHEL/7/x86_64/initrd.img method=http://209.132.181.6/repo/rhel/RHEL7-x86_64/ ip=dhcp ks=http://209.132.181.6/repo/rhel/ks/hardware-rhel-7-cloud-fx net.ifnames=0 biosdevname=0
|
APPEND initrd=images/RHEL/7/x86_64/initrd.img method=http://38.145.60.16/repo/rhel/RHEL7-x86_64/ ip=dhcp ks=http://38.145.60.16/repo/rhel/ks/hardware-rhel-7-cloud-fx net.ifnames=0 biosdevname=0
|
||||||
|
|
||||||
LABEL EL-7-08disk
|
LABEL EL-7-08disk
|
||||||
MENU LABEL el7-08disk
|
MENU LABEL el7-08disk
|
||||||
KERNEL images/RHEL/7/x86_64/vmlinuz
|
KERNEL images/RHEL/7/x86_64/vmlinuz
|
||||||
APPEND initrd=images/RHEL/7/x86_64/initrd.img method=http://209.132.181.6/repo/rhel/RHEL7-x86_64/ ip=dhcp ks=http://209.132.181.6/repo/rhel/ks/hardware-rhel-7-08disk-ext net.ifnames=0 biosdevname=0
|
APPEND initrd=images/RHEL/7/x86_64/initrd.img method=http://38.145.60.16/repo/rhel/RHEL7-x86_64/ ip=dhcp ks=http://38.145.60.16/repo/rhel/ks/hardware-rhel-7-08disk-ext net.ifnames=0 biosdevname=0
|
||||||
|
|
||||||
LABEL EL-7-rescue
|
LABEL EL-7-rescue
|
||||||
MENU LABEL el7rescue
|
MENU LABEL el7rescue
|
||||||
KERNEL images/RHEL/7/x86_64/vmlinuz
|
KERNEL images/RHEL/7/x86_64/vmlinuz
|
||||||
APPEND initrd=images/RHEL/7/x86_64/initrd.img method=http://209.132.181.6/repo/rhel/RHEL7-x86_64/ ip=dhcp net.ifnames=0 biosdevname=0 rescue
|
APPEND initrd=images/RHEL/7/x86_64/initrd.img method=http://38.145.60.16/repo/rhel/RHEL7-x86_64/ ip=dhcp net.ifnames=0 biosdevname=0 rescue
|
||||||
|
|
||||||
LABEL EL-7-nohd
|
LABEL EL-7-nohd
|
||||||
MENU LABEL el7nohd
|
MENU LABEL el7nohd
|
||||||
KERNEL images/RHEL/7/x86_64/vmlinuz
|
KERNEL images/RHEL/7/x86_64/vmlinuz
|
||||||
APPEND initrd=images/RHEL/7/x86_64/initrd.img method=http://209.132.181.6/repo/rhel/RHEL7-x86_64/ ip=dhcp ks=http://209.132.181.6/repo/rhel/ks/hardware-rhel-7-nohd net.ifnames=0 biosdevname=0
|
APPEND initrd=images/RHEL/7/x86_64/initrd.img method=http://38.145.60.16/repo/rhel/RHEL7-x86_64/ ip=dhcp ks=http://38.145.60.16/repo/rhel/ks/hardware-rhel-7-nohd net.ifnames=0 biosdevname=0
|
||||||
|
|
||||||
LABEL EL-8-nohd-ppc64le
|
LABEL EL-8-nohd-ppc64le
|
||||||
MENU LABEL el8nohdppc64le
|
MENU LABEL el8nohdppc64le
|
||||||
KERNEL images/RHEL/8/ppc64le/vmlinuz
|
KERNEL images/RHEL/8/ppc64le/vmlinuz
|
||||||
APPEND initrd=images/RHEL/8/ppx64le/initrd.img method=http://209.132.181.6/repo/rhel/RHEL8-ppc64le/ ip=dhcp ks=http://209.132.181.6/repo/rhel/ks/hardware-rhel-8-nohd-ppc64le net.ifnames=0 biosdevname=0
|
APPEND initrd=images/RHEL/8/ppx64le/initrd.img method=http://38.145.60.16/repo/rhel/RHEL8-ppc64le/ ip=dhcp ks=http://38.145.60.16/repo/rhel/ks/hardware-rhel-8-nohd-ppc64le net.ifnames=0 biosdevname=0
|
||||||
|
|
||||||
LABEL EL-8-10hd-x86_64
|
LABEL EL-8-10hd-x86_64
|
||||||
MENU LABEL el810hdx86
|
MENU LABEL el810hdx86
|
||||||
KERNEL images/RHEL/8/x86_64/vmlinuz
|
KERNEL images/RHEL/8/x86_64/vmlinuz
|
||||||
APPEND initrd=images/RHEL/8/x86_64/initrd.img method=http://209.132.181.6/repo/rhel/RHEL8-x86_64/ ip=dhcp ks=http://209.132.181.6/repo/rhel/ks/hardware-rhel-8-x86_64-10disk-ext net.ifnames=0 biosdevname=0
|
APPEND initrd=images/RHEL/8/x86_64/initrd.img method=http://38.145.60.16/repo/rhel/RHEL8-x86_64/ ip=dhcp ks=http://38.145.60.16/repo/rhel/ks/hardware-rhel-8-x86_64-10disk-ext net.ifnames=0 biosdevname=0
|
||||||
|
|
||||||
MENU end
|
MENU end
|
|
@ -1,20 +0,0 @@
|
||||||
DEFAULT menu
|
|
||||||
MENU TITLE Fedora Infrastructure arm highbank PXE Boot
|
|
||||||
PROMPT 0
|
|
||||||
TIMEOUT 200
|
|
||||||
TOTALTIMEOUT 6000
|
|
||||||
ONTIMEOUT Fedora26
|
|
||||||
|
|
||||||
LABEL Fedora26
|
|
||||||
MENU LABEL Fedora26
|
|
||||||
KERNEL images/Fedora/26/armv7/vmlinuz
|
|
||||||
INITRD images/Fedora/26/armv7/initrd.img
|
|
||||||
APPEND console=ttyAMA0 ip=eth0:dhcp ks=http://209.132.181.6/repo/rhel/ks/armv7hfp-highbank-26-cloud.ks rd.shell quiet
|
|
||||||
|
|
||||||
LABEL Fedora25
|
|
||||||
MENU LABEL Fedora25
|
|
||||||
KERNEL images/Fedora/25/armv7/vmlinuz
|
|
||||||
INITRD images/Fedora/26/armv7/initrd.img
|
|
||||||
APPEND console=ttyAMA0 ip=eth0:dhcp ks=http://209.132.181.6/repo/rhel/ks/armv7hfp-highbank-25-cloud.ks rd.shell quiet
|
|
||||||
|
|
||||||
MENU end
|
|
|
@ -1,20 +0,0 @@
|
||||||
DEFAULT menu
|
|
||||||
MENU TITLE Fedora Infrastructure arm highbank PXE Boot
|
|
||||||
PROMPT 0
|
|
||||||
TIMEOUT 200
|
|
||||||
TOTALTIMEOUT 6000
|
|
||||||
ONTIMEOUT Fedora26
|
|
||||||
|
|
||||||
LABEL Fedora26
|
|
||||||
MENU LABEL Fedora26
|
|
||||||
KERNEL images/Fedora/26/armv7/vmlinuz
|
|
||||||
INITRD images/Fedora/26/armv7/initrd.img
|
|
||||||
APPEND console=ttyAMA0 ip=eth0:dhcp ks=http://10.5.126.23/repo/rhel/ks/armv7hfp-highbank-26.ks rd.shell quiet
|
|
||||||
|
|
||||||
LABEL Fedora25
|
|
||||||
MENU LABEL Fedora25
|
|
||||||
KERNEL images/Fedora/25/armv7/vmlinuz
|
|
||||||
INITRD images/Fedora/26/armv7/initrd.img
|
|
||||||
APPEND console=ttyAMA0 ip=eth0:dhcp ks=http://10.5.126.23/repo/rhel/ks/armv7hfp-highbank-25.ks rd.shell quiet
|
|
||||||
|
|
||||||
MENU end
|
|
|
@ -1,20 +0,0 @@
|
||||||
DEFAULT menu
|
|
||||||
MENU TITLE Fedora Infrastructure arm highbank PXE Boot
|
|
||||||
PROMPT 0
|
|
||||||
TIMEOUT 200
|
|
||||||
TOTALTIMEOUT 6000
|
|
||||||
ONTIMEOUT Fedora26
|
|
||||||
|
|
||||||
LABEL Fedora26
|
|
||||||
MENU LABEL Fedora26
|
|
||||||
KERNEL images/Fedora/26/armv7/vmlinuz
|
|
||||||
INITRD images/Fedora/26/armv7/initrd.img
|
|
||||||
APPEND console=ttyAMA0 ip=eth0:dhcp ks=http://10.5.126.23/repo/rhel/ks/armv7hfp-highbank-26.ks rd.shell quiet
|
|
||||||
|
|
||||||
LABEL Fedora25
|
|
||||||
MENU LABEL Fedora25
|
|
||||||
KERNEL images/Fedora/25/armv7/vmlinuz
|
|
||||||
INITRD images/Fedora/26/armv7/initrd.img
|
|
||||||
APPEND console=ttyAMA0 ip=eth0:dhcp ks=http://10.5.126.23/repo/rhel/ks/armv7hfp-highbank-25.ks rd.shell quiet
|
|
||||||
|
|
||||||
MENU end
|
|
|
@ -24,13 +24,6 @@
|
||||||
- tftp_server
|
- tftp_server
|
||||||
when: datacenter != 'iad2'
|
when: datacenter != 'iad2'
|
||||||
|
|
||||||
- name: setup highbank default file
|
|
||||||
copy: src=highbank.{{ inventory_hostname }} dest=/var/lib/tftpboot/pxelinux.cfg/default-arm-highbank mode=644
|
|
||||||
tags:
|
|
||||||
- config
|
|
||||||
- tftp_server
|
|
||||||
when: datacenter != 'iad2'
|
|
||||||
|
|
||||||
- name: enable tftp socket service
|
- name: enable tftp socket service
|
||||||
service: state=started enabled=true name=tftp.socket
|
service: state=started enabled=true name=tftp.socket
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue