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 sys | |
import os | |
import optparse | |
import getpass | |
import re | |
import xml.dom.minidom | |
try: | |
import jenkinsapi.jenkins |
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/env python | |
import sys | |
import argparse | |
from ovirtsdk.api import API | |
from ovirtsdk.xml import params | |
# Base object | |
# ================================================= | |
class Cmd_Base(object): |
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/env python | |
# parse API get requests from CFME automate | |
# requires: | |
# * python 'bottle' | |
# * port 8080 open | |
# example: curl -X PUT http://localhost:8080/events/redhat/vm?event=power_on_vm | |
import os | |
import sys |
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/env python | |
import json | |
import os | |
import yum | |
def main(): | |
module = AnsibleModule( | |
argument_spec = dict( | |
yum_conf=dict(required=False, |
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
[local] | |
127.0.0.1 ansible_connection=local |
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
--- library/cloud/ec2 2013-11-01 07:44:09.000000000 -0400 | |
+++ library/cloud/ec2 2013-11-01 08:40:04.000000000 -0400 | |
@@ -34,6 +34,12 @@ | |
required: false | |
default: null | |
aliases: [] | |
+ idempotency_attribute: | |
+ description: | |
+ - Specify an alternative attribute to enforce idempotency. | |
+ required: false |
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 py | |
import pytest | |
''' | |
Automatically xfail remaining tests if previous test failed. Tests will | |
continue to run if: | |
* the result is skip | |
* the result is xfail | |
* the test is marked as nondestructive |
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
diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy | |
index 7593181..1d99c4c 100755 | |
--- a/bin/ansible-galaxy | |
+++ b/bin/ansible-galaxy | |
@@ -445,6 +445,7 @@ def execute_init(args, options): | |
init_path = get_opt(options, 'init_path', './') | |
api_server = get_opt(options, "api_server", "galaxy.ansibleworks.com") | |
force = get_opt(options, 'force', False) | |
+ ROLE_DIRS = ('defaults','files','handlers','meta','tasks','templates','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
#!/usr/bin/env python | |
import sys | |
import requests | |
import StringIO | |
from ConfigParser import SafeConfigParser, RawConfigParser, ConfigParser | |
user = 'FIXME' | |
password = 'FIXME' | |
base_url = 'http://50.116.42.103/' |
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
--- | |
skip_delete: True |
OlderNewer