ca89c07cd4f1b187460630f2ccb308e02815065e
Go to file
Vincent Legoll ca89c07cd4 Fix ansible difference() filter use
The `difference()` filter inputs a list, and takes another list as
parameter, computes a set difference between the two, and returns
the resulting (unordered) list.
This is documented here:
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/difference_filter.html
This filter was changed in:
7d3d4572ed
The behaviour changed in ansible-core between 2.15 and 2.16:
```
 ################################################################
 ### Testing ansible-core==2.16
 ################################################################
 PLAY [Test ansible difference filter] ******************************************
 TASK [debug] *******************************************************************
 ok: [localhost] => {
 "msg": "diff with a string: ['one', 'two', 'six'] | difference('two') => ['one', 'six', 'two']"
 }
 TASK [debug] *******************************************************************
 ok: [localhost] => {
 "msg": "diff with a list: ['one', 'two', 'six'] | difference(['two']) => ['one', 'six']"
 }
 PLAY RECAP *********************************************************************
 localhost : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
 ################################################################
 ### Testing ansible-core==2.15
 ################################################################
 PLAY [Test ansible difference filter] ******************************************
 TASK [debug] *******************************************************************
 ok: [localhost] => {
 "msg": "diff with a string: ['one', 'two', 'six'] | difference('two') => ['one', 'six']"
 }
 TASK [debug] *******************************************************************
 ok: [localhost] => {
 "msg": "diff with a list: ['one', 'two', 'six'] | difference(['two']) => ['one', 'six']"
 }
 PLAY RECAP *********************************************************************
 localhost : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
```
The above was generated by using: https://github.com/vincent-legoll/test_ansible_diff
Closes-Bug: #2096936
Change-Id: I7a57c829803fc5baa8b1d3a1805c102f04b8ab2c
Signed-off-by: Vincent Legoll <vincent.legoll@iphc.cnrs.fr>
2025年03月13日 18:21:59 +01:00
2025年02月12日 16:03:55 +00:00
2022年06月14日 19:41:53 +02:00
2023年10月09日 10:24:48 +02:00
2025年02月28日 08:38:53 +00:00
2023年07月17日 16:17:30 +02:00
2025年02月28日 08:38:53 +00:00
2025年03月13日 18:21:59 +01:00
2025年02月12日 16:03:55 +00:00
2021年05月25日 19:56:18 +03:00
2025年02月12日 16:03:55 +00:00
2019年04月19日 19:49:15 +00:00
2021年03月12日 22:20:28 +00:00
2016年09月28日 10:27:39 +01:00
2022年04月04日 09:43:20 +00:00
2022年04月04日 10:42:44 +01:00
2021年12月17日 16:47:31 +00:00

Team and repository tags

image

OpenStack-Ansible nova

Ansible role that installs and configures OpenStack nova and all of its corresponding services.

This role will install the following:
  • nova-api
  • nova-conductor
  • nova-scheduler
  • nova-console
  • nova-compute

Documentation for the project can be found at: https://docs.openstack.org/openstack-ansible-os_nova/latest/

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/openstack-ansible-os_nova/

The project source code repository is located at: https://opendev.org/openstack/openstack-ansible-os_nova/

The project home is at: https://launchpad.net/openstack-ansible

The project bug tracker is located at: https://bugs.launchpad.net/openstack-ansible

Description
Role os_nova for OpenStack-Ansible
Readme 16 MiB
Languages
Jinja 66.8%
Python 30.8%
Shell 2.4%