single-step script to perform all administration, some ansible performance settings
This commit is contained in:
parent
0ca44cc623
commit
4fda00bfb5
8 changed files with 60 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue