Rename variable

This commit is contained in:
phil 2023-10-25 19:31:56 +02:00
parent 327b9a12f1
commit 5738e9bcf0
2 changed files with 3 additions and 3 deletions

View file

@ -4,8 +4,8 @@ apache_custom_conf_path: /etc/apache2/conf-available
nextcloud_admin_user: systemausfall.org
nextcloud_admin_pw: "{{ lookup('password', '/tmp/{{ item.name }}_admin_pwd length=42 chars=ascii_letters,digits') }}"
nextcloud_db_password: "{{ lookup('password', '/tmp/{{ item.name }}_db_pwd length=42 chars=ascii_letters,digits') }}"
nextcloud_github_api_url: https://api.github.com/repos/nextcloud/server/releases/latest
nextcloud_dl_url: "https://download.nextcloud.com/server/releases/nextcloud-{{ latest_version.stdout }}.tar.bz2"
nextcloud_github_api_url: https://api.github.com/repos/nextcloud/server/releaseis/latest
nextcloud_dl_url: "https://download.nextcloud.com/server/releases/nextcloud-{{ nextcloud_latest_version.stdout }}.tar.bz2"
nextcloud_root: /data/nextcloud
nextcloud_install_path: "{{ nextcloud_root }}/{{ item.name }}"
nextcloud_config_file: "{{ nextcloud_install_path }}/config/config.php"

View file

@ -4,7 +4,7 @@
cmd: curl -sL "{{ nextcloud_github_api_url }}" | jq -r ".tag_name" | cut -d 'v' -f2
changed_when: false
check_mode: false
register: latest_version
register: nextcloud_latest_version
- name: "Common | Kopiere Update-Skript"
ansible.builtin.template: