Skip to content

Commit f0674d7

Browse files
committed
feat: add initial install-pre-commit-hooks playbook
1 parent 9179111 commit f0674d7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
- name: Install pre-commit hooks
3+
hosts: localhost
4+
become: true
5+
gather_facts: false
6+
tasks:
7+
- name: Install pre-commit hooks into kayobe virtual env
8+
ansible.builtin.pip:
9+
name: pre-commit
10+
version: 3.5.0
11+
virtualenv: "{{ lookup('ansible.builtin.env', 'VIRTUAL_ENV') }}"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../ansible/install-pre-commit-hooks.yml

0 commit comments

Comments
 (0)