File tree Expand file tree Collapse file tree 9 files changed +33
-47
lines changed
contribute/_skeleton_role_ Expand file tree Collapse file tree 9 files changed +33
-47
lines changed Original file line number Diff line number Diff line change 11---
2- # Copyright 2023 Red Hat, Inc.
2+ # Copyright 2024 Red Hat, Inc.
33# All Rights Reserved.
44#
55# Licensed under the Apache License, Version 2.0 (the "License"); you may
Original file line number Diff line number Diff line change 11---
2- # Copyright 2023 Red Hat, Inc.
2+ # Copyright 2024 Red Hat, Inc.
33# All Rights Reserved.
44#
55# Licensed under the Apache License, Version 2.0 (the "License"); you may
Original file line number Diff line number Diff line change 11---
2- # Copyright 2023 Red Hat, Inc.
2+ # Copyright 2024 Red Hat, Inc.
33# All Rights Reserved.
44#
55# Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -21,7 +21,7 @@ galaxy_info:
2121 company: Red Hat
2222 license: Apache-2.0
2323 min_ansible_version: '2.14'
24- namespace: openstack
24+ namespace: osp
2525 #
2626 # Provide a list of supported platforms, and for each platform a list of versions.
2727 # If you don't wish to enumerate all versions for a particular platform, use 'all'.
Original file line number Diff line number Diff line change 1+ ---
2+ collections :
3+ - name : community.general
Original file line number Diff line number Diff line change 11---
2- # Copyright 2023 Red Hat, Inc.
2+ # Copyright 2024 Red Hat, Inc.
33# All Rights Reserved.
44#
55# Licensed under the Apache License, Version 2.0 (the "License"); you may
Original file line number Diff line number Diff line change 11---
2+ dependency :
3+ name : galaxy
4+ options :
5+ role-file : collections.yml
26driver :
37 name : podman
4-
8+ platforms :
9+ - command : /sbin/init
10+ dockerfile : ../../../../molecule/common/Containerfile.j2
11+ image : ${EDPM_ANSIBLE_MOLECULE_IMAGE:-"ubi9/ubi-init"}
12+ name : instance
13+ privileged : true
14+ registry :
15+ url : ${EDPM_ANSIBLE_MOLECULE_REGISTRY:-"registry.access.redhat.com"}
16+ ulimits :
17+ - host
518provisioner :
6- inventory :
7- hosts :
8- all :
9- hosts :
10- centos :
11- ansible_python_interpreter : /usr/bin/python3
12- name : ansible
1319 log : true
14- env :
15- ANSIBLE_STDOUT_CALLBACK : yaml
16-
20+ name : ansible
1721scenario :
1822 test_sequence :
19- - destroy
20- - create
21- - prepare
22- - converge
23- - check
24- - verify
25- - destroy
26-
23+ - dependency
24+ - destroy
25+ - create
26+ - prepare
27+ - converge
28+ - destroy
2729verifier :
28- name : testinfra
30+ name : ansible
Original file line number Diff line number Diff line change 11---
2- # Copyright 2023 Red Hat, Inc.
2+ # Copyright 2024 Red Hat, Inc.
33# All Rights Reserved.
44#
55# Licensed under the Apache License, Version 2.0 (the "License"); you may
Original file line number Diff line number Diff line change 11---
2- # Copyright 2023 Red Hat, Inc.
2+ # Copyright 2024 Red Hat, Inc.
33# All Rights Reserved.
44#
55# Licensed under the Apache License, Version 2.0 (the "License"); you may
1313# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1414# License for the specific language governing permissions and limitations
1515# under the License.
16-
17-
18- # "{{ role_name }}" will search for and load any operating system variable file
19- {% raw %}
20- # found within the "vars/" path. If no OS files are found the task will skip.
21- - name: Gather variables for each operating system
22- include_vars: "{{ item }}"
23- with_first_found:
24- - skip: true
25- files:
26- - "{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution_version'] | lower }}.yml"
27- - "{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution_major_version'] | lower }}.yml"
28- - "{{ ansible_facts['os_family'] | lower }}-{{ ansible_facts['distribution_major_version'] | lower }}.yml"
29- - "{{ ansible_facts['distribution'] | lower }}.yml"
30- - "{{ ansible_facts['os_family'] | lower }}-{{ ansible_facts['distribution_version'] .split('.')[0] }}.yml"
31- - "{{ ansible_facts['os_family'] | lower }}.yml"
32- tags:
33- - always
34- {% endraw %}
Original file line number Diff line number Diff line change 11---
2- # Copyright 2023 Red Hat, Inc.
2+ # Copyright 2024 Red Hat, Inc.
33# All Rights Reserved.
44#
55# Licensed under the Apache License, Version 2.0 (the "License"); you may
You can’t perform that action at this time.
0 commit comments