20 lines
484 B
YAML
20 lines
484 B
YAML
- name: Basic system checks
|
|
hosts: all
|
|
tasks:
|
|
- name: Check to make sure the package manager is apt
|
|
fail:
|
|
msg: "Package manager is not 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
|
|
|