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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
- ---
-
- - name: profile directory
- file:
- state: directory
- path: "{{ debirf_profile_directory }}"
- owner: debirf
- group: debirf
-
- - name: debirf configuration
- template:
- src: debirf.conf.j2
- dest: "{{ debirf_profile_directory }}/debirf.conf"
- owner: debirf
- group: debirf
-
- - name: modules directory
- file:
- state: directory
- path: "{{ debirf_profile_directory }}/modules"
- owner: debirf
- group: debirf
-
- - name: default modules
- file:
- state: link
- src: /usr/share/debirf/modules/{{item}}
- dest: "{{ debirf_profile_directory }}/modules/{{item}}"
- owner: debirf
- group: debirf
- with_items: "{{ debirf_default_modules }}"
-
- - name: custom modules
- copy:
- src: "modules/{{item}}.sh"
- dest: "{{ debirf_profile_directory }}/modules/{{item}}.sh"
- owner: debirf
- group: debirf
- with_items: "{{ debirf_custom_modules }}"
-
- - name: packages
- template:
- src: packages.j2
- dest: "{{ debirf_profile_directory }}/packages"
- owner: debirf
- group: debirf
- when: debirf_packages is defined
-
- - name: default packages
- copy:
- src: /usr/share/debirf/packages
- remote_src: true
- dest: "{{ debirf_profile_directory }}/default-packages"
- owner: debirf
- group: debirf
-
- - name: do not exclude packages which are to be included
- lineinfile:
- path: "{{ debirf_profile_directory }}/default-packages"
- regexp: '^[\-]{{ item | regex_escape }}$'
- state: absent
- with_items: "{{ debirf_packages }}"
- when: debirf_packages is defined
|