forked from evolix/ansible-roles
Make git role suitable for OpenBSD
This commit is contained in:
parent
8eb7952e49
commit
90c7074a8f
|
@ -4,6 +4,13 @@
|
||||||
apt:
|
apt:
|
||||||
name: git
|
name: git
|
||||||
state: present
|
state: present
|
||||||
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
|
- name: Git is installed
|
||||||
|
openbsd_pkg:
|
||||||
|
name: git
|
||||||
|
state: present
|
||||||
|
when: ansible_os_family == "OpenBSD"
|
||||||
|
|
||||||
- name: /etc is versioned with git
|
- name: /etc is versioned with git
|
||||||
command: "git init ."
|
command: "git init ."
|
||||||
|
|
Loading…
Reference in a new issue