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 e86c3957 authored by Jean-François HOVINNE's avatar Jean-François HOVINNE
Browse files

fix: Update metadata, set dependency as optional (fixes #16)

parent 9a9c479a
Branches
Tags
1 merge request!16fix: Update metadata, set dependency as optional (fixes #16)
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
hosts: all hosts: all
become: true become: true
roles: roles:
- role: ecgalaxy.common_packages
- role: intellij - role: intellij
environment: environment:
http_proxy: "{{ lookup('env', 'http_proxy') }}" http_proxy: "{{ lookup('env', 'http_proxy') }}"
......
--- ---
- name: Prepare - name: Prepare
hosts: all hosts: all
tasks: roles:
- name: Update apt cache - role: ecgalaxy.bootstrap
ansible.builtin.apt: - role: ecgalaxy.common_packages
update_cache: yes
cache_valid_time: 600
when: ansible_os_family == 'Debian'
changed_when: false
environment: environment:
http_proxy: "{{ lookup('env', 'http_proxy') }}" http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}" https_proxy: "{{ lookup('env', 'https_proxy') }}"
......
--- ---
- ecgalaxy.bootstrap
- ecgalaxy.common_packages - ecgalaxy.common_packages
...@@ -6,7 +6,7 @@ Installs IDEA IntelliJ (Community|Ultimate) - https://www.jetbrains.com/idea/ ...@@ -6,7 +6,7 @@ Installs IDEA IntelliJ (Community|Ultimate) - https://www.jetbrains.com/idea/
Requirements Requirements
------------ ------------
None. - The `unzip` command, which can be provided by the `ecgalaxy.common_packages` role.
Role Variables Role Variables
-------------- --------------
...@@ -21,13 +21,14 @@ https://download.jetbrains.com/idea/ideaIC-2022.2.1.tar.gz.sha256 ...@@ -21,13 +21,14 @@ https://download.jetbrains.com/idea/ideaIC-2022.2.1.tar.gz.sha256
Dependencies Dependencies
------------ ------------
* ecgalaxy.common_packages * optional: ecgalaxy.common_packages
Example Playbook Example Playbook
---------------- ----------------
- hosts: all - hosts: all
roles: roles:
- ecgalaxy.bootstrap
- ecgalaxy.common_packages - ecgalaxy.common_packages
- ecgalaxy.intellij - ecgalaxy.intellij
......
...@@ -6,9 +6,9 @@ galaxy_info: ...@@ -6,9 +6,9 @@ galaxy_info:
license: EUPL-1.2 license: EUPL-1.2
min_ansible_version: "2.5" min_ansible_version: "2.5"
platforms: platforms:
- name: Amazon Linux 2 - name: Amazon Linux
versions: versions:
- all - "2"
- name: EL - name: EL
versions: versions:
- "7" - "7"
...@@ -21,5 +21,4 @@ galaxy_info: ...@@ -21,5 +21,4 @@ galaxy_info:
galaxy_tags: galaxy_tags:
- development - development
- java - java
dependencies: dependencies: []
- role: ecgalaxy.common_packages
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment