--- - 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 if-pre-down " template: src: "{{ role_path }}/templates/if-pre-down.toml.j2" dest: /etc/NetworkManager/dispatcher.d/pre-down.d/if-pre-down 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