選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

network-interfaces.yaml 687B

12345678910111213141516171819202122
  1. ---
  2. - name: /etc/network directory
  3. file:
  4. path: "{{ root_target_directory | default('') }}/etc/network"
  5. state: directory
  6. - name: network interfaces configuration
  7. template:
  8. src: profiles/{{network_interfaces_profile}}.j2
  9. dest: "{{ root_target_directory | default('') }}/etc/network/interfaces"
  10. - name: /etc/network/interfaces.d directory
  11. file:
  12. path: "{{ root_target_directory | default('') }}/etc/network/interfaces.d"
  13. state: directory
  14. # - name: debian network interface configuration
  15. # template:
  16. # src: network-interface.j2
  17. # dest: "{{ root_target_directory | default('') }}/etc/network/interfaces.d/{{ item }}"
  18. # with_items: "{{ _netifs }}"