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
{"architecture":"amd64" | |
"author":"Bazel" | |
"created":"1970-01-01T00:00:00Z" | |
"history":[{"author":"Bazel" | |
"created":"1970-01-01T00:00:00Z" | |
"created_by":"bazel build ..."} | |
{"author":"Bazel" | |
"created":"1970-01-01T00:00:00Z" | |
"created_by":"bazel build ..."} | |
{"author":"Bazel" |
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
{"architecture":"amd64","author":"Bazel","created":"1970-01-01T00:00:00Z","history":[{"author":"Bazel","created":"1970-01-01T00:00:00Z","created_by":"bazel build ..."},{"author":"Bazel","created":"1970-01-01T00:00:00Z","created_by":"bazel build ..."},{"author":"Bazel","created":"1970-01-01T00:00:00Z","created_by":"bazel build ..."},{"author":"Bazel","created":"1970-01-01T00:00:00Z","created_by":"bazel build ..."}],"os":"linux","rootfs":{"type":"layers","diff_ids":["sha256:fd6fa224ea91b365084adc1a60d54aeffd6d260704f6855f626758d9ebeeba57","sha256:87c9f1582ca03da283323ba34b05457b5eb293f9a49de5337eb15898001bbb60","sha256:84a717239a36d26d25ed07f8c0aa84cb0f0b0e8276bbd1e5deac36273f9678cf","sha256:84ff92691f909a05b224e1c56abb4864f01b4f8e3c854e4bb4c7baf1d3f6d652"]},"config":{"Entrypoint":["/app/examples/bundles/helloworld/helloworld-img.binary"],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt"],"Labels":{"com.datadoghq.cnab-tools.base_image": |
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: Copy more junk files | |
copy: | |
src: "{{ item.src }}" | |
dest: "{{ item.dest }}" | |
mode: 0755 | |
with_items: | |
- { src: plan.dna, dest: /opt/software/bm10/jccop/jcrew/config } | |
- { src: foo.bar, dest: /opt/software/foo/bar } |
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
$ ./scripts/err.py -T | |
16:41:18 INFO __main__ Config check passed... | |
16:41:18 INFO __main__ Selected backend 'Text'. | |
16:41:18 INFO __main__ Checking for '/home/crewbot/crewbot/data'... | |
16:41:18 INFO errbot.backend_manager Backends search paths [u'/home/crewbot/errsrc/errbot/backends'] | |
16:41:18 INFO errbot.backend_manager Found those backends available: | |
16:41:18 INFO errbot.backend_manager Telegram (/home/crewbot/errsrc/errbot/backends/telegram.py) | |
16:41:18 INFO errbot.backend_manager Slack (/home/crewbot/errsrc/errbot/backends/slack.py) | |
16:41:18 INFO errbot.backend_manager XMPP (/home/crewbot/errsrc/errbot/backends/xmpp.py) | |
16:41:18 INFO errbot.backend_manager Text (/home/crewbot/errsrc/errbot/backends/text.py) |
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
#!/usr/bin/python | |
import urllib2 | |
import simplejson as json | |
class HipChat: | |
def __init__(self, auth): | |
self.auth = auth | |
self.baseurl = "https://api.hipchat.com/v2" | |
def Send(self, data, url): | |
headers = { 'Content-type':'application/json' } |
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
$ ansible-playbook -i hosts users.yml --check | |
Traceback (most recent call last): | |
File "/home/JC/admin.ju/git/ansible/bin/ansible-playbook", line 324, in <module> | |
sys.exit(main(sys.argv[1:])) | |
File "/home/JC/admin.ju/git/ansible/bin/ansible-playbook", line 210, in main | |
force_handlers=options.force_handlers, | |
File "/home/JC/admin.ju/git/ansible/lib/ansible/playbook/__init__.py", line 180, in __init__ | |
(self.playbook, self.play_basedirs) = self._load_playbook_from_file(playbook, vars) | |
File "/home/JC/admin.ju/git/ansible/lib/ansible/playbook/__init__.py", line 276, in _load_playbook_from_file | |
inc_vars, inc_path = self._get_include_info(play, basedir, play_vars) |
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
$ ansible-playbook -i inventory.txt site.yml --tags 'sudo' --limit 'webutl' -e 'target=*' | |
ERROR! no action detected in task | |
The error appears to have been in '/home/JC/admin.ju/git/jcscripts/ansible/roles/common/tasks/main.yml': line 1, column 3, but may | |
be elsewhere in the file depending on the exact syntax problem. | |
The offending line appears to be: | |
- name: Add all groups |
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
ok: [hostname] => (item=['user', None]) => { | |
"item": [ | |
"user", | |
null | |
], | |
"user": "user" | |
} |
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
# | |
# The MySQL database server configuration file. | |
# | |
# You can copy this to one of: | |
# - "/etc/mysql/my.cnf" to set global options, | |
# - "~/.my.cnf" to set user-specific options. | |
# | |
# One can use all long options that the program supports. | |
# Run program with --help to get a list of available options and with | |
# --print-defaults to see which it would actually understand and use. |
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
#!/bin/bash | |
sudo chgrp -R www-data /home/git/public_html/ | |
sudo chmod -R g+rx /home/git/public_html/ |
NewerOlder