Merge pull request 'add some basic stuff' (#1) from first_insert into master
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
14
ansible.cfg
Normal file
14
ansible.cfg
Normal 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
16
init.yml
Normal 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
|
||||
Reference in New Issue
Block a user