add some basic stuff #1

Merged
kaa merged 1 commits from first_insert into master 2025-05-24 16:15:01 +00:00
2 changed files with 30 additions and 0 deletions

14
ansible.cfg Normal file
View File

@@ -0,0 +1,14 @@
[defaults]
host_key_checking = false
fact_caching = jsonfile
fact_caching_connection = /tmp/facts_cache
library = library
gather_facts = true
interpreter_python = auto
remote_user = user
[connection]
pipelining = True
[ssh_connection]
pipelining = True

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