Resolví problema de formato de variables

This commit is contained in:
Iván Chavero 2023-07-11 00:29:18 -06:00
parent 9e17431a76
commit 74f231d488

View file

@ -57,15 +57,15 @@
- name: Download Nextcloud - name: Download Nextcloud
get_url: get_url:
url: {{nextcloud_url}} url: {{ nextcloud_url }}
dest: /usr/src/nextcloud-{{nextcloud_version}}.tar.bz2 dest: /usr/src/nextcloud-{{ nextcloud_version }}.tar.bz2
checksum: {{nextcloud_checksum}} checksum: {{ nextcloud_checksum }}
when: when:
nextcloud_is_unpacked.stat.exists != true and ansible_local['nextcloud']['is_installed'] != true nextcloud_is_unpacked.stat.exists != true and ansible_local['nextcloud']['is_installed'] != true
- name: Unpack Nextcloud - name: Unpack Nextcloud
ansible.builtin.unarchive: ansible.builtin.unarchive:
src: "/usr/src/nextcloud-{{nextcloud_version}}.tar.bz2" src: "/usr/src/nextcloud-{{ nextcloud_version }}.tar.bz2"
dest: "{{ nextcloud_path }}" dest: "{{ nextcloud_path }}"
remote_src: yes remote_src: yes
owner: "{{ web_user }}" owner: "{{ web_user }}"