|
@@ -1,7 +1,7 @@
|
|
|
---
|
|
|
- name: Dependencies installed
|
|
|
community.general.pkgng:
|
|
|
- name: git-tiny,php80,php80-openssl,php80-pecl-memcached,php80-pecl-redis,php80-ldap,php80-filter,php80-session
|
|
|
+ name: git-tiny,php82,php82-pecl-memcached,php82-pecl-redis,php82-ldap,php82-filter,php82-session,py39-pexpect
|
|
|
state: latest
|
|
|
|
|
|
- name: PHP-fpm enabled
|
|
@@ -30,9 +30,14 @@
|
|
|
path: /usr/local/etc/hauk/config.php
|
|
|
|
|
|
- name: Hauk installed
|
|
|
- shell:
|
|
|
- cmd: "./install.sh -f -c /usr/local/www/hauk"
|
|
|
+ expect:
|
|
|
+ command: "./install.sh -f -c /usr/local/www/hauk"
|
|
|
chdir: /usr/local/src/hauk
|
|
|
+ responses:
|
|
|
+ Question:
|
|
|
+ 'Config file already exists! Overwrite? [y/N]:' : 'n'
|
|
|
+ 'Do you wish to open this file for editing now? [Y/n]: ' : 'n'
|
|
|
+ ignore_errors: true
|
|
|
|
|
|
- name: Nginx location file installed
|
|
|
ansible.builtin.copy:
|