Skip to content
Snippets Groups Projects
Select Git revision
  • 8be3ee3ea80b54f125735454ef5502ca1a2ede92
  • master default protected
2 results

ansible.cfg

  • ansible.cfg 1.67 KiB
    [defaults]
    # If set, configures the path to the Vault password file as an alternative to
    # specifying --vault-password-file on the command line.
    vault_identity_list = ../lza_ingest.pass, ../slub_osquery.pass
    
    # Path to default inventory file
    # Administrators can override this by using the "-i <inventoryfile>" CLI
    # argument.
    inventory           = ../ansible_vaults/inventory.yml
    
    # Remote user name
    # We DELIBERATELY set this to an non-existent non-root username to make sure
    # the role can only be run if an Administrator knows the correct remote_user
    # name and passes it as a CLI argument.
    remote_user         = non-root-user
    
    # By default, ansible will use the 'linear' strategy but you may want to try
    # another one
    strategy            = free
    
    # Don't like cows?  that's unfortunate.
    # Set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1
    nocows = 1
    
    # Custom role path that guarantees roles are always found, no matter where a
    # user checks them out.
    roles_path = ../:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
    
    callback_whitelist: yaml
    
    [inventory]
    # Ignore these extensions when parsing a directory as inventory source.
    ignore_extensions = .pyc, .pyo, .swp, .bak, ~, .rpm, .md, .txt, ~, .orig, .ini, .cfg, .retry
    
    [ssh_connection]
    # Enabling pipelining reduces the number of SSH operations required to
    # execute a module on the remote server. This can result in a significant
    # performance improvement when enabled, however when using "sudo:" you must
    # first disable 'requiretty' in /etc/sudoers
    # By default, this option is disabled to preserve compatibility with
    # sudoers configurations that have requiretty (the default on many distros).
    pipelining = True