Skip to content

Instantly share code, notes, and snippets.

@BrunoChauvet
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrunoChauvet/2e480266bea65cf3ac82 to your computer and use it in GitHub Desktop.
Save BrunoChauvet/2e480266bea65cf3ac82 to your computer and use it in GitHub Desktop.
Ansible run playbook output
Sending build context to Docker daemon 114.7 kB
Sending build context to Docker daemon
Step 0 : FROM debian:latest
---> b3d362b23ec1
Step 1 : MAINTAINER Maestrano <it@maestrano.com>
---> Using cache
---> 8317bc146e4a
Step 2 : ADD ansible/playbooks/ /etc/ansible/playbooks/
---> Using cache
---> 33a2d88284cb
Step 3 : ADD ansible/templates/ /etc/ansible/templates/
---> Using cache
---> 9b8c7650637c
Step 4 : ADD ansible/var/ /etc/ansible/var/
---> Using cache
---> 2425616961ef
Step 5 : ADD ansible/var/settings.yml /etc/ansible/var/settings.yml
---> Using cache
---> 13512474e1e0
Step 6 : ADD ansible/hosts /etc/ansible/hosts
---> 6f7bcd12a6d0
Removing intermediate container 47254f7d1e40
Step 7 : WORKDIR /etc/ansible
---> Running in cf8e4499c7e3
---> fc803bab5533
Removing intermediate container cf8e4499c7e3
Step 8 : RUN apt-get -y update && apt-get -y upgrade && apt-get -q -y --no-install-recommends install python-yaml python-jinja2 python-httplib2 python-keyczar python-paramiko python-setuptools python-pkg-resources git python-pip && mkdir -p /etc/ansible/ && pip install ansible && ansible-playbook /etc/ansible/playbooks/mysql.yml -c local && ansible-playbook /etc/ansible/playbooks/apache.yml -c local && ansible-playbook /etc/ansible/playbooks/install_vtiger6.yml -c local && apt-get clean purge --auto-remove -y python2.6 python2.6-minimal && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
---> Running in 77e2c217172a
# Packages installation logs removed
Successfully installed ansible
Cleaning up...
PLAY [MySQL Installation] *****************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [General | Install MySQL packages] **************************************
changed: [localhost] => (item=mysql-server-5.5,mysql-client-5.5,libmysqlclient-dev,python-mysqldb)
TASK: [MySQL | Configuration file /etc/mysql/my.cnf] **************************
changed: [localhost]
TASK: [MySQL | Configuration file /root/.my.cnf] ******************************
changed: [localhost]
TASK: [MySQL | Start the MySQL service] ***************************************
changed: [localhost]
TASK: [MySQL | Auto start the MySQL service] **********************************
ok: [localhost]
TASK: [MySQL | Update mysql root password for all root accounts] **************
changed: [localhost] => (item=server_hostname)
changed: [localhost] => (item=127.0.0.1)
changed: [localhost] => (item=::1)
changed: [localhost] => (item=localhost)
TASK: [MySQL | Remove the MySQL test database] ********************************
ok: [localhost]
PLAY RECAP ********************************************************************
localhost : ok=8 changed=5 unreachable=0 failed=0
PLAY [Apache Installation] ****************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [General | Install Apache packages] *************************************
changed: [localhost] => (item=php5,apache2,php5-mysql,php-apc,php5-xmlrpc,php-soap,php5-gd,php5-curl,sendmail,unzip)
TASK: [Apache | Enable php modules] *******************************************
ok: [localhost] => (item=php5)
changed: [localhost] => (item=proxy)
changed: [localhost] => (item=proxy_http)
changed: [localhost] => (item=headers)
changed: [localhost] => (item=rewrite)
ok: [localhost] => (item=dir)
TASK: [Apache | Remove default site] ******************************************
changed: [localhost]
TASK: [Apache | Configuration file /etc/php5/apache2/php.ini] *****************
changed: [localhost]
TASK: [Apache | Start the Apache service] *************************************
changed: [localhost]
TASK: [Apache | Auto start the Apache service] ********************************
ok: [localhost]
PLAY RECAP ********************************************************************
localhost : ok=7 changed=5 unreachable=0 failed=0
---> 9caacd2d9353
Removing intermediate container 77e2c217172a
Step 9 : EXPOSE 22 80
---> Running in 46a9c449823d
---> 80b034ea51da
Removing intermediate container 46a9c449823d
Step 10 : RUN echo "#!/bin/bash\n/etc/init.d/mysql start\n/etc/init.d/apache2 start\n/bin/bash" > /root/init.sh && chmod 755 /root/init.sh
---> Running in fe2a54f8f1f0
---> 8f917a6dd7ef
Removing intermediate container fe2a54f8f1f0
Step 11 : ENTRYPOINT /root/init.sh
---> Running in 5e327abe3be9
---> 5bfbb86208af
Removing intermediate container 5e327abe3be9
Successfully built 5bfbb86208af
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment