Skip to content

Instantly share code, notes, and snippets.

@vyasamit2007
Last active January 5, 2017 15:24
Show Gist options
  • Save vyasamit2007/4c8e497a61c73aecb878b60fb24b161e to your computer and use it in GitHub Desktop.
Save vyasamit2007/4c8e497a61c73aecb878b60fb24b161e to your computer and use it in GitHub Desktop.
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
ok: [project]
TASK [Include OS-specific variables.] ******************************************
ok: [project]
TASK [Update apt cache if needed.] *********************************************
ok: [project]
TASK [Get software for Python-based control.] **********************************
changed: [project] => (item=[u'curl', u'python-apt', u'python-pycurl', u'build-essential'])
TASK [Disable the ufw firewall (since we use a simple iptables firewall).] *****
changed: [project]
TASK [Add repository for PHP 5.5, 5.6, 7.0 or 7.1.] ****************************
changed: [project]
TASK [Add repository for PHP 5 compatibility packages.] ************************
changed: [project]
TASK [Purge PHP version packages.] *********************************************
ok: [project] => (item=[u'php5.5', u'php5.5-apcu', u'php5.5-cli', u'php5.5-intl', u'php5.5-common', u'php5.5-curl', u'php5.5-dev', u'php5.5-fpm', u'php5.5-gd', u'php5.5-imap', u'php5.5-json', u'php5.5-mbstring', u'php5.5-mcrypt', u'php5.5-mysql', u'php5.5-opcache', u'php5.5-sqlite3', u'php5.5-xml', u'php5.5-yaml', u'php7.0', u'php7.0-apcu', u'php7.0-cli', u'php7.0-intl', u'php7.0-common', u'php7.0-curl', u'php7.0-dev', u'php7.0-fpm', u'php7.0-gd', u'php7.0-imap', u'php7.0-json', u'php7.0-mbstring', u'php7.0-mcrypt', u'php7.0-mysql', u'php7.0-opcache', u'php7.0-sqlite3', u'php7.0-xml', u'php7.0-yaml', u'php7.1', u'php7.1-apcu', u'php7.1-cli', u'php7.1-intl', u'php7.1-common', u'php7.1-curl', u'php7.1-dev', u'php7.1-fpm', u'php7.1-gd', u'php7.1-imap', u'php7.1-json', u'php7.1-mbstring', u'php7.1-mcrypt', u'php7.1-mysql', u'php7.1-opcache', u'php7.1-sqlite3', u'php7.1-xml', u'php7.1-yaml'])
TASK [Purge PHP packages installed by default on Ubuntu.] **********************
ok: [project] => (item=[u'php-common'])
TASK [Purge PHP modules directory.] ********************************************
skipping: [project] => (item=/usr/lib/php5/modules)
skipping: [project] => (item=/usr/lib/php/modules)
TASK [Define php_xhprof_html_dir.] *********************************************
skipping: [project]
TASK [Get software for Python-based control.] **********************************
skipping: [project] => (item=[])
TASK [Enable remi repo for MySQL.] *********************************************
skipping: [project]
TASK [Enable remi repo for PHP 5.5.] *******************************************
skipping: [project]
TASK [Enable remi repo for PHP 5.6.] *******************************************
skipping: [project]
TASK [Enable remi repo for PHP 7.0.] *******************************************
skipping: [project]
TASK [Set the correct XHProf package when PHP 5.5 or 5.6 is used.] *************
ok: [project]
TASK [Ensure PHP version -specific workspace directory exists.] ****************
changed: [project]
TASK [geerlingguy.repo-remi : Install remi repo.] ******************************
skipping: [project]
TASK [geerlingguy.repo-remi : Import remi GPG key.] ****************************
skipping: [project]
TASK [geerlingguy.firewall : Ensure iptables is installed.] ********************
ok: [project]
TASK [geerlingguy.firewall : Flush iptables the first time playbook runs.] *****
changed: [project]
TASK [geerlingguy.firewall : Copy firewall script into place.] *****************
changed: [project]
TASK [geerlingguy.firewall : Copy firewall init script into place.] ************
changed: [project]
TASK [geerlingguy.firewall : Copy firewall systemd unit file into place (for systemd systems).] ***
skipping: [project]
TASK [geerlingguy.firewall : Ensure the firewall is enabled and will start on boot.] ***
changed: [project]
TASK [geerlingguy.git : Ensure git is installed (RedHat).] *********************
skipping: [project] => (item=[])
TASK [geerlingguy.git : Update apt cache (Debian).] ****************************
ok: [project]
TASK [geerlingguy.git : Ensure git is installed (Debian).] *********************
changed: [project] => (item=[u'git', u'git-svn'])
TASK [geerlingguy.git : Ensure git's dependencies are installed (RedHat).] *****
skipping: [project] => (item=[])
TASK [geerlingguy.git : Ensure git's dependencies are installed (Debian).] *****
skipping: [project] => (item=[])
TASK [geerlingguy.git : Get installed version] *********************************
[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead..
This feature will be removed in version 2.4. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [project]
TASK [geerlingguy.git : Force git install if the version numbers do not match] *
skipping: [project]
TASK [geerlingguy.git : Download git.] *****************************************
skipping: [project]
TASK [geerlingguy.git : Expand git archive.] ***********************************
skipping: [project]
TASK [geerlingguy.git : Build git.] ********************************************
skipping: [project] => (item=all)
skipping: [project] => (item=install)
TASK [geerlingguy.postfix : Ensure postfix is installed (RedHat).] *************
skipping: [project]
TASK [geerlingguy.postfix : Ensure postfix is installed (Debian).] *************
changed: [project]
TASK [geerlingguy.postfix : Ensure postfix is started and enabled at boot.] ****
ok: [project]
TASK [geerlingguy.apache : Include OS-specific variables.] *********************
ok: [project]
TASK [geerlingguy.apache : Define apache_packages.] ****************************
ok: [project]
TASK [geerlingguy.apache : include] ********************************************
included: /usr/local/etc/ansible/roles/geerlingguy.apache/tasks/setup-Debian.yml for project
TASK [geerlingguy.apache : Update apt cache.] **********************************
ok: [project]
TASK [geerlingguy.apache : Ensure Apache is installed on Debian.] **************
changed: [project] => (item=[u'apache2', u'apache2-utils'])
TASK [geerlingguy.apache : Get installed version of Apache.] *******************
[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead..
This feature will be removed in version 2.4. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [project]
TASK [geerlingguy.apache : Create apache_version variable.] ********************
ok: [project]
TASK [geerlingguy.apache : include_vars] ***************************************
skipping: [project]
TASK [geerlingguy.apache : include_vars] ***************************************
ok: [project]
TASK [geerlingguy.apache : include] ********************************************
included: /usr/local/etc/ansible/roles/geerlingguy.apache/tasks/configure-Debian.yml for project
TASK [geerlingguy.apache : Configure Apache.] **********************************
ok: [project] => (item={u'regexp': u'^Listen ', u'line': u'Listen 80'})
TASK [geerlingguy.apache : Enable Apache mods.] ********************************
changed: [project] => (item=expires.load)
changed: [project] => (item=ssl.load)
changed: [project] => (item=rewrite.load)
changed: [project] => (item=mpm_prefork.load)
TASK [geerlingguy.apache : Disable Apache mods.] *******************************
changed: [project] => (item=mpm_event.load)
TASK [geerlingguy.apache : Check whether certificates defined in vhosts exist.]
ok: [project] => (item={u'servername': u'project.local', u'certificate_file': u'/home/vagrant/project.crt', u'certificate_key_file': u'/home/vagrant/project.key', u'documentroot': u'/var/www/project/docroot'})
ok: [project] => (item={u'servername': u'projectus.local', u'certificate_file': u'/home/vagrant/project.crt', u'certificate_key_file': u'/home/vagrant/project.key', u'documentroot': u'/var/www/project/docroot'})
ok: [project] => (item={u'servername': u'projectfr.local', u'certificate_file': u'/home/vagrant/project.crt', u'certificate_key_file': u'/home/vagrant/project.key', u'documentroot': u'/var/www/project/docroot'})
ok: [project] => (item={u'servername': u'projectnl.local', u'certificate_file': u'/home/vagrant/project.crt', u'certificate_key_file': u'/home/vagrant/project.key', u'documentroot': u'/var/www/project/docroot'})
ok: [project] => (item={u'servername': u'projectau.local', u'certificate_file': u'/home/vagrant/project.crt', u'certificate_key_file': u'/home/vagrant/project.key', u'documentroot': u'/var/www/project/docroot'})
TASK [geerlingguy.apache : Add apache vhosts configuration.] *******************
changed: [project]
TASK [geerlingguy.apache : Add vhost symlink in sites-enabled.] ****************
changed: [project]
TASK [geerlingguy.apache : Remove default vhost in sites-enabled.] *************
changed: [project]
TASK [geerlingguy.apache : Ensure Apache has selected state and enabled on boot.] ***
ok: [project]
TASK [geerlingguy.nginx : Include OS-specific variables.] **********************
skipping: [project]
TASK [geerlingguy.nginx : Define nginx_user.] **********************************
skipping: [project]
TASK [geerlingguy.nginx : Enable nginx repo.] **********************************
skipping: [project]
TASK [geerlingguy.nginx : Ensure nginx is installed.] **************************
skipping: [project]
TASK [geerlingguy.nginx : Add PPA for Nginx.] **********************************
skipping: [project]
TASK [geerlingguy.nginx : Ensure nginx will reinstall if the PPA was just added.] ***
skipping: [project]
TASK [geerlingguy.nginx : Update apt cache.] ***********************************
skipping: [project]
TASK [geerlingguy.nginx : Ensure nginx is installed.] **************************
skipping: [project]
TASK [geerlingguy.nginx : Update pkg cache.] ***********************************
skipping: [project]
TASK [geerlingguy.nginx : Ensure nginx is installed.] **************************
skipping: [project]
TASK [geerlingguy.nginx : Create logs directory.] ******************************
skipping: [project]
TASK [geerlingguy.nginx : Remove default nginx vhost config file (if configured).] ***
skipping: [project]
TASK [geerlingguy.nginx : Ensure nginx_vhost_path exists.] *********************
skipping: [project]
TASK [geerlingguy.nginx : Add managed vhost config file (if any vhosts are configured).] ***
skipping: [project]
TASK [geerlingguy.nginx : Remove managed vhost config file (if no vhosts are configured).] ***
skipping: [project]
TASK [geerlingguy.nginx : Copy nginx configuration in place.] ******************
skipping: [project]
TASK [geerlingguy.nginx : Ensure nginx is started and enabled to start at boot.] ***
skipping: [project]
TASK [geerlingguy.mysql : Include OS-specific variables.] **********************
ok: [project]
TASK [geerlingguy.mysql : Include OS-specific variables (RedHat).] *************
skipping: [project]
TASK [geerlingguy.mysql : Define mysql_packages.] ******************************
ok: [project]
TASK [geerlingguy.mysql : Define mysql_daemon.] ********************************
ok: [project]
TASK [geerlingguy.mysql : Define mysql_slow_query_log_file.] *******************
ok: [project]
TASK [geerlingguy.mysql : Define mysql_log_error.] *****************************
ok: [project]
TASK [geerlingguy.mysql : Define mysql_syslog_tag.] ****************************
ok: [project]
TASK [geerlingguy.mysql : Define mysql_pid_file.] ******************************
ok: [project]
TASK [geerlingguy.mysql : Define mysql_config_file.] ***************************
ok: [project]
TASK [geerlingguy.mysql : Define mysql_config_include_dir.] ********************
ok: [project]
TASK [geerlingguy.mysql : Define mysql_socket.] ********************************
ok: [project]
TASK [geerlingguy.mysql : Define mysql_supports_innodb_large_prefix.] **********
ok: [project]
TASK [geerlingguy.mysql : include] *********************************************
skipping: [project]
TASK [geerlingguy.mysql : include] *********************************************
included: /usr/local/etc/ansible/roles/geerlingguy.mysql/tasks/setup-Debian.yml for project
TASK [geerlingguy.mysql : Check if MySQL is already installed.] ****************
ok: [project]
TASK [geerlingguy.mysql : Update apt cache if MySQL is not yet installed.] *****
changed: [project]
TASK [geerlingguy.mysql : Ensure MySQL Python libraries are installed.] ********
changed: [project]
TASK [geerlingguy.mysql : Ensure MySQL packages are installed.] ****************
changed: [project] => (item=[u'mysql-common', u'mysql-server'])
TASK [geerlingguy.mysql : Ensure MySQL is stopped after initial install.] ******
changed: [project]
TASK [geerlingguy.mysql : Delete innodb log files created by apt package after initial install.] ***
changed: [project] => (item=ib_logfile0)
changed: [project] => (item=ib_logfile1)
TASK [geerlingguy.mysql : Check if MySQL packages were installed.] *************
ok: [project]
TASK [geerlingguy.mysql : Copy my.cnf global MySQL configuration.] *************
changed: [project]
TASK [geerlingguy.mysql : Verify mysql include directory exists.] **************
skipping: [project]
TASK [geerlingguy.mysql : Copy my.cnf override files into include directory.] **
TASK [geerlingguy.mysql : Create slow query log file (if configured).] *********
changed: [project]
[WARNING]: Consider using file module with state=touch rather than running
touch
TASK [geerlingguy.mysql : Create datadir if it does not exist] *****************
changed: [project]
TASK [geerlingguy.mysql : Set ownership on slow query log file (if configured).] ***
changed: [project]
TASK [geerlingguy.mysql : Create error log file (if configured).] **************
ok: [project]
TASK [geerlingguy.mysql : Set ownership on error log file (if configured).] ****
changed: [project]
TASK [geerlingguy.mysql : Ensure MySQL is started and enabled on boot.] ********
changed: [project]
TASK [geerlingguy.mysql : Get MySQL version.] **********************************
ok: [project]
TASK [geerlingguy.mysql : Ensure default user is present.] *********************
skipping: [project]
TASK [geerlingguy.mysql : Copy user-my.cnf file with password credentials.] ****
skipping: [project]
TASK [geerlingguy.mysql : Disallow root login remotely] ************************
ok: [project] => (item=DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1'))
TASK [geerlingguy.mysql : Get list of hosts for the root user.] ****************
[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead..
This feature will be removed in version 2.4. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [project]
TASK [geerlingguy.mysql : Update MySQL root password for localhost root account (5.7.x).] ***
skipping: [project] => (item=127.0.0.1)
skipping: [project] => (item=::1)
skipping: [project] => (item=localhost)
TASK [geerlingguy.mysql : Update MySQL root password for localhost root account (< 5.7.x).] ***
changed: [project] => (item=127.0.0.1)
changed: [project] => (item=::1)
changed: [project] => (item=localhost)
TASK [geerlingguy.mysql : Copy .my.cnf file with root password credentials.] ***
changed: [project]
TASK [geerlingguy.mysql : Get list of hosts for the anonymous user.] ***********
[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead..
This feature will be removed in version 2.4. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [project]
TASK [geerlingguy.mysql : Remove anonymous MySQL users.] ***********************
TASK [geerlingguy.mysql : Remove MySQL test database.] *************************
ok: [project]
TASK [geerlingguy.mysql : Ensure MySQL databases are present.] *****************
changed: [project] => (item={u'collation': u'utf8_general_ci', u'name': u'project', u'encoding': u'utf8'})
changed: [project] => (item={u'collation': u'utf8_general_ci', u'name': u'projectus', u'encoding': u'utf8'})
changed: [project] => (item={u'collation': u'utf8_general_ci', u'name': u'projectfr', u'encoding': u'utf8'})
changed: [project] => (item={u'collation': u'utf8_general_ci', u'name': u'projectnl', u'encoding': u'utf8'})
changed: [project] => (item={u'collation': u'utf8_general_ci', u'name': u'projectau', u'encoding': u'utf8'})
TASK [geerlingguy.mysql : Ensure MySQL users are present.] *********************
changed: [project] => (item=(censored due to no_log))
TASK [geerlingguy.mysql : Ensure replication user exists on master.] ***********
skipping: [project]
TASK [geerlingguy.mysql : Check slave replication status.] *********************
skipping: [project]
TASK [geerlingguy.mysql : Check master replication status.] ********************
skipping: [project]
TASK [geerlingguy.mysql : Configure replication on the slave.] *****************
skipping: [project]
TASK [geerlingguy.mysql : Start replication.] **********************************
skipping: [project]
TASK [geerlingguy.php : Include OS-specific variables.] ************************
ok: [project]
TASK [geerlingguy.php : Define php_packages.] **********************************
skipping: [project]
TASK [geerlingguy.php : Define php_webserver_daemon.] **************************
ok: [project]
TASK [geerlingguy.php : Define php_conf_paths.] ********************************
skipping: [project]
TASK [geerlingguy.php : Define php_extension_conf_paths.] **********************
skipping: [project]
TASK [geerlingguy.php : Define php_apc_conf_filename.] *************************
ok: [project]
TASK [geerlingguy.php : Define php_opcache_conf_filename (Ubuntu 16.04).] ******
skipping: [project]
TASK [geerlingguy.php : Define php_opcache_conf_filename.] *********************
ok: [project]
TASK [geerlingguy.php : Define php_fpm_conf_path.] *****************************
skipping: [project]
TASK [geerlingguy.php : include] ***********************************************
skipping: [project]
TASK [geerlingguy.php : include] ***********************************************
included: /usr/local/etc/ansible/roles/geerlingguy.php/tasks/setup-Debian.yml for project
TASK [geerlingguy.php : Update apt cache.] *************************************
ok: [project]
TASK [geerlingguy.php : Ensure PHP packages are installed.] ********************
changed: [project] => (item=[u'php5.6', u'php5.6-apcu', u'php5.6-cli', u'php5.6-intl', u'php5.6-common', u'php5.6-curl', u'php5.6-dev', u'php5.6-fpm', u'php5.6-gd', u'php5.6-imap', u'php5.6-json', u'php5.6-mbstring', u'php5.6-mcrypt', u'php5.6-mysql', u'php5.6-opcache', u'php5.6-sqlite3', u'php5.6-xml', u'php5.6-yaml'])
TASK [geerlingguy.php : Delete APCu configuration file if this role will provide one.] ***
changed: [project] => (item=/etc/php/5.6/fpm/conf.d)
ok: [project] => (item=/etc/php/5.6/apache2/conf.d)
changed: [project] => (item=/etc/php/5.6/cli/conf.d)
TASK [geerlingguy.php : Delete OpCache configuration file if this role will provide one.] ***
ok: [project] => (item=/etc/php/5.6/fpm/conf.d)
ok: [project] => (item=/etc/php/5.6/apache2/conf.d)
ok: [project] => (item=/etc/php/5.6/cli/conf.d)
TASK [geerlingguy.php : include] ***********************************************
skipping: [project]
TASK [geerlingguy.php : include] ***********************************************
included: /usr/local/etc/ansible/roles/geerlingguy.php/tasks/configure.yml for project
TASK [geerlingguy.php : Ensure configuration directories exist.] ***************
ok: [project] => (item=/etc/php/5.6/fpm)
changed: [project] => (item=/etc/php/5.6/apache2)
ok: [project] => (item=/etc/php/5.6/cli)
ok: [project] => (item=/etc/php/5.6/fpm/conf.d)
changed: [project] => (item=/etc/php/5.6/apache2/conf.d)
ok: [project] => (item=/etc/php/5.6/cli/conf.d)
TASK [geerlingguy.php : Place PHP configuration file in place.] ****************
changed: [project] => (item=/etc/php/5.6/fpm)
changed: [project] => (item=/etc/php/5.6/apache2)
changed: [project] => (item=/etc/php/5.6/cli)
TASK [geerlingguy.php : include] ***********************************************
included: /usr/local/etc/ansible/roles/geerlingguy.php/tasks/configure-apcu.yml for project
TASK [geerlingguy.php : Check for existing APCu config files.] *****************
ok: [project] => (item=/etc/php/5.6/fpm/conf.d)
ok: [project] => (item=/etc/php/5.6/apache2/conf.d)
ok: [project] => (item=/etc/php/5.6/cli/conf.d)
TASK [geerlingguy.php : Remove any non-role-supplied APCu config files.] *******
TASK [geerlingguy.php : Ensure APCu config file is present.] *******************
changed: [project] => (item=/etc/php/5.6/fpm/conf.d)
changed: [project] => (item=/etc/php/5.6/apache2/conf.d)
changed: [project] => (item=/etc/php/5.6/cli/conf.d)
TASK [geerlingguy.php : Remove APCu config file if APC is disabled.] ***********
skipping: [project] => (item=/etc/php/5.6/fpm/conf.d)
skipping: [project] => (item=/etc/php/5.6/apache2/conf.d)
skipping: [project] => (item=/etc/php/5.6/cli/conf.d)
TASK [geerlingguy.php : include] ***********************************************
included: /usr/local/etc/ansible/roles/geerlingguy.php/tasks/configure-opcache.yml for project
TASK [geerlingguy.php : Check for existing OpCache config files.] **************
ok: [project] => (item=/etc/php/5.6/fpm/conf.d)
ok: [project] => (item=/etc/php/5.6/apache2/conf.d)
ok: [project] => (item=/etc/php/5.6/cli/conf.d)
TASK [geerlingguy.php : Remove any non-role-supplied OpCache config files.] ****
changed: [project] => (item=({'_ansible_parsed': True, u'changed': False, '_ansible_no_log': False, '_ansible_item_result': True, 'item': u'/etc/php/5.6/fpm/conf.d', u'examined': 40, 'invocation': {'module_name': u'find', u'module_args': {u'paths': [u'/etc/php/5.6/fpm/conf.d'], u'file_type': u'file', u'age': None, u'contains': u'zend_extension(\\s+)?=(\\s+)?opcache\\.so', u'recurse': False, u'age_stamp': u'mtime', u'patterns': [u'*'], u'get_checksum': False, u'use_regex': False, u'follow': False, u'hidden': False, u'size': None}}, u'matched': 1, u'msg': u''}, {u'uid': 0, u'woth': False, u'mtime': 1481287733.0, u'inode': 2365188, u'isgid': False, u'size': 79, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'path': u'/etc/php/5.6/fpm/conf.d/10-opcache.ini', u'xusr': False, u'atime': 1483628673.16968, u'isdir': False, u'ctime': 1483628673.05368, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 64512, u'roth': True, u'isfifo': False, u'mode': u'0644', u'rusr': True}))
changed: [project] => (item=({'_ansible_parsed': True, u'changed': False, '_ansible_no_log': False, '_ansible_item_result': True, 'item': u'/etc/php/5.6/cli/conf.d', u'examined': 40, 'invocation': {'module_name': u'find', u'module_args': {u'paths': [u'/etc/php/5.6/cli/conf.d'], u'file_type': u'file', u'age': None, u'contains': u'zend_extension(\\s+)?=(\\s+)?opcache\\.so', u'recurse': False, u'age_stamp': u'mtime', u'patterns': [u'*'], u'get_checksum': False, u'use_regex': False, u'follow': False, u'hidden': False, u'size': None}}, u'matched': 1, u'msg': u''}, {u'uid': 0, u'woth': False, u'mtime': 1481287733.0, u'inode': 2365188, u'isgid': False, u'size': 79, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'path': u'/etc/php/5.6/cli/conf.d/10-opcache.ini', u'xusr': False, u'atime': 1483628673.16968, u'isdir': False, u'ctime': 1483628673.05368, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 64512, u'roth': True, u'isfifo': False, u'mode': u'0644', u'rusr': True}))
TASK [geerlingguy.php : Ensure OpCache config file is present.] ****************
changed: [project] => (item=/etc/php/5.6/fpm/conf.d)
changed: [project] => (item=/etc/php/5.6/apache2/conf.d)
changed: [project] => (item=/etc/php/5.6/cli/conf.d)
TASK [geerlingguy.php : Remove OpCache config file if OpCache is disabled.] ****
skipping: [project] => (item=/etc/php/5.6/fpm/conf.d)
skipping: [project] => (item=/etc/php/5.6/apache2/conf.d)
skipping: [project] => (item=/etc/php/5.6/cli/conf.d)
TASK [geerlingguy.php : include] ***********************************************
included: /usr/local/etc/ansible/roles/geerlingguy.php/tasks/configure-fpm.yml for project
TASK [geerlingguy.php : Define php_fpm_daemon.] ********************************
skipping: [project]
TASK [geerlingguy.php : Define php_fpm_pool_conf_path.] ************************
skipping: [project]
TASK [geerlingguy.php : Define php_fpm_pool_user.] *****************************
ok: [project]
TASK [geerlingguy.php : Define php_fpm_pool_group.] ****************************
ok: [project]
TASK [geerlingguy.php : Stat php_fpm_pool_conf_path] ***************************
ok: [project]
TASK [geerlingguy.php : Ensure the default pool directory exists.] *************
skipping: [project]
TASK [geerlingguy.php : Ensure the default pool exists.] ***********************
ok: [project]
TASK [geerlingguy.php : Configure php-fpm pool (if enabled).] ******************
ok: [project] => (item={u'regexp': u'^user.?=.+$', u'line': u'user = www-data'})
ok: [project] => (item={u'regexp': u'^group.?=.+$', u'line': u'group = www-data'})
changed: [project] => (item={u'regexp': u'^listen.?=.+$', u'line': u'listen = 127.0.0.1:9000'})
changed: [project] => (item={u'regexp': u'^listen\\.allowed_clients.?=.+$', u'line': u'listen.allowed_clients = 127.0.0.1'})
changed: [project] => (item={u'regexp': u'^pm\\.max_children.?=.+$', u'line': u'pm.max_children = 50'})
changed: [project] => (item={u'regexp': u'^pm\\.start_servers.?=.+$', u'line': u'pm.start_servers = 5'})
changed: [project] => (item={u'regexp': u'^pm\\.min_spare_servers.?=.+$', u'line': u'pm.min_spare_servers = 5'})
changed: [project] => (item={u'regexp': u'^pm\\.max_spare_servers.?=.+$', u'line': u'pm.max_spare_servers = 5'})
TASK [geerlingguy.php : Ensure php-fpm is started and enabled at boot (if configured).] ***
ok: [project]
TASK [geerlingguy.php-pecl : Install PECL libaries.] ***************************
TASK [geerlingguy.php-mysql : Include OS-specific variables.] ******************
ok: [project]
TASK [geerlingguy.php-mysql : Define php_mysql_package.] ***********************
skipping: [project]
TASK [geerlingguy.php-mysql : Install PHP MySQL dependencies (RedHat).] ********
skipping: [project]
TASK [geerlingguy.php-mysql : Install PHP MySQL dependencies (Debian).] ********
ok: [project]
TASK [geerlingguy.composer : Set php_executable variable to a default if not defined.] ***
skipping: [project]
TASK [geerlingguy.composer : Check if Composer is installed.] ******************
ok: [project]
TASK [geerlingguy.composer : Download Composer installer.] *********************
changed: [project]
TASK [geerlingguy.composer : Run Composer installer.] **************************
changed: [project]
TASK [geerlingguy.composer : Move Composer into globally-accessible location.] *
changed: [project]
TASK [geerlingguy.composer : Update Composer to latest version (if configured).] ***
skipping: [project]
TASK [geerlingguy.composer : Ensure composer directory exists.] ****************
changed: [project]
TASK [geerlingguy.composer : Add GitHub OAuth token for Composer (if configured).] ***
skipping: [project]
TASK [geerlingguy.composer : Install configured globally-required packages.] ***
TASK [geerlingguy.composer : Add composer_home_path bin directory to global $PATH.] ***
skipping: [project]
TASK [geerlingguy.drush : Clone Drush from GitHub.] ****************************
changed: [project]
TASK [geerlingguy.drush : Check for composer.json] *****************************
ok: [project]
TASK [geerlingguy.drush : Ensure Drush can be installed on Debian Wheezy.] *****
skipping: [project]
TASK [geerlingguy.drush : Install Drush dependencies with Composer.] ***********
fatal: [project]: FAILED! => {"changed": true, "cmd": "/usr/bin/composer install --prefer-dist --no-interaction", "delta": "0:00:00.116993", "end": "2017-01-05 15:05:26.455792", "failed": true, "rc": 2, "start": "2017-01-05 15:05:26.338799", "stderr": "Do not run Composer as root/super user! See https://getcomposer.org/root for details\nLoading composer repositories with package information\nInstalling dependencies (including require-dev) from lock file\nYour requirements could not be resolved to an installable set of packages.\n\n Problem 1\n - Installation request for phpunit/phpunit 4.8.31 -> satisfiable by phpunit/phpunit[4.8.31].\n - phpunit/phpunit 4.8.31 requires ext-dom * -> the requested PHP extension dom is missing from your system.\n\n To enable extensions, verify that they are enabled in your .ini files:\n - /etc/php/7.1/cli/php.ini\n - /etc/php/7.1/cli/conf.d/10-opcache.ini\n - /etc/php/7.1/cli/conf.d/10-pdo.ini\n - /etc/php/7.1/cli/conf.d/20-apcu.ini\n - /etc/php/7.1/cli/conf.d/20-apcu_bc.ini\n - /etc/php/7.1/cli/conf.d/20-calendar.ini\n - /etc/php/7.1/cli/conf.d/20-ctype.ini\n - /etc/php/7.1/cli/conf.d/20-exif.ini\n - /etc/php/7.1/cli/conf.d/20-fileinfo.ini\n - /etc/php/7.1/cli/conf.d/20-ftp.ini\n - /etc/php/7.1/cli/conf.d/20-gettext.ini\n - /etc/php/7.1/cli/conf.d/20-iconv.ini\n - /etc/php/7.1/cli/conf.d/20-json.ini\n - /etc/php/7.1/cli/conf.d/20-phar.ini\n - /etc/php/7.1/cli/conf.d/20-posix.ini\n - /etc/php/7.1/cli/conf.d/20-readline.ini\n - /etc/php/7.1/cli/conf.d/20-shmop.ini\n - /etc/php/7.1/cli/conf.d/20-sockets.ini\n - /etc/php/7.1/cli/conf.d/20-sysvmsg.ini\n - /etc/php/7.1/cli/conf.d/20-sysvsem.ini\n - /etc/php/7.1/cli/conf.d/20-sysvshm.ini\n - /etc/php/7.1/cli/conf.d/20-tokenizer.ini\n - /etc/php/7.1/cli/conf.d/20-yaml.ini\n You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.", "stdout": "", "stdout_lines": [], "warnings": []}
RUNNING HANDLER [geerlingguy.firewall : restart firewall] **********************
RUNNING HANDLER [geerlingguy.apache : restart apache] **************************
RUNNING HANDLER [geerlingguy.mysql : restart mysql] ****************************
RUNNING HANDLER [geerlingguy.php : restart webserver] **************************
RUNNING HANDLER [geerlingguy.php : restart php-fpm] ****************************
to retry, use: --limit @/Users/amitvyas/Sites/devdesktop/nestle-acsf/box/provisioning/playbook.retry
PLAY RECAP *********************************************************************
project : ok=107 changed=45 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment