Commit Graph

5 Commits

Author SHA1 Message Date
Zuul
d36da2d1ce Merge "Fix argument spec for os_subnet and os_zone" 2020-01-28 01:22:42 +00:00
Bram Verschueren
c7506b5b10 fix os_user_role for groups in multidomain context
This fixes searching for a group in multi-domain context by passing the
domain_id in the call to get_groups.

original github PR: https://github.com/ansible/ansible/pull/62858

Change-Id: Ia2216728c15cc9d9a5e29bfe6b9fc63d2c6982ce
Task: 38375
Story: 2007209
2020-01-23 08:22:46 +01:00
Abhijeet Kasurde
ead550d34e Fix argument spec for os_subnet and os_zone
Ansible argument spec provides facility to provide choices
for the given parameter.
Module os_subnet and os_zone spells 'choices' incorrectly.
This change fixes these modules, by changing 'choice' to 'choices'.

Original Upstream PR: https://github.com/ansible/ansible/pull/65497

Change-Id: I3eed5feeef1234996f22bf8dfe7ecec0bc8eb298
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-01-22 13:19:00 +02:00
Valery Tschopp
4c03ae0c16 Fix os_user_role issue to grant a role in a domain
Set domain_id when domain is set or project/domain is set.

Change-Id: I0f189647cd9b97252f29055506f75dfd8398dee4
Task: 38309
Story: 2007184
2020-01-21 16:56:16 +00:00
Sagi Shnaidman
6ac08e7f0e Migrate openstack modules as a collection
Migrate accordin to Ansible guidelines [1[]] and tool
migrate.py [2]
Also fixed ALL ansible-test sanity issues

Add pep8 and linter job with runs ansible-test sanity test.

[1] https://etherpad.openstack.org/p/openstack-ansible-modules
[2] https://github.com/ansible-community/collection_migration

Change-Id: Ib2b1c8f23aacfca95304132bfe5c4cdedbea0520
2020-01-17 14:07:24 +00:00