Skip to content

Commit 187bc40

Browse files
committed
added pulp sync adhoc and temporarily moved out of ci
1 parent 1c4a511 commit 187bc40

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

ansible/adhoc/sync-pulp.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
- hosts: localhost
2+
tasks:
3+
- ansible.builtin.include_role:
4+
name: pulp_site
5+
tasks_from: sync.yml
6+
vars:
7+
pulp_site_target_arch: "x86_64"
8+
pulp_site_target_distribution: "rocky"
9+
pulp_site_target_distribution_version: "9.4"
10+
pulp_site_target_distribution_version_major: "9"
11+
pulp_site_version_timestamps: "{{ appliances_repo_timestamps[pulp_site_target_distribution_version] }}"

ansible/roles/pulp_site/tasks/sync.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
---
22

3+
- ansible.builtin.assert:
4+
that: pulp_site_upstream_password != ''
5+
quiet: true
6+
fail_msg: "Upstream password not set. Either set env var ARK_PASSWORD or override pulp_site_upstream_password."
7+
38
- name: Wait for Pulp server
49
pulp.squeezer.status:
510
pulp_url: "{{ pulp_site_url }}"

environments/.stackhpc/inventory/extra_groups

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ compute
3131
[squid:children]
3232
# Install squid into fat image
3333
builder
34+
35+
[pulp:children]

0 commit comments

Comments
 (0)