aboutsummaryrefslogtreecommitdiff
path: root/ansible/library/merge_configs.py
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake1-51/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2015-12-22Simplify config creationSamYaple1-46/+0
Convert config creation from a playbook to an action_plugin. This reduces the complexity and confusion while retaining the same augment structure and flexibility. This allows us to remove the 0-byte files as requirements. They will still be used if they are present (this means we require additional documentation around them). DocImpact Closes-Bug: #1528430 Change-Id: I2c789f6be9f195c7771ca093a6d59499564b4740
2015-09-01Expose exception objects via the as keywordHengqing Hu1-1/+1
According to Python 3 Porting guide http://docs.pythonsprints.com/python3_porting/py-porting.html Exceptions were changed in a few ways for Python 3. First, strings are no longer usable as exceptions. Additionally, the raise syntax no longer accepts comma-separated arguments, instead working with exception instances. Perhaps the largest difference in Python 3 is that exception objects are only available via the as keyword, which was introduced in 2.6. Change-Id: Ide665ecc4b7f14bd58bafab47e05a86a4cf2d141 Closes-Bug: #1490526
2015-07-27Removes hashing from merge_configs.pySam Yaple1-8/+9
There is no benefit to hashing in merge_configs.py In fact, the opposite is true, hashes can collide. This does a direct compare rather than hash. Change-Id: I9ab7af13e813e2267984092027daf1658faf5bf3 Closes-Bug: #1478494
2015-07-12Add temporary Ansible keystone modulesSam Yaple1-0/+96
Due to the licensing issues and the modules not existing in upstream Ansible yet, I have written a simple module to fill the gaps. This also uses Keystone v2.0 for all create of users, roles and endpoints. The implementation of Keystone v3 must be discussed after the new modules arrive. Partially-Implements: blueprint ansible-service Change-Id: I389edd56741360dd26fbbc0a982f365ca27ff446