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/tsg-9140-scripts/roles/system-init/tasks/main.yml

34 lines
795 B
YAML

---
- name: "set enp1s0 up and NM_CONTROLLED=no"
template:
src: "{{ role_path }}/templates/ifcfg-enp1s0.toml.j2"
dest: /etc/sysconfig/network-scripts/ifcfg-enp1s0
tags: template
- name: "set enp130s0 up and NM_CONTROLLED=no"
template:
src: "{{ role_path }}/templates/ifcfg-enp130s0.toml.j2"
dest: /etc/sysconfig/network-scripts/ifcfg-enp130s0
tags: template
- name: "set ifup-local "
template:
src: "{{ role_path }}/templates/ifup-local.toml.j2"
dest: /sbin/ifup-local
mode: 0777
tags: template
- name: "set ifdown-local "
template:
src: "{{ role_path }}/templates/ifdown-local.toml.j2"
dest: /sbin/ifdown-local
mode: 0777
tags: template
- name: "copy tsg_9140_system_init"
copy:
src: "{{ role_path }}/files/"
dest: /root/