-
-
Save soda736/084ce5fef3d324bc0dd0a10a77990b42 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
➜ pfm-vagrant git:(main) ✗ vagrant provision | |
==> plaformoriginal: [vagrant-hostsupdater] Checking for host entries | |
==> plaformoriginal: [vagrant-hostsupdater] found entry for: 192.168.56.20 platformoriginal.test | |
==> plaformoriginal: [vagrant-hostsupdater] found entry for: 192.168.56.20 nidirect.site | |
==> plaformoriginal: [vagrant-hostsupdater] found entry for: 192.168.56.20 www.nidirect.site | |
==> plaformoriginal: [vagrant-hostsupdater] found entry for: 192.168.56.20 adminer.platformoriginal.test | |
==> plaformoriginal: [vagrant-hostsupdater] found entry for: 192.168.56.20 xhprof.platformoriginal.test | |
==> plaformoriginal: [vagrant-hostsupdater] found entry for: 192.168.56.20 pimpmylog.platformoriginal.test | |
==> plaformoriginal: [vagrant-hostsupdater] found entry for: 192.168.56.20 dashboard.platformoriginal.test | |
==> plaformoriginal: Configuring cache buckets... | |
==> plaformoriginal: Running provisioner: drupalvm (ansible)... | |
plaformoriginal: Running ansible-playbook... | |
PLAY [all] ********************************************************************* | |
TASK [Gathering Facts] ********************************************************* | |
[DEPRECATION WARNING]: Distribution Ubuntu 18.04 on host plaformoriginal should | |
use /usr/bin/python3, but is using /usr/bin/python for backward compatibility | |
with prior Ansible releases. A future Ansible release will default to using the | |
discovered platform python for this host. See https://docs.ansible.com/ansible | |
/2.10/reference_appendices/interpreter_discovery.html for more information. | |
This feature will be removed in version 2.12. Deprecation warnings can be | |
disabled by setting deprecation_warnings=False in ansible.cfg. | |
ok: [plaformoriginal] | |
TASK [Include OS-specific variables.] ****************************************** | |
ok: [plaformoriginal] | |
TASK [Define config_dir.] ****************************************************** | |
skipping: [plaformoriginal] | |
TASK [Include optional configuration files.] *********************************** | |
ok: [plaformoriginal] => (item=/Users/dsswebdev06/Projects/pfm-vagrant/config.yml) | |
TASK [Configure toggle vars for Debian/Ubuntu.] ******************************** | |
ok: [plaformoriginal] | |
TASK [Configure toggle vars for CentOS.] *************************************** | |
skipping: [plaformoriginal] | |
TASK [Ensure Apache is stopped and disabled if Nginx is used.] ***************** | |
skipping: [plaformoriginal] | |
TASK [Ensure Nginx is stopped and disabled if Apache is used.] ***************** | |
ok: [plaformoriginal] | |
TASK [Ensure MySQL is stopped and disabled if Postgres is used.] *************** | |
skipping: [plaformoriginal] | |
TASK [Ensure Postgres is stopped and disabled if MySQL is used.] *************** | |
ok: [plaformoriginal] | |
TASK [nginx_hosts shim] ******************************************************** | |
ok: [plaformoriginal] | |
TASK [include_tasks] *********************************************************** | |
included: /Users/dsswebdev06/Projects/pfm-vagrant/provisioning/tasks/init-Debian.yml for plaformoriginal | |
TASK [Update apt cache if needed.] ********************************************* | |
ok: [plaformoriginal] | |
TASK [Install required dependencies.] ****************************************** | |
ok: [plaformoriginal] | |
TASK [Add repository for Apache 2.4.9+ (Ubuntu 12/14).] ************************ | |
skipping: [plaformoriginal] | |
TASK [Define php_xhprof_html_dir.] ********************************************* | |
skipping: [plaformoriginal] | |
TASK [Run configured pre-provision shell scripts.] ***************************** | |
TASK [Run configured pre-provision ansible task files.] ************************ | |
TASK [Set the PHP webserver daemon correctly when nginx is in use.] ************ | |
skipping: [plaformoriginal] | |
TASK [Ensure PHP version-specific workspace directory exists.] ***************** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.repo-remi : Install remi repo.] ****************************** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.repo-remi : Import remi GPG key.] **************************** | |
skipping: [plaformoriginal] | |
TASK [drupalvm.hostname : Configure /etc/mailname (Debian).] ******************* | |
ok: [plaformoriginal] | |
TASK [drupalvm.hostname : Add hostname to /etc/hosts.] ************************* | |
ok: [plaformoriginal] | |
TASK [drupalvm.hostname : Configure hostname.] ********************************* | |
ok: [plaformoriginal] | |
TASK [drupalvm.hostname : Set the hostname for current session.] *************** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.firewall : Ensure iptables is present.] ********************** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.firewall : Flush iptables the first time playbook runs.] ***** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.firewall : Copy firewall script into place.] ***************** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.firewall : Copy firewall init script into place.] ************ | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.firewall : Copy firewall systemd unit file into place (for systemd systems).] *** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.firewall : Configure the firewall service.] ****************** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.firewall : Check if firewalld package is installed (on RHEL).] *** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.firewall : Disable the firewalld service (on RHEL, if configured).] *** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.firewall : Check if ufw package is installed (on Ubuntu).] *** | |
fatal: [plaformoriginal]: FAILED! => {"changed": false, "cmd": ["service", "ufw", "status"], "delta": "0:00:00.017932", "end": "2022-11-17 15:23:15.146212", "msg": "non-zero return code", "rc": 3, "start": "2022-11-17 15:23:15.128280", "stderr": "", "stderr_lines": [], "stdout": "* ufw.service - Uncomplicated firewall\n Loaded: loaded (/lib/systemd/system/ufw.service; disabled; vendor preset: enabled)\n Active: inactive (dead)\n Docs: man:ufw(8)", "stdout_lines": ["* ufw.service - Uncomplicated firewall", " Loaded: loaded (/lib/systemd/system/ufw.service; disabled; vendor preset: enabled)", " Active: inactive (dead)", " Docs: man:ufw(8)"]} | |
...ignoring | |
TASK [geerlingguy.firewall : Disable the ufw firewall (on Ubuntu, if configured).] *** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.firewall : Check if ufw package is installed (on Archlinux).] *** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.firewall : Disable the ufw firewall (on Archlinux, if configured).] *** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Ensure git is installed (RedHat).] ********************* | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Update apt cache (Debian).] **************************** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.git : Ensure git is installed (Debian).] ********************* | |
ok: [plaformoriginal] | |
TASK [geerlingguy.git : Include OS-specific variables (RedHat).] *************** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Include OS-specific variables (Fedora).] *************** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Include OS-specific variables (Debian).] *************** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Define git_install_from_source_dependencies.] ********** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Ensure git's dependencies are installed.] ************** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Get installed version.] ******************************** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Force git install if the version numbers do not match.] *** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Download git.] ***************************************** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Expand git archive.] *********************************** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.git : Build git.] ******************************************** | |
skipping: [plaformoriginal] => (item=all) | |
skipping: [plaformoriginal] => (item=install) | |
TASK [geerlingguy.postfix : Ensure postfix is installed.] ********************** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.postfix : Update Postfix configuration.] ********************* | |
ok: [plaformoriginal] => (item={'name': 'inet_interfaces', 'value': 'localhost'}) | |
ok: [plaformoriginal] => (item={'name': 'inet_protocols', 'value': 'all'}) | |
TASK [geerlingguy.postfix : Ensure postfix is started and enabled at boot.] **** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.apache : Include OS-specific variables.] ********************* | |
ok: [plaformoriginal] | |
TASK [geerlingguy.apache : Include variables for Amazon Linux.] **************** | |
skipping: [plaformoriginal] | |
TASK [geerlingguy.apache : Define apache_packages.] **************************** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.apache : include_tasks] ************************************** | |
included: /Users/dsswebdev06/Projects/pfm-vagrant/provisioning/roles/geerlingguy.apache/tasks/setup-Debian.yml for plaformoriginal | |
TASK [geerlingguy.apache : Update apt cache.] ********************************** | |
ok: [plaformoriginal] | |
TASK [geerlingguy.apache : Ensure Apache is installed on Debian.] ************** | |
fatal: [plaformoriginal]: FAILED! => {"cache_update_time": 1668698290, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'apache2' 'apache2-utils'' failed: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)\nE: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?\n", "rc": 100, "stderr": "E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)\nE: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?\n", "stderr_lines": ["E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)", "E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?"], "stdout": "", "stdout_lines": []} | |
PLAY RECAP ********************************************************************* | |
plaformoriginal : ok=29 changed=0 unreachable=0 failed=1 skipped=30 rescued=0 ignored=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