add some basic stuff

This commit is contained in:
2025-05-24 19:14:07 +03:00
parent 1ae998e670
commit 61ebb5abd8
2 changed files with 30 additions and 0 deletions

16
init.yml Normal file
View File

@@ -0,0 +1,16 @@
---
- name: clone git repo to roles directory
hosts: localhost
gather_facts: no
tasks:
- name: ensure roles directory exists
file:
path: "roles"
state: directory
- name: clone git repo into roles directory
git:
repo: 'git@gitlab.com:linux_factory1/ansible_roles.git'
dest: "roles"
version: main
force: yes