* true installation options for apt xsel

* use pma user for generate basic auth password for phpmyadmin virtual host
* include wp-cli playbook for apache site by default
This commit is contained in:
2024-06-04 15:36:16 +03:00
parent b3cc57a4d9
commit 85c08d9d68
4 changed files with 4 additions and 3 deletions

View File

@ -13,6 +13,7 @@
- import_playbook: own/phpmyadmin-apache-auth.yml - import_playbook: own/phpmyadmin-apache-auth.yml
#- import_playbook: own/libgd3-fix-for-php81.yml # Need only for php8.1 #- import_playbook: own/libgd3-fix-for-php81.yml # Need only for php8.1
#- import_playbook: own/correct-paths-for-pct-enter.yml #- import_playbook: own/correct-paths-for-pct-enter.yml
- import_playbook: own/wp-cli.yml
# Import all other group playbooks in this file... # Import all other group playbooks in this file...

View File

@ -55,7 +55,7 @@
executable: /bin/bash executable: /bin/bash
- name: Xsel for working clipboard copy with X11 forwarding (use SSH -Y) - name: Xsel for working clipboard copy with X11 forwarding (use SSH -Y)
shell: apt install -t xsel -yy shell: apt install -yy xsel
roles: roles:
- role: keyring - role: keyring

View File

@ -15,7 +15,7 @@
- name: 'Adding pma apache auth passwords files' - name: 'Adding pma apache auth passwords files'
shell: |- shell: |-
echo "{{ site_name }}:$(openssl passwd -apr1 {{ lookup("password", secret + "/basic/" + site_name + "/pma " + "length=30")}} )" > /etc/apache2/passwords.d/pma.passwords echo "pma:$(openssl passwd -apr1 {{ lookup("password", secret + "/basic/" + site_name + "/pma " + "length=30")}} )" > /etc/apache2/passwords.d/pma.passwords
- name: 'Change require all granted rule, because debops not present appropriate functional' - name: 'Change require all granted rule, because debops not present appropriate functional'
shell: |- shell: |-

View File

@ -50,7 +50,7 @@
- name: 'Adding pma nginx auth passwords files' - name: 'Adding pma nginx auth passwords files'
shell: |- shell: |-
echo "{{ site_name }}:$(openssl passwd -apr1 {{ lookup("password", secret + "/basic/" + site_name + "/pma " + "length=30")}} )" > /etc/nginx/passwords.d/pma.passwords echo "pma:$(openssl passwd -apr1 {{ lookup("password", secret + "/basic/" + site_name + "/pma " + "length=30")}} )" > /etc/nginx/passwords.d/pma.passwords
- name: 'Turning on pma web site nginx config' - name: 'Turning on pma web site nginx config'
shell: |- shell: |-