Browse Source

* 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
master
dimti 7 months ago
parent
commit
85c08d9d68
  1. 1
      playbooks/apache-site.yml
  2. 2
      playbooks/debops/yadm.yml
  3. 2
      playbooks/own/phpmyadmin-apache-auth.yml
  4. 2
      playbooks/own/phpmyadmin-nginx-auth.yml

1
playbooks/apache-site.yml

@ -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...

2
playbooks/debops/yadm.yml

@ -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

2
playbooks/own/phpmyadmin-apache-auth.yml

@ -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: |-

2
playbooks/own/phpmyadmin-nginx-auth.yml

@ -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: |-

Loading…
Cancel
Save