From 06e8e44483b22cd15b89be4afb112c81769d3632 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Wed, 14 May 2025 19:11:07 -0700 Subject: [PATCH] examples/builder.yml: update comments with new usage info Signed-off-by: Dan Mick --- ansible/examples/builder.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ansible/examples/builder.yml b/ansible/examples/builder.yml index b2473513..28d5d67f 100644 --- a/ansible/examples/builder.yml +++ b/ansible/examples/builder.yml @@ -4,7 +4,12 @@ ## Tested on: CentOS 7, CentOS 8, Xenial, Bionic, Focal, Leap 15.1 using ansible 2.8.5 ## ## Example: -## ansible-playbook -vvv -M ./library/ builder.yml -e '{"labels": "x86_64 xenial etc", "token": "XXXXX", "jenkins_credentials_uuid": "jenkins-build", "api_uri": "https://jenkins.ceph.com"}' -e permanent=true -e ansible_ssh_user=ubuntu --limit braggi01* +## define labels in inventory "jenkins_labels" dict, keyed by fqdn +## +## ansible-playbook -vvv -M ./library/ builder.yml, "api_uri": "https://jenkins.ceph.com"}' --limit braggi01* +## +## secrets files jenkins.ceph.com.apitoken.yml and 2.jenkins.ceph.com.apitoken.yml must +## exist in ANSIBLE_SECRETS_PATH - hosts: all become: true -- 2.39.5