ansible-role-wordpress/defaults/main.yml

70 lines
2.1 KiB
YAML

---
http_port: 80
https_port: 443
wordpress_dist_name: wordpress
wordpress_major: 5
wordpress_minor: 3
wordpress_fix: 2
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
wordpress_auto_upgrade: True
wordpress_auto_upgrade_minor_only: False
wordpress_auto_upgrade_all_plugins: True
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:
# wordpress_plugins_upgrade_list: '{{ wordpress_plugins_install_list }}'
# 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'
- 'php{{ php_version }}-opcache'
- php-pear
- php-date
- imagemagick
- 'php{{ php_version }}-mysqlnd'
- 'php-apcu'
php_global_settings: '{{ wordpress_php_global_settings }}'
wordpress_local_mysql: True
wordpress_phpfpm_listen_on_socket: True
wordpress_php_listen: '{{ php_run_dir }}/wp.sock'
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
phpfpm_default_memory_limit: "128M"
wordpress_upload_max_filesize: 32M
nginx_client_max_body_size: '{{ wordpress_upload_max_filesize }}'
phpfpm_allow_url_fopen: '{{ wordpress_phpfpm_allow_url_fopen }}'
phpfpm_max_execution_time: '{{ wordpress_phpfpm_max_execution_time }}'
phpfpm_pools: '{{ wordpress_phpfpm_pool }}'