From b068171b9d20ca954508d07ca25b7a44ae280f20 Mon Sep 17 00:00:00 2001 From: technowhizz <7688823+technowhizz@users.noreply.github.com> Date: Fri, 17 Jan 2025 09:59:08 +0000 Subject: [PATCH] Add a playbook that runs sync/publish/promote for both repos and contianers --- etc/kayobe/ansible/pulp-sync-publish-promote.yml | 16 ++++++++++++++++ ...ublish-promote-playbook-b638be7c77a649dd.yaml | 7 +++++++ 2 files changed, 23 insertions(+) create mode 100644 etc/kayobe/ansible/pulp-sync-publish-promote.yml create mode 100644 releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml diff --git a/etc/kayobe/ansible/pulp-sync-publish-promote.yml b/etc/kayobe/ansible/pulp-sync-publish-promote.yml new file mode 100644 index 000000000..a2e460662 --- /dev/null +++ b/etc/kayobe/ansible/pulp-sync-publish-promote.yml @@ -0,0 +1,16 @@ +--- +- name: "Import pulp-repo-sync" + import_playbook: pulp-repo-sync.yml + +- name: "Import pulp-repo-publish" + import_playbook: pulp-repo-publish.yml + +- name: "Import pulp-repo-promote-production" + import_playbook: pulp-repo-promote-production.yml + when: repo_promote_production | default(true) + +- name: "Import pulp-container-sync" + import_playbook: pulp-container-sync.yml + +- name: "Import pulp-container-publish" + import_playbook: pulp-container-publish.yml diff --git a/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml b/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml new file mode 100644 index 000000000..3503f94e1 --- /dev/null +++ b/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + Added a new playbook `pulp_sync_publish_promote` that can be used to sync, + publish and promote a repository in a single step, as well as sync and + publish container repos. If you do not want to publish repos then run with + ``-e repo_promote_production=false``.