Move default user/become configuration to ansible.cfg

This commit is contained in:
Salt 2022-04-29 15:18:47 -05:00
parent 9ffbadf9ed
commit cef2d1a092
2 changed files with 4 additions and 2 deletions

View File

@ -5,9 +5,13 @@ interpreter_python = python3
inventory = inventories/production
private_key_file = ~/.ssh/desu
remote_tmp = $HOME/.ansible/tmp
remote_user = ansible
roles_path = .roles:roles
system_warnings = true
[privilege_escalation]
become = true
[ssh_connection]
pipelining = true
retries = 15

View File

@ -1,8 +1,6 @@
# vim:ft=ansible:
# For homebrew roles and such, mostly Ansible-related setup
ansible_user: ansible
ansible_become: yes
common_ansible_pubkey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDfXVgMHeD2wtCAIVoDYQ+R19vKfhmR2FgUTkHhAzE2156fB/+IMB+6Qc4X3aFRIcUp+Ls8Vm8JQ3d0jvbcGQkgbAjRExQa71XGBmhxJCxzlCLBoQzBmTSnryL09LExoMynzVgrso8TQP92vZBGJFI/lLGAaop2l9pu+3cgM3sRaK+A11lcRCrS25C3hqPQhKC44zjzOt7sIoaG6RqG3CQ8jhE35bthQdBySOZVDgDKfjDyPuDzVxiKjsuNm4Ojzm0QW5gq6GkLOg2B8OSQ1TGQgBHQu4b8zsKBOUOdbZb0JLM8NdpH1cMntC0QBofy3DzqR/CFaSaBzUx+dnkBH0/pjBOrhHzzqZGOJayfC1igYki67HqzFV5IjhAVa+c4S9L/zbFk0+YZYdgMoKNlMU2LgzrSEastuXHD7NUy3fMP4BZbqg37SjQzFRXoUp5+ctVs9tCoy/qvvjT3UVGcn312eJrRRfWrYagU2nWKGyqbTOpsuOJ5OLlhopy6eP9+yRM= ansible"
# This is a token generated post-setup
# It is to be used for querying netbox