Skip to content

Instantly share code, notes, and snippets.

@cdbeard
Created June 28, 2019 15:20
Show Gist options
  • Save cdbeard/efb2b96b4cfb89057c4d44395e4a90c5 to your computer and use it in GitHub Desktop.
Save cdbeard/efb2b96b4cfb89057c4d44395e4a90c5 to your computer and use it in GitHub Desktop.
oucs0162@nsms-cthulhu  ~/Documents/drupal_vms/mediapub_local-4   master  composer docker-bake
> ./provisioning/docker/bake.sh
Bringing up Docker container...
Unable to find image 'geerlingguy/docker-ubuntu1804-ansible:latest' locally
latest: Pulling from geerlingguy/docker-ubuntu1804-ansible
6abc03819f3e: Pulling fs layer
05731e63f211: Pulling fs layer
0bd67c50d6be: Pulling fs layer
008c620aa53e: Pulling fs layer
e9ad16fa314d: Pulling fs layer
8ced73e0354f: Pulling fs layer
3c86c080917d: Pulling fs layer
caa41c38a03a: Pulling fs layer
a713137ef19c: Pulling fs layer
7ebc2b6d82cb: Pulling fs layer
8ced73e0354f: Waiting
3c86c080917d: Waiting
caa41c38a03a: Waiting
a713137ef19c: Waiting
7ebc2b6d82cb: Waiting
008c620aa53e: Waiting
e9ad16fa314d: Waiting
0bd67c50d6be: Verifying Checksum
0bd67c50d6be: Download complete
05731e63f211: Verifying Checksum
05731e63f211: Download complete
e9ad16fa314d: Verifying Checksum
e9ad16fa314d: Download complete
6abc03819f3e: Download complete
3c86c080917d: Verifying Checksum
3c86c080917d: Download complete
caa41c38a03a: Verifying Checksum
caa41c38a03a: Download complete
a713137ef19c: Verifying Checksum
a713137ef19c: Download complete
7ebc2b6d82cb: Verifying Checksum
7ebc2b6d82cb: Download complete
8ced73e0354f: Verifying Checksum
8ced73e0354f: Download complete
6abc03819f3e: Pull complete
008c620aa53e: Verifying Checksum
008c620aa53e: Download complete
05731e63f211: Pull complete
0bd67c50d6be: Pull complete
008c620aa53e: Pull complete
e9ad16fa314d: Pull complete
8ced73e0354f: Pull complete
3c86c080917d: Pull complete
caa41c38a03a: Pull complete
a713137ef19c: Pull complete
7ebc2b6d82cb: Pull complete
Digest: sha256:03eacbde31bacea5b5246e85869f311966e24d84722cb574c8b8e019411f3e1b
Status: Downloaded newer image for geerlingguy/docker-ubuntu1804-ansible:latest
f12234b008cc393a3677bd83631cfd34ae6f7d85b94cd9393516764517664c22
Running setup playbook...
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [Update apt cache.] *******************************************************
[WARNING]: Updating cache and auto-installing missing dependency: python-apt
[WARNING]: Could not find aptitude. Using apt-get instead
ok: [localhost]
TASK [Install test dependencies (RedHat).] *************************************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
Provisioning Drupal VM inside Docker container...
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [Include OS-specific variables.] ******************************************
ok: [localhost]
TASK [Define config_dir.] ******************************************************
ok: [localhost]
TASK [Include optional configuration files.] ***********************************
ok: [localhost] => (item=/var/www/drupalvm/config.yml)
TASK [Configure toggle vars for Debian/Ubuntu.] ********************************
ok: [localhost]
TASK [Configure toggle vars for CentOS.] ***************************************
skipping: [localhost]
TASK [Ensure Apache is stopped and disabled if Nginx is used.] *****************
skipping: [localhost]
TASK [Ensure Nginx is stopped and disabled if Apache is used.] *****************
ok: [localhost]
TASK [Ensure MySQL is stopped and disabled if Postgres is used.] ***************
skipping: [localhost]
TASK [Ensure Postgres is stopped and disabled if MySQL is used.] ***************
ok: [localhost]
TASK [nginx_hosts shim] ********************************************************
ok: [localhost]
TASK [include_tasks] ***********************************************************
included: /var/www/drupalvm/provisioning/tasks/init-Debian.yml for localhost
TASK [Update apt cache if needed.] *********************************************
[WARNING]: Could not find aptitude. Using apt-get instead
ok: [localhost]
TASK [Install required dependencies.] ******************************************
changed: [localhost]
TASK [Add repository for Apache 2.4.9+ (Ubuntu 12/14).] ************************
skipping: [localhost]
TASK [Define php_xhprof_html_dir.] *********************************************
skipping: [localhost]
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: [localhost]
TASK [Ensure PHP version-specific workspace directory exists.] *****************
changed: [localhost]
TASK [geerlingguy.repo-remi : Install remi repo.] ******************************
skipping: [localhost]
TASK [geerlingguy.repo-remi : Import remi GPG key.] ****************************
skipping: [localhost]
TASK [drupalvm.hostname : Configure /etc/mailname (Debian).] *******************
[DEPRECATION WARNING]: evaluating hostname_configure as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [drupalvm.hostname : Add hostname to /etc/hosts.] *************************
[DEPRECATION WARNING]: evaluating hostname_configure as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [drupalvm.hostname : Configure hostname.] *********************************
[DEPRECATION WARNING]: evaluating hostname_configure as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [drupalvm.hostname : Set the hostname for current session.] ***************
[DEPRECATION WARNING]: evaluating hostname_configure as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [geerlingguy.firewall : Ensure iptables is present.] **********************
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [geerlingguy.firewall : Flush iptables the first time playbook runs.] *****
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [geerlingguy.firewall : Copy firewall script into place.] *****************
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [geerlingguy.firewall : Copy firewall init script into place.] ************
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost]
TASK [geerlingguy.firewall : Copy firewall systemd unit file into place (for systemd systems).] ***
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [geerlingguy.firewall : Configure the firewall service.] ******************
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/bin/systemctl", "msg": "Failed to connect to bus: No such file or directory", "rc": 1, "stderr": "Failed to connect to bus: No such file or directory\n", "stderr_lines": ["Failed to connect to bus: No such file or directory"], "stdout": "", "stdout_lines": []}
RUNNING HANDLER [geerlingguy.firewall : restart firewall] **********************
PLAY RECAP *********************************************************************
localhost : ok=20 changed=10 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0
Script ./provisioning/docker/bake.sh handling the docker-bake event returned with error code 2
✘ oucs0162@nsms-cthulhu  ~/Documents/drupal_vms/mediapub_local-4   master  composer docker-bake
> ./provisioning/docker/bake.sh
Bringing up Docker container...
docker: Error response from daemon: Conflict. The container name "/drupal-vm" is already in use by container "f12234b008cc393a3677bd83631cfd34ae6f7d85b94cd9393516764517664c22". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
Script ./provisioning/docker/bake.sh handling the docker-bake event returned with error code 125
✘ oucs0162@nsms-cthulhu  ~/Documents/drupal_vms/mediapub_local-4   master  composer docker-bake
> ./provisioning/docker/bake.sh
Bringing up Docker container...
11b91ab28cf82e0dbf4b5743cc7b4ae65e76d2d80ed96abe17b313025839fea8
Running setup playbook...
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [Update apt cache.] *******************************************************
[WARNING]: Updating cache and auto-installing missing dependency: python-apt
[WARNING]: Could not find aptitude. Using apt-get instead
ok: [localhost]
TASK [Install test dependencies (RedHat).] *************************************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
Provisioning Drupal VM inside Docker container...
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [Include OS-specific variables.] ******************************************
ok: [localhost]
TASK [Define config_dir.] ******************************************************
ok: [localhost]
TASK [Include optional configuration files.] ***********************************
ok: [localhost] => (item=/var/www/drupalvm/config.yml)
TASK [Configure toggle vars for Debian/Ubuntu.] ********************************
ok: [localhost]
TASK [Configure toggle vars for CentOS.] ***************************************
skipping: [localhost]
TASK [Ensure Apache is stopped and disabled if Nginx is used.] *****************
skipping: [localhost]
TASK [Ensure Nginx is stopped and disabled if Apache is used.] *****************
ok: [localhost]
TASK [Ensure MySQL is stopped and disabled if Postgres is used.] ***************
skipping: [localhost]
TASK [Ensure Postgres is stopped and disabled if MySQL is used.] ***************
ok: [localhost]
TASK [nginx_hosts shim] ********************************************************
ok: [localhost]
TASK [include_tasks] ***********************************************************
included: /var/www/drupalvm/provisioning/tasks/init-Debian.yml for localhost
TASK [Update apt cache if needed.] *********************************************
[WARNING]: Could not find aptitude. Using apt-get instead
ok: [localhost]
TASK [Install required dependencies.] ******************************************
changed: [localhost]
TASK [Add repository for Apache 2.4.9+ (Ubuntu 12/14).] ************************
skipping: [localhost]
TASK [Define php_xhprof_html_dir.] *********************************************
skipping: [localhost]
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: [localhost]
TASK [Ensure PHP version-specific workspace directory exists.] *****************
changed: [localhost]
TASK [geerlingguy.repo-remi : Install remi repo.] ******************************
skipping: [localhost]
TASK [geerlingguy.repo-remi : Import remi GPG key.] ****************************
skipping: [localhost]
TASK [drupalvm.hostname : Configure /etc/mailname (Debian).] *******************
[DEPRECATION WARNING]: evaluating hostname_configure as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [drupalvm.hostname : Add hostname to /etc/hosts.] *************************
[DEPRECATION WARNING]: evaluating hostname_configure as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [drupalvm.hostname : Configure hostname.] *********************************
[DEPRECATION WARNING]: evaluating hostname_configure as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [drupalvm.hostname : Set the hostname for current session.] ***************
[DEPRECATION WARNING]: evaluating hostname_configure as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [geerlingguy.firewall : Ensure iptables is present.] **********************
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [geerlingguy.firewall : Flush iptables the first time playbook runs.] *****
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [geerlingguy.firewall : Copy firewall script into place.] *****************
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [geerlingguy.firewall : Copy firewall init script into place.] ************
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost]
TASK [geerlingguy.firewall : Copy firewall systemd unit file into place (for systemd systems).] ***
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
changed: [localhost]
TASK [geerlingguy.firewall : Configure the firewall service.] ******************
[DEPRECATION WARNING]: evaluating firewall_enabled as a bare variable, this
behaviour will go away and you might need to add |bool to the expression in the
future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature
will be removed in version 2.12. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/bin/systemctl", "msg": "Failed to connect to bus: No such file or directory", "rc": 1, "stderr": "Failed to connect to bus: No such file or directory\n", "stderr_lines": ["Failed to connect to bus: No such file or directory"], "stdout": "", "stdout_lines": []}
RUNNING HANDLER [geerlingguy.firewall : restart firewall] **********************
PLAY RECAP *********************************************************************
localhost : ok=20 changed=10 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0
Script ./provisioning/docker/bake.sh handling the docker-bake event returned with error code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment