nwl-ci/playbooks/getting_started/setup-nwl-jenkins-seedjob-g...

13 lines
437 B
YAML

- name: Setup NWL Git URL For Jenkins Seed Job
hosts: "{{ target }}"
gather_facts: false
vars:
root_path: "~/nwl-ci"
tasks:
- name: Setup the git URL for the seed job of the NWL Jenkins instance
ansible.builtin.shell: |
sed -i "s|url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')|url('{{seed_url}}')|g" docker/nwl-cicd.yaml
args:
chdir: "{{root_path}}"
executable: /bin/bash