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
use ara; | |
DELETE FROM task_results WHERE task_id IN (SELECT id FROM tasks WHERE file_id IN (SELECT id FROM files WHERE playbook_id='e2d47b03-31b7-4665-b9c8-ae7a9b987fed')) | |
DELETE FROM tasks WHERE file_id IN (SELECT id FROM files WHERE playbook_id='e2d47b03-31b7-4665-b9c8-ae7a9b987fed') | |
DELETE FROM files WHERE playbook_id='e2d47b03-31b7-4665-b9c8-ae7a9b987fed' | |
DELETE FROM hosts WHERE playbook_id='e2d47b03-31b7-4665-b9c8-ae7a9b987fed' |
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
- name: deploy SSH keys from topology to boxes | |
hosts: all | |
gather_facts: false | |
vars: | |
ssh_keys: "{{ lookup('file', '../envs/keys.yaml') | from_yaml }}" | |
tasks: | |
- authorized_key: | |
user: "{{ ansible_user }}" | |
key: "{{ item.kind }} {{ item.value }} {{ item.user }}@godaddy.com" | |
with_items: "{{ ssh_keys }}" |
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
[2018-03-14 00:45:50,922] ERROR in app: Exception on /reports/ajax/results/e2d47b03-31b7-4665-b9c8-ae7a9b987fed.txt [GET] | |
Traceback (most recent call last): | |
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app | |
response = self.full_dispatch_request() | |
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request | |
rv = self.handle_user_exception(e) | |
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception | |
reraise(exc_type, exc_value, tb) | |
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request | |
rv = self.dispatch_request() |
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
[2018-03-13 19:44:54,165] ERROR in app: Exception on /reports/ajax/results/75f074c9-1622-45c5-906b-81f95b49523f.txt [GET] | |
Traceback (most recent call last): | |
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app | |
response = self.full_dispatch_request() | |
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request | |
rv = self.handle_user_exception(e) | |
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception | |
reraise(exc_type, exc_value, tb) | |
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request | |
rv = self.dispatch_request() |
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
- hosts: all | |
tasks: | |
- debug: | |
msg: "{{ item.name }}" | |
with_items: | |
- name: 'b' | |
password: 'e' | |
loop_control: | |
label: "{{ item.name }}" |
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
PLAY [all] ************************************************************************************************************************************************************************************* | |
TASK [Gathering Facts] ************************************************************************************************************************************************************************* | |
ok: [n3plpubcldmap01.prod.ams3.gdg] | |
TASK [debug] *********************************************************************************************************************************************************************************** | |
ok: [n3plpubcldmap01.prod.ams3.gdg] => (item=b) => { | |
"changed": false, | |
"item": { | |
"name": "b", |
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
using docker==3.0 | |
DEBUG:urllib3.connectionpool:http://localhost:None "POST /v1.35/images/create?tag=glance.15.0.1.g06af2eb5abe0.j27&fromImage=docker-cloud-ostack-local.artifactory.secureserver.net%2Fcentos-source-glance-api%3Aglance.15.0.1.g06af2eb5abe0.j27 HTTP/1.1" 200 None | |
u'{"status":"Pulling repository docker-cloud-ostack-local.artifactory.secureserver.net/centos-source-glance-api"}\r\n{"errorDetail":{"message":"Error: image centos-source-glance-api:glance.15.0.1.g06af2eb5abe0.j27 not found"},"error":"Error: image centos-source-glance-api:glance.15.0.1.g06af2eb5abe0.j27 not found"}\r\n' | |
using docker==2.7.0 | |
>>> dc.pull(repository="docker-cloud-ostack-local.artifactory.secureserver.net/centos-source-glance-api:glance.15.0.1.g06af2eb5abe0.j27", tag="glance.15.0.1.g06af2eb5abe0.j27") | |
DEBUG:docker.auth:Looking for auth config | |
DEBUG:docker.auth:Looking for auth entry for 'docker-cloud-ostack-local.artifactory.secureserver.net' |
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
{ | |
"_meta": { | |
"hostvars": { | |
"p3slcldlab01-01.prod.phx3.gdg": { | |
"ansible_host": "....." | |
} | |
} | |
}, | |
"all": { | |
"children": [], |
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
import logging | |
import pkg_resources | |
from daddy import channel as c | |
from daddy import handler | |
from daddy import matchers | |
from daddy import trigger | |
LOG = logging.getLogger(__name__) |
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
import logging | |
import pkg_resources | |
from daddy import channel as c | |
from daddy import handler | |
from daddy import matchers | |
from daddy import trigger | |
LOG = logging.getLogger(__name__) |