Merge remote-tracking branch 'upstream/micha' into micha
This commit is contained in:
commit
4dda7b44c9
|
@ -10,6 +10,10 @@ global {
|
||||||
}
|
}
|
||||||
defaults {
|
defaults {
|
||||||
host_key_checking = false
|
host_key_checking = false
|
||||||
|
ansible_managed = "Ansible managed"
|
||||||
|
}
|
||||||
|
ssh_connection {
|
||||||
|
pipelining = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -138,10 +142,21 @@ install {
|
||||||
notify = ["Common | Update timezone"]
|
notify = ["Common | Update timezone"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks {
|
||||||
|
name = "Common | Disable UseDNS for SSHD"
|
||||||
|
lineinfile = "dest=/etc/ssh/sshd_config regexp=\"^UseDNS\" line=\"UseDNS no\" state=present"
|
||||||
|
notify = ["Common | Restart sshd"]
|
||||||
|
}
|
||||||
|
|
||||||
handlers {
|
handlers {
|
||||||
name = "Common | Update timezone"
|
name = "Common | Update timezone"
|
||||||
command = "dpkg-reconfigure --frontend noninteractive tzdata"
|
command = "dpkg-reconfigure --frontend noninteractive tzdata"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
handlers {
|
||||||
|
name = "Common | Restart sshd"
|
||||||
|
service = "name=ssh state=restarted"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue