This commit is contained in:
@@ -26,6 +26,7 @@ pkgs_to_install:
|
|||||||
# gtimelog
|
# gtimelog
|
||||||
- gtimelog
|
- gtimelog
|
||||||
- gawk
|
- gawk
|
||||||
|
- dos2unix
|
||||||
# chat clients
|
# chat clients
|
||||||
- element-desktop
|
- element-desktop
|
||||||
- dino-im
|
- dino-im
|
||||||
|
27
playbook.yml
27
playbook.yml
@@ -54,33 +54,6 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: "755"
|
mode: "755"
|
||||||
|
|
||||||
- name: Get activities
|
|
||||||
ansible.builtin.pause:
|
|
||||||
prompt: To download the activities for gtimelog, activate SSH access to git.fsfe.org and run the activities.yml playbook.
|
|
||||||
|
|
||||||
- name: Download overtime calc
|
|
||||||
become: false
|
|
||||||
ansible.builtin.shell: git clone -b master https://git.fsfe.org/max.mehl/overtime-calc.git "{{ user_home }}/overtime-calc"
|
|
||||||
|
|
||||||
- name: Install overtime calc
|
|
||||||
become: true
|
|
||||||
file:
|
|
||||||
src: "{{ user_home }}/overtime-calc/overtime-calc.sh"
|
|
||||||
dest: /usr/local/bin/overtime-calc
|
|
||||||
state: link
|
|
||||||
|
|
||||||
- name: Copy overtime config file
|
|
||||||
become: false
|
|
||||||
ansible.builtin.copy:
|
|
||||||
src: "{{ user_home }}/overtime-calc/config.cfg.sample"
|
|
||||||
dest: "{{ user_home }}/overtime-calc/config.cfg"
|
|
||||||
|
|
||||||
- name: Make overtime executeable
|
|
||||||
become: false
|
|
||||||
file:
|
|
||||||
dest: "{{ user_home }}/overtime-calc/overtime-calc.sh"
|
|
||||||
mode: a+x
|
|
||||||
|
|
||||||
- name: Download gtimelog utils
|
- name: Download gtimelog utils
|
||||||
become: false
|
become: false
|
||||||
ansible.builtin.shell: git clone -b master https://git.fsfe.org/FSFE/gtimelog-utils.git "{{ user_home }}/gtimelog-utils"
|
ansible.builtin.shell: git clone -b master https://git.fsfe.org/FSFE/gtimelog-utils.git "{{ user_home }}/gtimelog-utils"
|
||||||
|
Reference in New Issue
Block a user