Skip to content

Commit 616af7b

Browse files
Merge pull request openstack-k8s-operators#635 from rebtoor/update_skel
[_skeleton_role_] year updated and fixes
2 parents 76edab9 + 5a80a70 commit 616af7b

File tree

9 files changed

+33
-47
lines changed

9 files changed

+33
-47
lines changed

contribute/_skeleton_role_/defaults/main.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

contribute/_skeleton_role_/handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

contribute/_skeleton_role_/meta/main.yml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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'.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
collections:
3+
- name: community.general

contribute/_skeleton_role_/molecule/default/converge.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
11
---
2+
dependency:
3+
name: galaxy
4+
options:
5+
role-file: collections.yml
26
driver:
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
518
provisioner:
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
1721
scenario:
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
2729
verifier:
28-
name: testinfra
30+
name: ansible

contribute/_skeleton_role_/molecule/default/prepare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
@@ -13,22 +13,3 @@
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 %}

contribute/_skeleton_role_/vars/main.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

0 commit comments

Comments
 (0)