You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
360B

  1. ---
  2. - include: setup.yml
  3. when: not root_target_directory is defined
  4. - name: /etc/network directory
  5. file:
  6. path: "{{ root_target_directory | default('') }}/etc/network"
  7. state: directory
  8. - name: network interfaces configuration
  9. template:
  10. src: network-interfaces.j2
  11. dest: "{{ root_target_directory | default('') }}/etc/network/interfaces"