2021-04-28 22:09:56 -04:00
|
|
|
---
|
2021-05-08 06:49:19 -04:00
|
|
|
- name: "set enp1s0 up "
|
2021-04-29 21:48:54 -04:00
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/ifcfg-enp1s0.toml.j2"
|
|
|
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp1s0
|
|
|
|
|
tags: template
|
|
|
|
|
|
2021-05-08 06:49:19 -04:00
|
|
|
- name: "set enp5s0f0 up "
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/ifcfg-enp5s0f0.toml.j2"
|
|
|
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp5s0f0
|
|
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
- name: "set enp5s0f1 up "
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/ifcfg-enp5s0f1.toml.j2"
|
|
|
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp5s0f1
|
|
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
- name: "set enp130s0 up "
|
2021-04-29 21:48:54 -04:00
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/ifcfg-enp130s0.toml.j2"
|
|
|
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp130s0
|
|
|
|
|
tags: template
|
|
|
|
|
|
2021-05-08 06:49:19 -04:00
|
|
|
- name: "set enp131s0f0 up "
|
2021-05-07 06:14:13 -04:00
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/ifcfg-enp131s0f0.toml.j2"
|
|
|
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp131s0f0
|
|
|
|
|
tags: template
|
|
|
|
|
|
2021-05-08 06:49:19 -04:00
|
|
|
- name: "set enp131s0f1 up "
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/ifcfg-enp131s0f1.toml.j2"
|
|
|
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp131s0f1
|
|
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
- name: "set enp131s0f2 up "
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/ifcfg-enp131s0f2.toml.j2"
|
|
|
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp131s0f2
|
|
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
- name: "set enp131s0f3 up "
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/ifcfg-enp131s0f3.toml.j2"
|
|
|
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp131s0f3
|
|
|
|
|
tags: template
|
|
|
|
|
|
2021-04-29 21:48:54 -04:00
|
|
|
- name: "set ifup-local "
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/ifup-local.toml.j2"
|
2021-05-08 06:49:19 -04:00
|
|
|
dest: /etc/NetworkManager/dispatcher.d/ifup-local
|
|
|
|
|
mode: 0755
|
2021-04-29 21:48:54 -04:00
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
- name: "set ifdown-local "
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/ifdown-local.toml.j2"
|
2021-05-08 06:49:19 -04:00
|
|
|
dest: /etc/NetworkManager/dispatcher.d/ifdown-local
|
|
|
|
|
mode: 0755
|
|
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
- name: "set setup.enp1s0.ips"
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/setup.enp1s0.ips.toml.j2"
|
|
|
|
|
dest: /sbin/setup.enp1s0.ips
|
|
|
|
|
mode: 0777
|
|
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
- name: "set setup.enp130s0.ips"
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/setup.enp130s0.ips.toml.j2"
|
|
|
|
|
dest: /sbin/setup.enp130s0.ips
|
|
|
|
|
mode: 0777
|
|
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
- name: "set setup.enp131s0f0.ips"
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/setup.enp131s0f0.ips.toml.j2"
|
|
|
|
|
dest: /sbin/setup.enp131s0f0.ips
|
|
|
|
|
mode: 0777
|
|
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
- name: "set setdown.enp1s0.ips"
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/setdown.enp1s0.ips.toml.j2"
|
|
|
|
|
dest: /sbin/setdown.enp1s0.ips
|
|
|
|
|
mode: 0777
|
|
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
- name: "set setdown.enp130s0.ips"
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/setdown.enp130s0.ips.toml.j2"
|
|
|
|
|
dest: /sbin/setdown.enp130s0.ips
|
2021-04-29 21:48:54 -04:00
|
|
|
mode: 0777
|
|
|
|
|
tags: template
|
|
|
|
|
|
2021-04-29 04:22:11 -04:00
|
|
|
- name: "copy tsg_9140_system_init"
|
|
|
|
|
copy:
|
|
|
|
|
src: "{{ role_path }}/files/"
|
2021-04-29 21:48:54 -04:00
|
|
|
dest: /root/
|
|
|
|
|
|
2021-05-07 06:14:13 -04:00
|
|
|
- name: "enable sshd"
|
|
|
|
|
systemd:
|
|
|
|
|
name: sshd
|
|
|
|
|
enabled: yes
|
|
|
|
|
|
2021-04-29 21:48:54 -04:00
|
|
|
|