1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ranger.git synced 2024-08-16 14:19:48 +02:00

create variable for build deps

This commit is contained in:
L3D 2021-09-28 01:13:31 +02:00
parent 05703421ea
commit 5c141b38f7
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 6 additions and 4 deletions

View file

@ -7,3 +7,8 @@ ranger:
repo: 'https://github.com/ranger/ranger.git' repo: 'https://github.com/ranger/ranger.git'
branch: 'master' branch: 'master'
download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}" download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}"
ranger__build_deps:
- make
- git
- vim

View file

@ -8,10 +8,7 @@
- name: install build packages - name: install build packages
become: true become: true
ansible.builtin.package: ansible.builtin.package:
name: name: "{{ ranger__build_deps }}"
- make
- git
- vim
state: present state: present
- name: Run 'install' target as root - name: Run 'install' target as root