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

Fix old variable names

This commit is contained in:
L3D 2020-03-04 23:14:05 +01:00
parent 255ee8a19a
commit 6e1de08ac7
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -1,9 +1,9 @@
---
- name: download ranger git repo
git:
repo: "{{ ranger_repo }}"
dest: "{{ ranger_download_directory }}"
version: "{{ ranger_branch }}"
repo: "{{ ranger.repo }}"
dest: "{{ ranger.download_directory }}"
version: "{{ ranger.branch }}"
- name: install build packages
become: true
@ -17,7 +17,7 @@
- name: Run 'install' target as root
become: yes
make:
chdir: "{{ ranger_download_directory }}"
chdir: "{{ ranger.download_directory }}"
target: install
when: ansible_python_version[:1] == '3'
@ -33,7 +33,7 @@
become: yes
command: python3 setup.py install --optimize=1
args:
chdir: "{{ ranger_download_directory }}"
chdir: "{{ ranger.download_directory }}"
creates: '/usr/local/bin/ranger'
when: not install_python3.failed
@ -41,6 +41,6 @@
become: yes
command: python setup.py install --optimize=1
args:
chdir: "{{ ranger_download_directory }}"
chdir: "{{ ranger.download_directory }}"
creates: '/usr/local/bin/ranger'
when: install_python3.failed