This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-os-buildimage/ansible/roles/system-init-9140/tasks/main.yml
luwenpeng eb540701bd 修改文件目录结构
1.TSG-OS 公用的系统配置放到 system-init;
	2.TSG-7400 独自使用的系统配置放到 system-init-7400;
	3.TSG-9140 独自使用的系统配置放到 system-init-9140;
2021-06-03 19:10:45 +08:00

126 lines
3.5 KiB
YAML

---
- name: "set 90-9000NPBP01R01.rules"
template:
src: "{{ role_path }}/templates/90-9000NPBP01R01.rules.j2"
dest: /usr/lib/udev/rules.d/90-9000NPBP01R01.rules
mode: 0644
tags: template
- 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 enp1s2"
template:
src: "{{ role_path }}/templates/ifcfg-enp1s2.toml.j2"
dest: /etc/sysconfig/network-scripts/ifcfg-enp1s2
tags: template
- name: "set enp1s2f1"
template:
src: "{{ role_path }}/templates/ifcfg-enp1s2f1.toml.j2"
dest: /etc/sysconfig/network-scripts/ifcfg-enp1s2f1
tags: template
- name: "set enp1s2f2"
template:
src: "{{ role_path }}/templates/ifcfg-enp1s2f2.toml.j2"
dest: /etc/sysconfig/network-scripts/ifcfg-enp1s2f2
tags: template
- name: "set enp130s2"
template:
src: "{{ role_path }}/templates/ifcfg-enp130s2.toml.j2"
dest: /etc/sysconfig/network-scripts/ifcfg-enp130s2
tags: template
- name: "set enp130s2f1"
template:
src: "{{ role_path }}/templates/ifcfg-enp130s2f1.toml.j2"
dest: /etc/sysconfig/network-scripts/ifcfg-enp130s2f1
tags: template
- name: "set enp130s2f2"
template:
src: "{{ role_path }}/templates/ifcfg-enp130s2f2.toml.j2"
dest: /etc/sysconfig/network-scripts/ifcfg-enp130s2f2
tags: template
- name: "set enp130s2f3"
template:
src: "{{ role_path }}/templates/ifcfg-enp130s2f3.toml.j2"
dest: /etc/sysconfig/network-scripts/ifcfg-enp130s2f3
tags: template
- name: "set if-pre-up "
template:
src: "{{ role_path }}/templates/if-pre-up.toml.j2"
dest: /etc/NetworkManager/dispatcher.d/pre-up.d/if-pre-up
mode: 0755
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 setup.enp130s2f1.ips"
template:
src: "{{ role_path }}/templates/setup.enp130s2f1.ips.toml.j2"
dest: /sbin/setup.enp130s2f1.ips
mode: 0777
tags: template
- name: "set set-enp1s2-macaddr.sh"
template:
src: "{{ role_path }}/templates/set-enp1s2-macaddr.sh.toml.j2"
dest: /usr/bin/set-enp1s2-macaddr.sh
mode: 0777
tags: template