You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
637 B
YAML
25 lines
637 B
YAML
- hosts: localhost
|
|
connection: local
|
|
gather_facts: false
|
|
vars:
|
|
repository: "git@git.dev-at.de:smardigo/maven/smardigo-maven-versions.git"
|
|
branch_type: "spike"
|
|
branch_ticket: "TST-0001"
|
|
|
|
pre_tasks:
|
|
- name: "Checkout git repository"
|
|
ansible.builtin.git:
|
|
repo: "{{ repository }}"
|
|
dest: "./checkout"
|
|
version: "master"
|
|
|
|
- name: "Insert/Update branch configuration"
|
|
template:
|
|
src: 'create-branch-maven.j2'
|
|
dest: './checkout/.ci_create-branch-maven'
|
|
|
|
- name: "Branching project"
|
|
shell: ". .ci_create-branch-maven"
|
|
args:
|
|
chdir: "./checkout"
|