Skip to content

Commit f6b69c3

Browse files
committed
Bump Ansible deps to latest available versions
1 parent b771fca commit f6b69c3

File tree

3 files changed

+30
-71
lines changed

3 files changed

+30
-71
lines changed

etc/kayobe/ansible/pulp-artifact-upload.yml

+12-62
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,6 @@
1919
patterns: "{{ file_regex }}"
2020
register: found_files
2121

22-
- name: Upload an artifact
23-
pulp.squeezer.artifact:
24-
pulp_url: "{{ remote_pulp_url }}"
25-
username: "{{ remote_pulp_username }}"
26-
password: "{{ remote_pulp_password }}"
27-
file: "{{ found_files.files[0].path }}"
28-
state: present
29-
register: upload_result
30-
until: upload_result is success
31-
retries: 3
32-
delay: 60
33-
3422
- name: Get sha256 hash
3523
ansible.builtin.stat:
3624
path: "{{ found_files.files[0].path }}"
@@ -49,87 +37,49 @@
4937
checksum_algorithm: sha256
5038
register: checksum_stats
5139

52-
- name: Upload checksum artifact
53-
pulp.squeezer.artifact:
40+
- name: Ensure file repo exists
41+
pulp.squeezer.file_repository:
5442
pulp_url: "{{ remote_pulp_url }}"
5543
username: "{{ remote_pulp_username }}"
5644
password: "{{ remote_pulp_password }}"
57-
file: "/tmp/{{ found_files.files[0].path | basename }}.sha256"
45+
name: "{{ repository_name }}"
5846
state: present
59-
register: checksum_upload_result
60-
until: checksum_upload_result is success
47+
register: file_repo_result
48+
until: file_repo_result is success
6149
retries: 3
62-
delay: 60
63-
when: upload_checksum
50+
delay: 5
6451

65-
- name: Create file content from artifact
52+
- name: Upload artifact
6653
pulp.squeezer.file_content:
6754
pulp_url: "{{ remote_pulp_url }}"
6855
username: "{{ remote_pulp_username }}"
6956
password: "{{ remote_pulp_password }}"
57+
file: "{{ found_files.files[0].path }}"
7058
sha256: "{{ file_stats.stat.checksum }}"
7159
relative_path: "{{ found_files.files[0].path | basename }}"
7260
state: present
61+
repository: "{{ repository_name }}"
7362
register: file_content_result
7463
until: file_content_result is success
7564
retries: 3
7665
delay: 5
7766

78-
- name: Create checksum content from artifact
67+
- name: Upload checksum
7968
pulp.squeezer.file_content:
8069
pulp_url: "{{ remote_pulp_url }}"
8170
username: "{{ remote_pulp_username }}"
8271
password: "{{ remote_pulp_password }}"
72+
file: "/tmp/{{ found_files.files[0].path | basename }}.sha256"
8373
sha256: "{{ checksum_stats.stat.checksum }}"
8474
relative_path: "{{ found_files.files[0].path | basename }}.sha256"
8575
state: present
76+
repository: "{{ repository_name }}"
8677
register: checksum_content_result
8778
until: checksum_content_result is success
8879
retries: 3
8980
delay: 5
9081
when: upload_checksum
9182

92-
- name: Ensure file repo exists
93-
pulp.squeezer.file_repository:
94-
pulp_url: "{{ remote_pulp_url }}"
95-
username: "{{ remote_pulp_username }}"
96-
password: "{{ remote_pulp_password }}"
97-
name: "{{ repository_name }}"
98-
state: present
99-
register: file_repo_result
100-
until: file_repo_result is success
101-
retries: 3
102-
delay: 5
103-
104-
- name: Add content to file repo
105-
pulp.squeezer.file_repository_content:
106-
pulp_url: "{{ remote_pulp_url }}"
107-
username: "{{ remote_pulp_username }}"
108-
password: "{{ remote_pulp_password }}"
109-
repository: "{{ repository_name }}"
110-
present_content:
111-
- relative_path: "{{ found_files.files[0].path | basename }}"
112-
sha256: "{{ file_stats.stat.checksum }}"
113-
register: file_repo_content_result
114-
until: file_repo_content_result is success
115-
retries: 3
116-
delay: 5
117-
118-
- name: Add checksum content to file repo
119-
pulp.squeezer.file_repository_content:
120-
pulp_url: "{{ remote_pulp_url }}"
121-
username: "{{ remote_pulp_username }}"
122-
password: "{{ remote_pulp_password }}"
123-
repository: "{{ repository_name }}"
124-
present_content:
125-
- relative_path: "{{ found_files.files[0].path | basename }}.sha256"
126-
sha256: "{{ checksum_stats.stat.checksum }}"
127-
register: checksum_repo_content_result
128-
until: checksum_repo_content_result is success
129-
retries: 3
130-
delay: 5
131-
when: upload_checksum
132-
13383
- name: Create a new publication to point to this version
13484
pulp.squeezer.file_publication:
13585
pulp_url: "{{ remote_pulp_url }}"

etc/kayobe/ansible/requirements.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
collections:
33
- name: stackhpc.cephadm
44
version: 1.19.1
5-
# NOTE: Pinning pulp.squeezer to 0.0.13 because 0.0.14+ depends on the
6-
# pulp_glue Python library being installed.
75
- name: pulp.squeezer
8-
version: 0.0.13
6+
version: 0.1.0
97
- name: stackhpc.pulp
108
version: 0.5.5
119
- name: stackhpc.hashicorp
@@ -14,18 +12,19 @@ collections:
1412
version: 1.1.0
1513
roles:
1614
- src: stackhpc.vxlan
17-
- name: ansible-lockdown.ubuntu22_cis
18-
src: https://github.com/ansible-lockdown/UBUNTU22-CIS
19-
version: 1.4.1
15+
- name: ansible-lockdown.ubuntu24_cis
16+
src: https://github.com/ansible-lockdown/UBUNTU24-CIS
17+
version: 1.0.0
2018
- name: ansible-lockdown.rhel9_cis
2119
src: https://github.com/ansible-lockdown/RHEL9-CIS
22-
version: 1.3.1
20+
version: v1.3.4
2321
- name: wazuh-ansible
2422
src: https://github.com/stackhpc/wazuh-ansible
2523
version: stackhpc-v4.10.0
2624
- name: geerlingguy.pip
27-
version: 2.2.0
25+
version: 3.1.0
2826
- name: monolithprojects.github_actions_runner
29-
version: 1.18.5
27+
version: 1.21.1
28+
src: https://github.com/MonolithProjects/ansible-github_actions_runner
3029
- src: https://github.com/stackhpc/ansible-role-docker.git
3130
name: geerlingguy.docker
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
features:
3+
- |
4+
Ansible-Galaxy dependencies have been bumped to the latest available
5+
versions. This includes:
6+
7+
* pulp.squeezer - 0.0.13 -> 0.1.0
8+
* ansible-modules-hashivault - 1.3.1 -> 1.3.4
9+
* geerlingguy.pip - 2.2.0 -> 3.1.0
10+
* monolithprojects.github_actions_runner - 1.18.5 -> 1.25.1

0 commit comments

Comments
 (0)