From 66ace214d8de8480a8a915c6804ee3e09bdaa934 Mon Sep 17 00:00:00 2001 From: polz Date: Mon, 11 Sep 2023 16:59:33 +0200 Subject: [PATCH] Urejanje/usklajevanje - naprej --- roles/winroom/tasks/c_development.yml | 3 +++ roles/winroom/tasks/gui_development.yml | 3 +++ roles/winroom/tasks/ninja.yml | 28 +++++++++++++++++++++++++ roles/winroom/tasks/ocaml.yml | 3 +++ roles/winroom/tasks/pandas.yml | 2 ++ roles/winroom/tasks/rlwrap.yml | 7 +++---- 6 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 roles/winroom/tasks/c_development.yml create mode 100644 roles/winroom/tasks/gui_development.yml create mode 100644 roles/winroom/tasks/ninja.yml create mode 100644 roles/winroom/tasks/ocaml.yml create mode 100644 roles/winroom/tasks/pandas.yml diff --git a/roles/winroom/tasks/c_development.yml b/roles/winroom/tasks/c_development.yml new file mode 100644 index 0000000..88cfb73 --- /dev/null +++ b/roles/winroom/tasks/c_development.yml @@ -0,0 +1,3 @@ +- name: Do not install C development tools + debug: + msg: "Do not install C development tools" diff --git a/roles/winroom/tasks/gui_development.yml b/roles/winroom/tasks/gui_development.yml new file mode 100644 index 0000000..8276898 --- /dev/null +++ b/roles/winroom/tasks/gui_development.yml @@ -0,0 +1,3 @@ +- name: Do not install GUI devel tools + debug: + msg: "Do not install GUI development libraries and tools" diff --git a/roles/winroom/tasks/ninja.yml b/roles/winroom/tasks/ninja.yml new file mode 100644 index 0000000..a1d2090 --- /dev/null +++ b/roles/winroom/tasks/ninja.yml @@ -0,0 +1,28 @@ +- name: Install Ninja + debug: + msg: "Do not install Ninja" + +- name: Check Ninja install status + win_stat: + path: "%ProgramFiles%\\Ninja-build\\ninja.exe" + register: file + +- when: not file.stat.exists + block: + - name: Download Ninja-build + win_get_url: + url: https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-linux.zip + dest: 'C:\' + register: download + + - name: Create Ninja-build directory + win_file: + path: "%ProgramFiles%\\Ninja-build" + state: directory + + - name: Install Ninja-build + win_unzip: + src: "{{ download.dest }}" + dest: "%ProgramFiles%\\Ninja-build" + delete_archive: yes + diff --git a/roles/winroom/tasks/ocaml.yml b/roles/winroom/tasks/ocaml.yml new file mode 100644 index 0000000..fad0638 --- /dev/null +++ b/roles/winroom/tasks/ocaml.yml @@ -0,0 +1,3 @@ +- name: Do not install OCaml + debug: + msg: "Do not install OCaml" diff --git a/roles/winroom/tasks/pandas.yml b/roles/winroom/tasks/pandas.yml new file mode 100644 index 0000000..7e5fc51 --- /dev/null +++ b/roles/winroom/tasks/pandas.yml @@ -0,0 +1,2 @@ +- name: Install pandas + win_command: pip install pandas diff --git a/roles/winroom/tasks/rlwrap.yml b/roles/winroom/tasks/rlwrap.yml index f843350..0e64e55 100644 --- a/roles/winroom/tasks/rlwrap.yml +++ b/roles/winroom/tasks/rlwrap.yml @@ -1,4 +1,3 @@ -- name: Install rlwrap - apt: - name: rlwrap - state: latest +- name: Do not install rlwrap + debug: + msg: "Do not install rlwrap"