110 lines
2.8 KiB
YAML
110 lines
2.8 KiB
YAML
---
|
|
- name: "set enp1s0 up "
|
|
template:
|
|
src: "{{ role_path }}/templates/ifcfg-enp1s0.toml.j2"
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp1s0
|
|
tags: template
|
|
|
|
- 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 "
|
|
template:
|
|
src: "{{ role_path }}/templates/ifcfg-enp130s0.toml.j2"
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp130s0
|
|
tags: template
|
|
|
|
- name: "set enp131s0f0 up "
|
|
template:
|
|
src: "{{ role_path }}/templates/ifcfg-enp131s0f0.toml.j2"
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-enp131s0f0
|
|
tags: template
|
|
|
|
- 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
|
|
|
|
- name: "set ifup-local "
|
|
template:
|
|
src: "{{ role_path }}/templates/ifup-local.toml.j2"
|
|
dest: /etc/NetworkManager/dispatcher.d/ifup-local
|
|
mode: 0755
|
|
tags: template
|
|
|
|
- name: "set ifdown-local "
|
|
template:
|
|
src: "{{ role_path }}/templates/ifdown-local.toml.j2"
|
|
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
|
|
mode: 0777
|
|
tags: template
|
|
|
|
- name: "copy tsg_9140_system_init"
|
|
copy:
|
|
src: "{{ role_path }}/files/"
|
|
dest: /root/
|
|
|
|
- name: "enable sshd"
|
|
systemd:
|
|
name: sshd
|
|
enabled: yes
|
|
|
|
|