aboutsummaryrefslogtreecommitdiff
path: root/ansible/action_plugins
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake2-192/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-10-20Ansible2.0 changes: ansible_ssh_user to ansible_userzeyu Zhu2-2/+2
Ansible 2.0 has deprecated the 'ssh' from ansible_ssh_user to become ansible_user. Change-Id: I15813f638accaa6a31f75dad0b854814264ac493 Closes-Bug: #1635145
2016-09-26Fix merge_configs.py file when not provide vars parameterJeffrey Zhang1-2/+2
Use dict.pop(key, None) instead of del dict[key]. dict.pop will not raise any error when the key is not exist. TrivialFix Change-Id: I3808fc865afe6936a5d93eff792e1d1a93ba2085
2016-09-12Clean imports in codeNguyen Hung Phuong2-6/+6
In some part in the code we import objects. In the Openstack style guidelines they recommend to import only modules. http://docs.openstack.org/developer/hacking/#imports Change-Id: I4b55cae8c2672f82025a95112b14d441d66f9d6d
2016-09-01Merge "Use six.StringIO"Jenkins1-1/+1
2016-08-31generate bifrost yaml configsSean Mooney1-0/+96
- This change indroduces a merge_yaml action_plugin - This change generates bifrost yaml configs. Change-Id: I9814e6a5d55cbd46c4b60c06ed70ed54a575bd2f Implements: blueprint bifrost-support
2016-08-29Use six.StringIOLu lei1-1/+1
In links: http://pythonhosted.org/six/, we know 'cStringIO' is a module of python 2.x, but in python3.x module 'io' has the same function as 'cStringIO' in python2.x. So here we use six.stringIO instead. TrivialFix. Change-Id: I8022b92b186e239cd76a36dab7766301bf96d2c4
2016-05-30Fix the incompatibility for ansible 2.1.0Jeffrey Zhang1-1/+10
Ansible 2.1.0 has lots of change and the plugin is not compatible between 2.0.0 and 2.1.0. This change fix the gap. * fix the signature change for _make_tmp_path in ansible 2.1.0 * fix the common_options in the kolla_docker.py Change-Id: I05f5f05581c8bd625cd868fa0db549d0c60a7043 Closes-Bug: #1586018
2016-05-24Bump the ansible to 2Jeffrey Zhang1-54/+43
DocImpact Change-Id: I3cdfbf84919de80f535c030bd146787ecda40dec partial-Implements: blueprint ansible2
2015-12-22pep8 the ansible modulesSamYaple1-21/+29
By ignoring the appropriate tests that pep8 does we can properly run *most* of the pep8 tests on all of our modules allowing for a more consistent coding style. Closes-Bug: #1528431 Change-Id: I33f27a250d06d4f044267aa3ad189e092789b8df
2015-12-22Simplify config creationSamYaple1-0/+90
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