Created
July 27, 2015 12:43
-
-
Save kaareal/79470fa19205a35fbc06 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
kaareal@Kaares-MacBook-Pro ~/c/ansible> make staging-nervecenter | |
Git codebase is up-to-date | |
ansible-playbook -f20 -i inventories/ec2-private --limit "tag_role_nervecenter:&tag_environment_staging" playbooks/full-stack.yml | |
PLAY [tag_role_redis] ********************************************************* | |
skipping: no hosts matched | |
PLAY [tag_role_redis-sentinel] ************************************************ | |
skipping: no hosts matched | |
PLAY [tag_role_cassandra] ***************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_mongo] ********************************************************* | |
skipping: no hosts matched | |
PLAY [tag_role_rabbitmq] ****************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_trends-elasticsearch] ****************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_elasticsearch-trends] ****************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_labs-elasticsearch] ******************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_elasticsearch:&tag_environment_staging] ************************ | |
skipping: no hosts matched | |
PLAY [tag_role_elasticsearch:&tag_environment_prod] *************************** | |
skipping: no hosts matched | |
PLAY [tag_role_elasticsearch-master:&tag_environment_prod] ******************** | |
skipping: no hosts matched | |
PLAY [tag_role_labs-bottlenose-api] ******************************************* | |
skipping: no hosts matched | |
PLAY [tag_role_bottlenose-api] ************************************************ | |
skipping: no hosts matched | |
PLAY [tag_role_nervecenter:&tag_environment_staging] ************************** | |
GATHERING FACTS *************************************************************** | |
ok: [10.66.11.157] | |
ok: [10.66.10.240] | |
TASK: [ssh-keys | Create .ssh directories] ************************************ | |
ok: [10.66.11.157] => (item={'owner': 'root', 'path': '/root/.ssh', 'group': 'root'}) | |
ok: [10.66.10.240] => (item={'owner': 'root', 'path': '/root/.ssh', 'group': 'root'}) | |
ok: [10.66.11.157] => (item={'owner': 'deploy', 'path': '/home/deploy/.ssh', 'group': 'admin'}) | |
ok: [10.66.10.240] => (item={'owner': 'deploy', 'path': '/home/deploy/.ssh', 'group': 'admin'}) | |
TASK: [ssh-keys | Set deploy SSH authorized_keys] ***************************** | |
ok: [10.66.10.240] => (item={'dest': '/home/deploy/.ssh/authorized_keys2', 'src': 'authorized_keys', 'group': 'admin', 'owner': 'deploy'}) | |
ok: [10.66.11.157] => (item={'dest': '/home/deploy/.ssh/authorized_keys2', 'src': 'authorized_keys', 'group': 'admin', 'owner': 'deploy'}) | |
ok: [10.66.10.240] => (item={'dest': '/home/deploy/.ssh/id_rsa', 'src': 'deploy_key', 'group': 'admin', 'owner': 'deploy'}) | |
ok: [10.66.11.157] => (item={'dest': '/home/deploy/.ssh/id_rsa', 'src': 'deploy_key', 'group': 'admin', 'owner': 'deploy'}) | |
ok: [10.66.11.157] => (item={'dest': '/home/deploy/.ssh/id_rsa.pub', 'src': 'deploy_key.pub', 'group': 'admin', 'owner': 'deploy'}) | |
ok: [10.66.10.240] => (item={'dest': '/home/deploy/.ssh/id_rsa.pub', 'src': 'deploy_key.pub', 'group': 'admin', 'owner': 'deploy'}) | |
TASK: [ec2-route53-hostname | Register prompt_only fact] ********************** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [ec2-route53-hostname | Determine hostname] ***************************** | |
changed: [10.66.10.240] | |
changed: [10.66.11.157] | |
TASK: [ec2-route53-hostname | set hostname] *********************************** | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [ec2-route53-hostname | set /etc/hostname] ****************************** | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [ec2-route53-hostname | restart new relic agent] ************************ | |
skipping: [10.66.11.157] | |
skipping: [10.66.10.240] | |
TASK: [ec2-route53-hostname | Install prompt that will include ec2 info] ****** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [ec2-route53-hostname | set prompt] ************************************* | |
ok: [10.66.10.240] => (item=/root/.profile) | |
ok: [10.66.11.157] => (item=/root/.profile) | |
ok: [10.66.10.240] => (item=/home/deploy/.profile) | |
ok: [10.66.11.157] => (item=/home/deploy/.profile) | |
TASK: [nodejs | Add keys for NodeSource] ************************************** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nodejs | add repo for nodesource] ************************************** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nodejs | Ensure the system can use the HTTPS transport for APT] ******** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nodejs | Install HTTPS transport for APT] ****************************** | |
skipping: [10.66.11.157] | |
skipping: [10.66.10.240] | |
TASK: [nodejs | Install NodeJS] *********************************************** | |
ok: [10.66.11.157] | |
ok: [10.66.10.240] | |
TASK: [nodejs | Install npm packages globally] ******************************** | |
skipping: [10.66.11.157] => (item=bunyan) | |
skipping: [10.66.10.240] => (item=bunyan) | |
skipping: [10.66.10.240] => (item=grunt) | |
skipping: [10.66.11.157] => (item=grunt) | |
skipping: [10.66.10.240] => (item=bower) | |
skipping: [10.66.11.157] => (item=bower) | |
TASK: [nodejs | link /usr/local/bin/node to /usr/bin/node] ******************** | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [repository | Hard reset repo] ****************************************** | |
changed: [10.66.11.157] | |
changed: [10.66.10.240] | |
TASK: [repository | Check out Bottlenose tree] ******************************** | |
ok: [10.66.10.240] | |
changed: [10.66.11.157] | |
TASK: [repository | Create log directory] ************************************* | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [repository | set npm repo] ********************************************* | |
changed: [10.66.10.240] | |
changed: [10.66.11.157] | |
TASK: [repository | Update npm] *********************************************** | |
skipping: [10.66.10.240] | |
changed: [10.66.11.157] | |
TASK: [repository | Link npm modules bin] ************************************* | |
skipping: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [repository | Remove old npm dependencies] ****************************** | |
skipping: [10.66.10.240] | |
changed: [10.66.11.157] | |
TASK: [nervecenter | Run bower] *********************************************** | |
skipping: [10.66.10.240] | |
changed: [10.66.11.157] | |
TASK: [nervecenter | Grunt bundle] ******************************************** | |
skipping: [10.66.10.240] | |
changed: [10.66.11.157] | |
TASK: [nervecenter | link apps/web/public-build apps/web/public-dist] ********* | |
skipping: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nervecenter | install newrelic.js] ************************************* | |
skipping: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nervecenter | install crontab - data-limit-notifications] ************** | |
skipping: [10.66.11.157] | |
ok: [10.66.10.240] | |
TASK: [nervecenter | install crontab - scheduler] ***************************** | |
skipping: [10.66.11.157] | |
ok: [10.66.10.240] | |
TASK: [nervecenter | Copy upstart config for nervecenter] ********************* | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nervecenter | Install mongodb-clients] ********************************* | |
ok: [10.66.11.157] | |
ok: [10.66.10.240] | |
TASK: [nervecenter | Load staging MongoDB fixtures] *************************** | |
skipping: [10.66.11.157] | |
changed: [10.66.10.240] | |
TASK: [nervecenter | Load prod MongoDB fixtures] ****************************** | |
skipping: [10.66.11.157] | |
skipping: [10.66.10.240] | |
TASK: [nervecenter | Stop bottlenose-nervecenter] ***************************** | |
changed: [10.66.10.240] => (item=3001) | |
changed: [10.66.11.157] => (item=3001) | |
changed: [10.66.10.240] => (item=3002) | |
changed: [10.66.11.157] => (item=3002) | |
TASK: [nervecenter | Start bottlenose-nervecenter] **************************** | |
changed: [10.66.10.240] => (item=3001) | |
changed: [10.66.11.157] => (item=3001) | |
changed: [10.66.10.240] => (item=3002) | |
changed: [10.66.11.157] => (item=3002) | |
TASK: [logrotate | Check for Logrotate] *************************************** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [logrotate | Move config files to server] ******************************* | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nginx-server | Ensure APT official nginx key] ************************** | |
skipping: [10.66.11.157] | |
skipping: [10.66.10.240] | |
TASK: [nginx-server | Ensure APT official nginx repository] ******************* | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Ensure RPM official nginx key] ************************** | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Ensure YUM official nginx repository] ******************* | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Install the selinux python module] ********************** | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Install the epel packages] ****************************** | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Install the nginx packages] ***************************** | |
skipping: [10.66.11.157] | |
skipping: [10.66.10.240] | |
TASK: [nginx-server | Install the nginx packages] ***************************** | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Install the nginx packages] ***************************** | |
ok: [10.66.11.157] => (item=python-selinux,nginx) | |
ok: [10.66.10.240] => (item=python-selinux,nginx) | |
TASK: [nginx-server | Disable the default site] ******************************* | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nginx-server | Remove the default configuration] *********************** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nginx-server | Find enabled sites] ************************************* | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Disable unmanaged sites] ******************************** | |
skipping: [10.66.10.240] => (item=enabled_sites.stdout_lines) | |
skipping: [10.66.11.157] => (item=enabled_sites.stdout_lines) | |
TASK: [nginx-server | Find config files] ************************************** | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Remove unmanaged config files] ************************** | |
skipping: [10.66.11.157] => (item=config_files.stdout_lines) | |
skipping: [10.66.10.240] => (item=config_files.stdout_lines) | |
TASK: [nginx-server | Remove unwanted sites] ********************************** | |
skipping: [10.66.11.157] | |
skipping: [10.66.10.240] | |
TASK: [nginx-server | Remove unwanted conf] *********************************** | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Remove unwanted auth_basic_files] *********************** | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Create the directories for site specific configurations] *** | |
ok: [10.66.10.240] => (item=sites-available) | |
ok: [10.66.11.157] => (item=sites-available) | |
ok: [10.66.10.240] => (item=sites-enabled) | |
ok: [10.66.11.157] => (item=sites-enabled) | |
ok: [10.66.10.240] => (item=auth_basic) | |
ok: [10.66.11.157] => (item=auth_basic) | |
ok: [10.66.10.240] => (item=conf.d) | |
ok: [10.66.11.157] => (item=conf.d) | |
TASK: [nginx-server | Ensure log directory exist] ***************************** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nginx-server | Copy the nginx configuration file] ********************** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nginx-server | Ensure auth_basic files created] ************************ | |
skipping: [10.66.10.240] | |
skipping: [10.66.11.157] | |
TASK: [nginx-server | Create the configurations for sites] ******************** | |
ok: [10.66.11.157] => (item=staging_bottlenose_com) | |
ok: [10.66.10.240] => (item=staging_bottlenose_com) | |
TASK: [nginx-server | Create links for sites-enabled] ************************* | |
ok: [10.66.10.240] => (item=staging_bottlenose_com) | |
ok: [10.66.11.157] => (item=staging_bottlenose_com) | |
TASK: [nginx-server | Create the configurations for independent config file] *** | |
ok: [10.66.10.240] => (item=gzip) | |
ok: [10.66.11.157] => (item=gzip) | |
ok: [10.66.10.240] => (item=proxy) | |
ok: [10.66.11.157] => (item=proxy) | |
ok: [10.66.10.240] => (item=upstream) | |
ok: [10.66.11.157] => (item=upstream) | |
TASK: [nginx-server | Check nginx syntax of configuration files] ************** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
TASK: [nginx-server | Start the nginx service] ******************************** | |
ok: [10.66.10.240] | |
ok: [10.66.11.157] | |
PLAY [tag_role_nervecenter:&tag_environment_prod] ***************************** | |
skipping: no hosts matched | |
PLAY [tag_role_pipeline] ****************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_connector] ***************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_detector] ****************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_anticipate] **************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_demographics_db_build] ***************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_demographics] ************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_kong_db] ******************************************************* | |
skipping: no hosts matched | |
PLAY [tag_role_kong:&tag_environment_staging] ********************************* | |
skipping: no hosts matched | |
PLAY [tag_role_ethnicity] ***************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_links] ********************************************************* | |
skipping: no hosts matched | |
PLAY [tag_role_geo] *********************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_sentiment] ***************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_psych] ********************************************************* | |
skipping: no hosts matched | |
PLAY [tag_role_pipeline-ingest] *********************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_replicator] **************************************************** | |
skipping: no hosts matched | |
PLAY [tag_role_hydrant] ******************************************************* | |
skipping: no hosts matched | |
PLAY RECAP ******************************************************************** | |
10.66.10.240 : ok=38 changed=6 unreachable=0 failed=0 | |
10.66.11.157 : ok=42 changed=10 unreachable=0 failed=0 | |
Cool! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment