feat(ansible): allow for input variable files to configure forge behavior (#13)

This commit is contained in:
Stephan Lüscher 2024-05-03 14:21:06 +00:00
parent 7ae5826f4a
commit cb4d82c7cf
No known key found for this signature in database
GPG key ID: 445779060FF3D3CF
9 changed files with 60 additions and 14 deletions

View file

@ -2,9 +2,18 @@
- name: Clone project
hosts: host.ublue.local
gather_facts: true
pre_tasks:
- name: DEBUG - forge variables
ansible.builtin.include_role:
name: debug_forge_vars
tasks:
- name: Clone project
ansible.builtin.git:
repo: "{{ forge_git_repository_url }}"
dest: "{{ forge_git_repository_destination }}"
version: "{{ forge_git_repository_version }}"
register: __git_clone_info
- name: INFO | Status from git clone
ansible.builtin.debug:
msg: "{{ __git_clone_info }}"