Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 331a0221 authored by Jean-François HOVINNE's avatar Jean-François HOVINNE
Browse files

fix: Code style (fixes #2)

parent 5b65e0ad
No related branches found
No related tags found
1 merge request!3fix: Code style (fixes #2)
......@@ -21,4 +21,4 @@ galaxy_info:
- development
- system
dependencies:
- role: ecgalaxy.common_packages
- ecgalaxy.common_packages
......@@ -3,7 +3,7 @@
hosts: all
tasks:
- name: "Include task"
include_role:
ansible.builtin.include_role:
name: "task"
environment:
http_proxy: "{{ lookup('env', 'http_proxy') }}"
......
......@@ -3,7 +3,7 @@
hosts: all
tasks:
- name: Update apt cache
apt: update_cache=yes cache_valid_time=600
ansible.builtin.apt: update_cache=yes cache_valid_time=600
when: ansible_os_family == 'Debian'
changed_when: false
environment:
......
......@@ -4,12 +4,12 @@
gather_facts: false
tasks:
- name: "include vars"
include_vars:
ansible.builtin.include_vars:
file: ../../defaults/main.yml
- name: Check Task version
command: task --version
ansible.builtin.command: task --version
register: output
- name: Assert that Task is installed
assert:
ansible.builtin.assert:
that:
- "'Task version: v{{ task_version }}' in output.stdout"
---
- name: Ensure task lib folder exists
file:
ansible.builtin.file:
path: "{{ task_install_path }}"
state: directory
owner: root
......@@ -9,7 +9,7 @@
become: true
- name: Download task archive
get_url:
ansible.builtin.get_url:
url: "{{ task_download_url }}"
dest: /tmp/task.tar.gz
mode: 0655
......@@ -17,7 +17,7 @@
changed_when: false
- name: Extract task archive
unarchive:
ansible.builtin.unarchive:
src: /tmp/task.tar.gz
dest: "{{ task_install_path }}"
creates: "{{ task_install_path }}/task"
......@@ -27,13 +27,13 @@
become: true
- name: Remove task archive
file:
ansible.builtin.file:
path: /tmp/task.tar.gz
state: absent
changed_when: false
- name: Create task symlink
file:
ansible.builtin.file:
src: "{{ task_install_path }}/task"
dest: "{{ task_bin }}"
owner: root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment