2020-02-04 11:29:02 +01:00
|
|
|
---
|
2020-04-27 15:43:14 +02:00
|
|
|
http_port: 80
|
|
|
|
https_port: 443
|
|
|
|
|
2020-02-04 11:29:02 +01:00
|
|
|
wordpress_dist_name: wordpress
|
2020-02-07 17:59:51 +01:00
|
|
|
wordpress_major: 5
|
|
|
|
wordpress_minor: 3
|
|
|
|
wordpress_fix: 2
|
2020-02-04 11:29:02 +01:00
|
|
|
wordpress_version: '{{ wordpress_major }}.{{ wordpress_minor }}.{{ wordpress_fix }} '
|
|
|
|
wordpress_cli_url: 'https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar'
|
|
|
|
wordpress_cli_bin: /usr/local/bin/wp
|
|
|
|
wordpress_system_user: wp
|
2020-02-07 17:59:51 +01:00
|
|
|
wordpress_auto_upgrade: True
|
|
|
|
wordpress_auto_upgrade_minor_only: False
|
|
|
|
wordpress_auto_upgrade_all_plugins: True
|
2020-02-04 11:29:02 +01:00
|
|
|
|
|
|
|
wordpress_servername: '{{ ansible_fqdn }}'
|
|
|
|
wordpress_url: 'https://{{ wordpress_servername }}'
|
|
|
|
wordpress_title: 'Wordpress {{ wordpress_servername }} site'
|
|
|
|
wordpress_admin_user: wp_admin
|
|
|
|
# wordpress_admin_pwd: 'use a vault file'
|
|
|
|
wordpress_admin_email: 'wordpress@example.org'
|
|
|
|
wordpress_lang: 'en_US'
|
|
|
|
wordpress_debug: 'false'
|
|
|
|
|
|
|
|
# wordpress_plugins_install_list:
|
|
|
|
|
2020-02-07 17:59:51 +01:00
|
|
|
# wordpress_plugins_upgrade_list: '{{ wordpress_plugins_install_list }}'
|
|
|
|
|
2020-02-04 11:29:02 +01:00
|
|
|
# wordpress_plugins_delete_list:
|
|
|
|
|
|
|
|
wordpress_php_prereq:
|
|
|
|
- 'php{{ php_version }}-json'
|
|
|
|
- 'php{{ php_version }}-intl'
|
|
|
|
- 'php{{ php_version }}-cli'
|
|
|
|
- 'php{{ php_version }}-gd'
|
|
|
|
- 'php{{ php_version }}-memcached'
|
|
|
|
- 'php{{ php_version }}-zip'
|
|
|
|
- 'php{{ php_version }}-curl'
|
2020-04-27 13:01:59 +02:00
|
|
|
- 'php{{ php_version }}-opcache'
|
2020-02-04 11:29:02 +01:00
|
|
|
- php-pear
|
|
|
|
- php-date
|
|
|
|
- imagemagick
|
|
|
|
- 'php{{ php_version }}-mysqlnd'
|
2020-04-27 13:01:59 +02:00
|
|
|
- 'php-apcu'
|
|
|
|
|
2020-04-27 15:43:14 +02:00
|
|
|
php_global_settings: '{{ wordpress_php_global_settings }}'
|
2020-02-04 11:29:02 +01:00
|
|
|
wordpress_local_mysql: True
|
2020-04-27 15:43:14 +02:00
|
|
|
wordpress_phpfpm_listen_on_socket: True
|
|
|
|
wordpress_php_listen: '{{ php_run_dir }}/wp.sock'
|
2020-02-04 11:29:02 +01:00
|
|
|
|
|
|
|
wordpress_db_name: wp_db
|
|
|
|
wordpress_db_user: wp_user
|
|
|
|
# If you change that, you must set the wordpress_local_mysql variable to False
|
|
|
|
wordpress_db_host: localhost
|
|
|
|
wordpress_db_table_prefix: 'mywp_'
|
|
|
|
# wordpress_db_pwd: 'use a vault file'
|
|
|
|
|
|
|
|
wordpress_local_nginx: True
|
|
|
|
wordpress_local_nginx_virtualhost: '{{ wordpress_local_nginx }}'
|
|
|
|
wordpress_doc_root: /var/www/html/wordpress
|
2020-04-27 13:01:59 +02:00
|
|
|
|
|
|
|
phpfpm_default_memory_limit: "128M"
|
|
|
|
wordpress_upload_max_filesize: 32M
|
|
|
|
nginx_client_max_body_size: '{{ wordpress_upload_max_filesize }}'
|
2020-04-27 15:43:14 +02:00
|
|
|
phpfpm_allow_url_fopen: '{{ wordpress_phpfpm_allow_url_fopen }}'
|
|
|
|
phpfpm_max_execution_time: '{{ wordpress_phpfpm_max_execution_time }}'
|
|
|
|
phpfpm_pools: '{{ wordpress_phpfpm_pools }}'
|
|
|
|
|