Created
April 26, 2017 10:46
-
-
Save MiteshShah/1324b9a86305e6cf2d86db2d86bcb5e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible-playbook -i hosts setup.yml --extra-vars="username=wp website_name=wpfc.com website_type=wpfc" | |
PLAY [Welcome to AnsiPress Setup] ***************************************************************************************************************************** | |
TASK [Installing python3-simplejson for Ansible, Hold on...] ************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
changed: [AnsiPress.debian] | |
TASK [Gathering Facts] **************************************************************************************************************************************** | |
ok: [AnsiPress.debian] | |
ok: [AnsiPress.ubuntu] | |
TASK [bootstrap : Executing ping command, Hold on...] ********************************************************************************************************* | |
ok: [AnsiPress.debian] | |
ok: [AnsiPress.ubuntu] | |
TASK [bootstrap : Checking Network Connection, Hold on...] **************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [bootstrap : Setup FQDN, Hold on...] ********************************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [bootstrap : Setup Timezone to UTC, Hold on...] ********************************************************************************************************** | |
ok: [AnsiPress.debian] | |
ok: [AnsiPress.ubuntu] | |
TASK [bootstrap : Setup UMASK, Hold on...] ******************************************************************************************************************** | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^umask', u'line': u'umask 0027'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^umask', u'line': u'umask 0027'}) | |
TASK [bootstrap : Executing apt-get update command, Hold on...] *********************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
changed: [AnsiPress.debian] | |
TASK [bootstrap : Executing apt-get dist-upgrade command, Hold on...] ***************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
changed: [AnsiPress.debian] | |
TASK [bootstrap : Installing required software, Hold on...] *************************************************************************************************** | |
changed: [AnsiPress.debian] => (item=[u'bc', u'tar', u'sudo', u'wget', u'curl', u'git', u'htop', u'coreutils', u'libssl-dev', u'lsb-release', u'python3-dev', u'python3-pip', u'ca-certificates', u'apt-transport-https', u'python-software-properties', u'software-properties-common']) | |
changed: [AnsiPress.ubuntu] => (item=[u'bc', u'tar', u'sudo', u'wget', u'curl', u'git', u'htop', u'coreutils', u'libssl-dev', u'lsb-release', u'python3-dev', u'python3-pip', u'ca-certificates', u'apt-transport-https', u'python-software-properties', u'software-properties-common']) | |
TASK [bootstrap : Installing passlib software, Hold on...] **************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [bootstrap : Installing NTP Service, Hold on...] ********************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [security : Installing Fail2ban, Hold on...] ************************************************************************************************************* | |
changed: [AnsiPress.debian] => (item=[u'fail2ban']) | |
changed: [AnsiPress.ubuntu] => (item=[u'fail2ban']) | |
TASK [security : Copying Fail2ban Configuration File, Hold on...] ********************************************************************************************* | |
changed: [AnsiPress.debian] => (item={u'dest': u'/etc/fail2ban/jail.local', u'src': u'../templates/fail2ban/jail.local'}) | |
changed: [AnsiPress.ubuntu] => (item={u'dest': u'/etc/fail2ban/jail.local', u'src': u'../templates/fail2ban/jail.local'}) | |
changed: [AnsiPress.debian] => (item={u'dest': u'/etc/fail2ban/filter.d/nginx-req-limit.conf', u'src': u'../templates/fail2ban/nginx-req-limit.conf'}) | |
changed: [AnsiPress.ubuntu] => (item={u'dest': u'/etc/fail2ban/filter.d/nginx-req-limit.conf', u'src': u'../templates/fail2ban/nginx-req-limit.conf'}) | |
TASK [reboot : Checking For Reboot Required, Hold on...] ****************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [reboot : Restarting System, Hold on...] ***************************************************************************************************************** | |
skipping: [AnsiPress.ubuntu] | |
skipping: [AnsiPress.debian] | |
TASK [reboot : Initializing System Boot Process, Hold on...] ************************************************************************************************** | |
skipping: [AnsiPress.ubuntu] | |
skipping: [AnsiPress.debian] | |
TASK [stack : Installing Memcached, Hold on...] *************************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Checking NGINX Stack Required, Hold on...] ****************************************************************************************************** | |
skipping: [AnsiPress.ubuntu] | |
skipping: [AnsiPress.debian] | |
TASK [stack : Checking PHP Stack Required, Hold on...] ******************************************************************************************************** | |
skipping: [AnsiPress.ubuntu] | |
skipping: [AnsiPress.debian] | |
TASK [stack : Checking MySQL Stack Required, Hold on...] ****************************************************************************************************** | |
ok: [AnsiPress.ubuntu] | |
ok: [AnsiPress.debian] | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/stack/tasks/mysql.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/stack/tasks/php.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/stack/tasks/nginx.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/stack/tasks/ubuntu/nginx_repo.yml for AnsiPress.ubuntu | |
included: /Users/neo/Github/AnsiPress/roles/stack/tasks/debian/nginx_repo.yml for AnsiPress.debian | |
TASK [stack : Adding NGINX Repository Key, Hold on...] ******************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Adding NGINX Repository, Hold on...] ************************************************************************************************************ | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/apt/update.yml for AnsiPress.ubuntu | |
TASK [stack : Executing apt-get update command, Hold on...] *************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Adding NGINX Repository Key, Hold on...] ******************************************************************************************************** | |
changed: [AnsiPress.debian] | |
TASK [stack : Adding NGINX Repository, Hold on...] ************************************************************************************************************ | |
changed: [AnsiPress.debian] | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/apt/update.yml for AnsiPress.debian | |
TASK [stack : Executing apt-get update command, Hold on...] *************************************************************************************************** | |
changed: [AnsiPress.debian] | |
TASK [stack : Installing NGINX, Hold on...] ******************************************************************************************************************* | |
changed: [AnsiPress.ubuntu] | |
changed: [AnsiPress.debian] | |
TASK [stack : Setup NGINX conf.d Files, Hold on...] *********************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Setup AnsiPress NGINX Files, Hold on...] ******************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Checking /etc/nginx/htpasswd File, Hold on...] ************************************************************************************************** | |
ok: [AnsiPress.debian] | |
ok: [AnsiPress.ubuntu] | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/random_password.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [stack : Generating Random Password, Hold on...] ********************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Setup HTTP AUTH, Hold On...] ******************************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Set HTTP_AUTH_Password Variable, Hold on...] **************************************************************************************************** | |
ok: [AnsiPress.ubuntu] | |
ok: [AnsiPress.debian] | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/stack/tasks/ubuntu/php_repo.yml for AnsiPress.ubuntu | |
included: /Users/neo/Github/AnsiPress/roles/stack/tasks/debian/php_repo.yml for AnsiPress.debian | |
TASK [stack : Adding PHP Repository, Hold on...] ************************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/apt/update.yml for AnsiPress.ubuntu | |
TASK [stack : Executing apt-get update command, Hold on...] *************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Adding PHP Repository Key, Hold on...] ********************************************************************************************************** | |
changed: [AnsiPress.debian] | |
TASK [stack : Adding PHP Repository, Hold on...] ************************************************************************************************************** | |
changed: [AnsiPress.debian] | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/apt/update.yml for AnsiPress.debian | |
TASK [stack : Executing apt-get update command, Hold on...] *************************************************************************************************** | |
changed: [AnsiPress.debian] | |
TASK [stack : Installing PHP, Hold on...] ********************************************************************************************************************* | |
changed: [AnsiPress.debian] => (item=[u'php7.1-gd', u'php7.1-cli', u'php7.1-fpm', u'php7.1-curl', u'php7.1-imap', u'php7.1-mysql', u'php7.1-redis', u'php7.1-geoip', u'php7.1-common', u'php7.1-mcrypt', u'php7.1-xdebug', u'php7.1-xmlrpc', u'php7.1-opcache', u'php7.1-memcache', u'php7.1-mbstring', u'php7.1-readline']) | |
changed: [AnsiPress.ubuntu] => (item=[u'php7.1-gd', u'php7.1-cli', u'php7.1-fpm', u'php7.1-curl', u'php7.1-imap', u'php7.1-mysql', u'php7.1-redis', u'php7.1-geoip', u'php7.1-common', u'php7.1-mcrypt', u'php7.1-xdebug', u'php7.1-xmlrpc', u'php7.1-opcache', u'php7.1-memcache', u'php7.1-mbstring', u'php7.1-readline']) | |
TASK [stack : Creating PHP Log Directory, Hold on...] ********************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Tunning php.ini Variables, Hold on...] ********************************************************************************************************** | |
ok: [AnsiPress.debian] => (item={u'regexp': u'^expose_php', u'line': u'expose_php = Off'}) | |
ok: [AnsiPress.ubuntu] => (item={u'regexp': u'^expose_php', u'line': u'expose_php = Off'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^post_max_size', u'line': u'post_max_size = 100M'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^post_max_size', u'line': u'post_max_size = 100M'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^upload_max_filesize', u'line': u'upload_max_filesize = 100M'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^upload_max_filesize', u'line': u'upload_max_filesize = 100M'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^max_execution_time', u'line': u'max_execution_time = 300'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^max_execution_time', u'line': u'max_execution_time = 300'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^;date.timezone', u'line': u'date.timezone = UTC'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^;date.timezone', u'line': u'date.timezone = UTC'}) | |
TASK [stack : Changing PHP-FPM Log Location, Hold on...] ****************************************************************************************************** | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^error_log', u'line': u'error_log = /var/log/php/fpm.log'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^error_log', u'line': u'error_log = /var/log/php/fpm.log'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^include=', u'line': u'include=/etc/php/7.1/fpm/pool.d/www.conf'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^include=', u'line': u'include=/etc/php/7.1/fpm/pool.d/www.conf'}) | |
TASK [stack : Tunning PHP WWW Pool Variables, Hold on...] ***************************************************************************************************** | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^listen = ', u'line': u'listen = 127.0.0.1:9000'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^listen = ', u'line': u'listen = 127.0.0.1:9000'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^;ping.path', u'line': u'ping.path = /ping'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^;ping.path', u'line': u'ping.path = /ping'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^;ping.response', u'line': u'ping.response = pong'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^;ping.response', u'line': u'ping.response = pong'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^;pm.status_path', u'line': u'pm.status_path = /status'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^;pm.status_path', u'line': u'pm.status_path = /status'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^;request_terminate_timeout', u'line': u'request_terminate_timeout = 300'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^;request_terminate_timeout', u'line': u'request_terminate_timeout = 300'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^pm = dynamic', u'line': u'pm = ondemand'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^pm = dynamic', u'line': u'pm = ondemand'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^;pm.max_requests', u'line': u'pm.max_requests = 250'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^;pm.max_requests', u'line': u'pm.max_requests = 250'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^pm.max_children', u'line': u'pm.max_children = 25'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^pm.max_children', u'line': u'pm.max_children = 25'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^pm.start_servers', u'line': u'pm.start_servers = 15'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^pm.start_servers', u'line': u'pm.start_servers = 15'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^pm.min_spare_servers', u'line': u'pm.min_spare_servers = 10'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^pm.max_spare_servers', u'line': u'pm.max_spare_servers = 20'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^pm.min_spare_servers', u'line': u'pm.min_spare_servers = 10'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^pm.max_spare_servers', u'line': u'pm.max_spare_servers = 20'}) | |
TASK [stack : Creating PHP Debug Pool, Hold on...] ************************************************************************************************************ | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Tunning PHP Debug Pool Variables, Hold on...] *************************************************************************************************** | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^\\[www\\]', u'line': u'[debug]'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^\\[www\\]', u'line': u'[debug]'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^listen = 127.0.0.1:9000', u'line': u'listen = 127.0.0.1:9001'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^listen = 127.0.0.1:9000', u'line': u'listen = 127.0.0.1:9001'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^;slowlog', u'line': u'slowlog = /var/log/php/$pool.log.slow'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^;slowlog', u'line': u'slowlog = /var/log/php/$pool.log.slow'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^;request_slowlog_timeout', u'line': u'request_slowlog_timeout = 10s'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^;request_slowlog_timeout', u'line': u'request_slowlog_timeout = 10s'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^;php_admin_value\\[memory_limit\\]', u'line': u';php_admin_value[memory_limit] = 32M \nphp_admin_value[xdebug.profiler_output_dir] = /tmp/ \nphp_admin_value[xdebug.profiler_output_name] = cachegrind.out.%p-%H-%R \nphp_admin_flag[xdebug.profiler_enable_trigger] = on \nphp_admin_flag[xdebug.profiler_enable] = off'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^;php_admin_value\\[memory_limit\\]', u'line': u';php_admin_value[memory_limit] = 32M \nphp_admin_value[xdebug.profiler_output_dir] = /tmp/ \nphp_admin_value[xdebug.profiler_output_name] = cachegrind.out.%p-%H-%R \nphp_admin_flag[xdebug.profiler_enable_trigger] = on \nphp_admin_flag[xdebug.profiler_enable] = off'}) | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/stack/tasks/ubuntu/mysql_repo.yml for AnsiPress.ubuntu | |
included: /Users/neo/Github/AnsiPress/roles/stack/tasks/debian/mysql_repo.yml for AnsiPress.debian | |
TASK [stack : Adding MariaDB Repository Key, Hold on...] ****************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Adding MariaDB Repository, Hold on...] ********************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/apt/update.yml for AnsiPress.ubuntu | |
TASK [stack : Executing apt-get update command, Hold on...] *************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Adding MariaDB Repository Key, Hold on...] ****************************************************************************************************** | |
changed: [AnsiPress.debian] | |
TASK [stack : Adding MariaDB Repository, Hold on...] ********************************************************************************************************** | |
changed: [AnsiPress.debian] | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/apt/update.yml for AnsiPress.debian | |
TASK [stack : Executing apt-get update command, Hold on...] *************************************************************************************************** | |
changed: [AnsiPress.debian] | |
TASK [stack : Installing MariaDB, Hold on...] ***************************************************************************************************************** | |
changed: [AnsiPress.ubuntu] => (item=[u'mariadb-server', u'mariadb-client', u'libmariadbclient-dev']) | |
changed: [AnsiPress.debian] => (item=[u'mariadb-server', u'mariadb-client', u'libmariadbclient-dev']) | |
TASK [stack : Installing Python mysqlclient package, Hold on...] ********************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : include] **************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/random_password.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [stack : Generating Random Password, Hold on...] ********************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Setup MariaDB root password, Hold on...] ******************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Creating /root/.my.cnf file, Hold on...] ******************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [stack : Tunning MySQL Variables, Hold on...] ************************************************************************************************************ | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^skip-external-locking', u'line': u'skip-external-locking\\nskip-name-resolve'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^skip-external-locking', u'line': u'skip-external-locking\\nskip-name-resolve'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^connect_timeout', u'line': u'connect_timeout = 10'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^connect_timeout', u'line': u'connect_timeout = 10'}) | |
changed: [AnsiPress.debian] => (item={u'regexp': u'^wait_timeout', u'line': u'wait_timeout = 60\ninteractive_timeout = 30'}) | |
changed: [AnsiPress.ubuntu] => (item={u'regexp': u'^wait_timeout', u'line': u'wait_timeout = 60\ninteractive_timeout = 30'}) | |
TASK [stack : Installing MySQLTunner Script, Hold on...] ****************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
changed: [AnsiPress.debian] | |
TASK [user : Setup User Account, Hold on...] ****************************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [user : Setup User Home Direcroty Permissions, Hold on...] *********************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [user : Grant NGINX Read Permissions, Hold on...] ******************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [user : Setup Custom Bash Prompt PS1, Hold on...] ******************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [user : Setup Directory, Hold on...] ********************************************************************************************************************* | |
changed: [AnsiPress.debian] => (item=/home/wp/vhosts/wpfc.com/htdocs) | |
changed: [AnsiPress.ubuntu] => (item=/home/wp/vhosts/wpfc.com/htdocs) | |
changed: [AnsiPress.debian] => (item=/home/wp/vhosts/wpfc.com/ssl) | |
changed: [AnsiPress.ubuntu] => (item=/home/wp/vhosts/wpfc.com/ssl) | |
changed: [AnsiPress.debian] => (item=/home/wp/vhosts/wpfc.com/conf) | |
changed: [AnsiPress.ubuntu] => (item=/home/wp/vhosts/wpfc.com/conf) | |
changed: [AnsiPress.debian] => (item=/home/wp/vhosts/wpfc.com/logs) | |
changed: [AnsiPress.ubuntu] => (item=/home/wp/vhosts/wpfc.com/logs) | |
TASK [website : include] ************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/website/tasks/wpfc.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [website : include] ************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/website/tasks/mysql.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [website : include] ************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/website/tasks/php.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [website : include] ************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/website/tasks/html.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [website : Calculate PHP Pool Value, Hold on...] ********************************************************************************************************* | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/php_pool.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [website : Calculate PHP Pool Number, Hold on...] ******************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Check /etc/nginx/sites-available/wpfc.com.conf, Hold on...] *********************************************************************************** | |
ok: [AnsiPress.debian] | |
ok: [AnsiPress.ubuntu] | |
TASK [website : Setup HTML, PHP or MySQL website NGINX Configuration, Hold on...] ***************************************************************************** | |
skipping: [AnsiPress.ubuntu] | |
skipping: [AnsiPress.debian] | |
TASK [website : Setup WordPress website NGINX Configuration, Hold on...] ************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Enabling wpfc.com Website, Hold on...] ******************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Setup Symbolic Link for Logs, Hold on...] ***************************************************************************************************** | |
changed: [AnsiPress.debian] => (item={u'dest': u'/home/wp/vhosts/wpfc.com/logs/access.log', u'src': u'/var/log/nginx/wpfc.com.access.log'}) | |
changed: [AnsiPress.ubuntu] => (item={u'dest': u'/home/wp/vhosts/wpfc.com/logs/access.log', u'src': u'/var/log/nginx/wpfc.com.access.log'}) | |
changed: [AnsiPress.debian] => (item={u'dest': u'/home/wp/vhosts/wpfc.com/logs/error.log', u'src': u'/var/log/nginx/wpfc.com.error.log'}) | |
changed: [AnsiPress.ubuntu] => (item={u'dest': u'/home/wp/vhosts/wpfc.com/logs/error.log', u'src': u'/var/log/nginx/wpfc.com.error.log'}) | |
TASK [website : Setup wp Pool, Hold on...] ******************************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : template] ************************************************************************************************************************************* | |
changed: [AnsiPress.debian] => (item={u'dest': u'/etc/init.d/php7.1-wp', u'src': u'php/php7.1-fpm'}) | |
changed: [AnsiPress.ubuntu] => (item={u'dest': u'/etc/init.d/php7.1-wp', u'src': u'php/php7.1-fpm'}) | |
changed: [AnsiPress.debian] => (item={u'dest': u'/lib/systemd/system/php7.1-wp.service', u'src': u'php/php7.1-fpm.service'}) | |
changed: [AnsiPress.ubuntu] => (item={u'dest': u'/lib/systemd/system/php7.1-wp.service', u'src': u'php/php7.1-fpm.service'}) | |
TASK [website : Generate MySQl DB Name, Hold on...] *********************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Generate MySQl Username, Hold on...] ********************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : include] ************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/random_password.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [website : Generating Random Password, Hold on...] ******************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Setup Database, Hold on...] ******************************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Setup Database Permissions, Hold on...] ******************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Generate Databae Config File for MySQL Website, Hold on...] *********************************************************************************** | |
skipping: [AnsiPress.ubuntu] | |
skipping: [AnsiPress.debian] | |
TASK [website : Installing WP-CLI Tool, Hold on...] *********************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Downloading Latest WordPress, Hold on...] ***************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Fetching random salts for WordPress config, Hold on...] *************************************************************************************** | |
ok: [AnsiPress.debian] | |
ok: [AnsiPress.ubuntu] | |
TASK [website : Copy wp-config.php File, Hold on...] ********************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : include] ************************************************************************************************************************************** | |
included: /Users/neo/Github/AnsiPress/roles/libs/tasks/random_password.yml for AnsiPress.ubuntu, AnsiPress.debian | |
TASK [website : Generating Random Password, Hold on...] ******************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Setup WordPress Tables, Hold on...] *********************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Setup WordPress Permalink, Hold on...] ******************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Downloading NGINX Cache Purge Script, Hold on...] ********************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
TASK [website : Fixing WordPress Permissions, Hold On] ******************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
changed: [AnsiPress.debian] | |
TASK [print : AnsiPress HTTP Auth Details, Hold on...] ******************************************************************************************************** | |
ok: [AnsiPress.ubuntu] => (item=HTTP AUTH Username = AnsiPress) => { | |
"item": "HTTP AUTH Username = AnsiPress", | |
"msg": "HTTP AUTH Username = AnsiPress" | |
} | |
ok: [AnsiPress.debian] => (item=HTTP AUTH Username = AnsiPress) => { | |
"item": "HTTP AUTH Username = AnsiPress", | |
"msg": "HTTP AUTH Username = AnsiPress" | |
} | |
ok: [AnsiPress.ubuntu] => (item=HTTP AUTH Password = yJ2lrjAWWNib9wG) => { | |
"item": "HTTP AUTH Password = yJ2lrjAWWNib9wG", | |
"msg": "HTTP AUTH Password = yJ2lrjAWWNib9wG" | |
} | |
ok: [AnsiPress.debian] => (item=HTTP AUTH Password = FMukQPc41ufAGq4) => { | |
"item": "HTTP AUTH Password = FMukQPc41ufAGq4", | |
"msg": "HTTP AUTH Password = FMukQPc41ufAGq4" | |
} | |
TASK [print : Getting WordPress Setup Information, Hold on...] ************************************************************************************************ | |
ok: [AnsiPress.ubuntu] => (item=WordPress Username = wp) => { | |
"item": "WordPress Username = wp", | |
"msg": "WordPress Username = wp" | |
} | |
ok: [AnsiPress.ubuntu] => (item=WordPress Password = tVgozppyjxAcgj7) => { | |
"item": "WordPress Password = tVgozppyjxAcgj7", | |
"msg": "WordPress Password = tVgozppyjxAcgj7" | |
} | |
ok: [AnsiPress.debian] => (item=WordPress Username = wp) => { | |
"item": "WordPress Username = wp", | |
"msg": "WordPress Username = wp" | |
} | |
ok: [AnsiPress.debian] => (item=WordPress Password = 8VHscFBQyCwx6IE) => { | |
"item": "WordPress Password = 8VHscFBQyCwx6IE", | |
"msg": "WordPress Password = 8VHscFBQyCwx6IE" | |
} | |
RUNNING HANDLER [bootstrap : service ntp restart] ************************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
RUNNING HANDLER [security : service fail2ban restart] ********************************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
RUNNING HANDLER [stack : service memcached restart] *********************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
RUNNING HANDLER [stack : service nginx restart] *************************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
RUNNING HANDLER [stack : service php7.1-fpm restart] ********************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
RUNNING HANDLER [stack : service mysql restart] *************************************************************************************************************** | |
changed: [AnsiPress.ubuntu] | |
changed: [AnsiPress.debian] | |
RUNNING HANDLER [website : service nginx reload] ************************************************************************************************************** | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
RUNNING HANDLER [website : service php7.1-{{ username | lower }} restart] ************************************************************************************* | |
changed: [AnsiPress.debian] | |
changed: [AnsiPress.ubuntu] | |
PLAY RECAP **************************************************************************************************************************************************** | |
AnsiPress.debian : ok=101 changed=73 unreachable=0 failed=0 | |
AnsiPress.ubuntu : ok=100 changed=72 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment