25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

57 lines
1.2KB

  1. ---
  2. - name: profile directory
  3. file:
  4. state: directory
  5. path: "{{ debirf_profile_directory }}"
  6. owner: debirf
  7. group: debirf
  8. - name: debirf configuration
  9. template:
  10. src: debirf.conf.j2
  11. dest: "{{ debirf_profile_directory }}/debirf.conf"
  12. owner: debirf
  13. group: debirf
  14. - name: packages
  15. template:
  16. src: packages.j2
  17. dest: "{{ debirf_profile_directory }}/packages"
  18. owner: debirf
  19. group: debirf
  20. when: debirf_packages is defined
  21. - name: modules directory
  22. file:
  23. state: directory
  24. path: "{{ debirf_profile_directory }}/modules"
  25. owner: debirf
  26. group: debirf
  27. - name: default modules
  28. file:
  29. state: link
  30. src: /usr/share/debirf/modules/{{item}}
  31. dest: "{{ debirf_profile_directory }}/modules/{{item}}"
  32. owner: debirf
  33. group: debirf
  34. with_items: "{{ debirf_default_modules }}"
  35. # - name: profile
  36. # copy:
  37. # src: profile/
  38. # dest: "{{ debirf_profile_directory }}"
  39. # owner: debirf
  40. # group: debirf
  41. # when: debirf_example_profile is defined
  42. # - name: set permissions
  43. # file:
  44. # owner: debirf
  45. # group: debirf
  46. # recurse: yes
  47. # follow: no
  48. # path: "{{ debirf_working_directory }}"
  49. # state: directory