4
0
Fork 0

Added git install to step

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-05-11 11:19:33 +01:00
parent 9368c1e17e
commit cbb5ff7cc2
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB

View file

@ -20,3 +20,11 @@
group: root
when:
- get_goss_file == 'copy'
- name: install git if not present
package:
name: git
state: present
register: git_installed
when:
- '"git" not in ansible_facts.packages'