Add a git task to check out the pricer repository

This commit is contained in:
2023-06-07 16:12:02 -04:00
parent 34a292da00
commit b274d7d9b0
+11
View File
@@ -6,3 +6,14 @@
msg: "Package manager is not apt" msg: "Package manager is not apt"
when: "ansible_pkg_mgr != 'apt'" when: "ansible_pkg_mgr != 'apt'"
- name: Add git task to basic checks playbook
hosts: all
tasks:
- name: Checkout pricer repository
git:
repo: https://gogs.gtsplab.com:5432/SVIG/pricer.git
dest: /opt/pricer
version: main
become: yes
become_user: root