From 6c05449eacd388670bfe49daa32f07da2fbcb3b1 Mon Sep 17 00:00:00 2001 From: koralowiec Date: Wed, 31 Jan 2024 09:04:58 +0100 Subject: [PATCH] chore: fix lint errors --- defaults/main.yml | 2 +- tasks/main.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index a915dc8..2336078 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -3,4 +3,4 @@ python_versions: - 3.10.6 - 3.9.13 -python_jupyter_kernel: true \ No newline at end of file +python_jupyter_kernel: true diff --git a/tasks/main.yml b/tasks/main.yml index b16e734..303627d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -32,6 +32,9 @@ - python-install-upgrade-tools - name: Install python | Make available as a Jupyter Kernel + when: python_jupyter_kernel + tags: + - python-install-jupyter-kernel block: - name: Install python | Install ipykernel ansible.builtin.pip: @@ -54,6 +57,3 @@ index_var: index register: command_result changed_when: kernel_json.results[index].stat.exists == false - when: python_jupyter_kernel - tags: - - python-install-jupyter-kernel \ No newline at end of file