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