Add ansible config files
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.file.".ansible.cfg".text = ''
|
||||||
|
[defaults]
|
||||||
|
forks=10
|
||||||
|
host_key_checking=False
|
||||||
|
# Also available: profile_roles
|
||||||
|
callback_enabled=timer,profile_tasks
|
||||||
|
stdout_callback=yaml
|
||||||
|
nocows=1
|
||||||
|
cow_selection=tux
|
||||||
|
collections_path=~/src
|
||||||
|
|
||||||
|
[ssh_connection]
|
||||||
|
pipelining=True
|
||||||
|
ssh_args = -o ControlMaster=auto -o ControlPersist=600s -o IdentitiesOnly=yes -o GSSAPIAuthentication=no -o StrictHostKeyChecking=no
|
||||||
|
control_path=%(directory)s/%%h-%%r
|
||||||
|
control_path_dir=/tmp
|
||||||
|
|
||||||
|
[callback_profile_tasks]
|
||||||
|
sort_order=descending
|
||||||
|
|
||||||
|
[galaxy]
|
||||||
|
role_skeleton_ignore = ^.git$,^.*/.git_keep$,\..*.swp
|
||||||
|
role_skeleton = ~/src/ansible_collections/meta_ansible_templates/role
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -7,6 +7,7 @@ let
|
|||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./modules
|
./modules
|
||||||
|
./ansible.nix
|
||||||
./bash.nix
|
./bash.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user