single-step script to perform all administration, some ansible performance settings

This commit is contained in:
John McCardle 2022-02-10 18:35:07 -05:00
commit 4fda00bfb5
8 changed files with 60 additions and 1 deletions

View file

@ -23,6 +23,10 @@ EOF
cat > ansible.cfg << EOF
[defaults]
inventory = $(pwd)/hosts
[ssh_connection]
ssh_args = "-o ControlMaster=auto -o ControlPersist=60s -o PreferredAuthentications=publickey"
pipelining = true
EOF
ansible "$CATEGORY" -m ping