mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-06 21:33:07 +00:00
This is separate from the previous patch - it's just the results of running the script so we can review the two a little independently. We should probably squash them. Change-Id: I838f15cf4a32455a5be20033c8ddc27db6ca15c0
29 lines
585 B
YAML
29 lines
585 B
YAML
---
|
|
- name: Create project
|
|
openstack.cloud.project:
|
|
cloud: "{{ cloud }}"
|
|
state: present
|
|
name: ansible_project
|
|
description: dummy description
|
|
domain_id: default
|
|
enabled: True
|
|
register: project
|
|
|
|
- debug: var=project
|
|
|
|
- name: Update project
|
|
openstack.cloud.project:
|
|
cloud: "{{ cloud }}"
|
|
state: present
|
|
name: ansible_project
|
|
description: new description
|
|
register: updatedproject
|
|
|
|
- debug: var=updatedproject
|
|
|
|
- name: Delete project
|
|
openstack.cloud.project:
|
|
cloud: "{{ cloud }}"
|
|
state: absent
|
|
name: ansible_project
|