Update to 2022-03-09 11:00

This commit is contained in:
Daniel Berteaud
2022-03-09 11:00:06 +01:00
parent 5a56cd709d
commit d790676ba6
5 changed files with 16 additions and 14 deletions

View File

@@ -17,7 +17,7 @@
name: phone
home: "{{ fpbx_root_dir }}/provisioning"
shell: /bin/rbash
password: "{{ fpbx_phone_pass | password_hash('sha256', 65535 | random(seed=inventory_hostname)) }}"
password: "{{ fpbx_phone_pass | password_hash('sha256', 65535 | random(seed=inventory_hostname) | string) }}"
tags: fpbx
- when: fpbx_install_mode != 'none'
@@ -138,3 +138,8 @@
- name: Install dehydrated hook
template: src=dehydrated_hook.j2 dest=/etc/dehydrated/hooks_deploy_cert.d/freepbx.sh mode=755
tags: fpbx
# PM2 requires the php command available in PATH
- name: Add a link to php
file: src=/bin/php{{ fpbx_php_version }} dest=/var/lib/asterisk/.node/bin/php state=link
tags: fpbx