mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
ipatests: Remove sudo calls from tasks
Sudo calls are not necessary since we log in as a root. Additionally, sudo requires tty in default configuration, which is not acquired when using OpenSSH transport. https://fedorahosted.org/freeipa/ticket/4125
This commit is contained in:
parent
531ede2904
commit
5403648afd
@ -412,8 +412,8 @@ def sync_time(host, server):
|
|||||||
leaves ntpd stopped.
|
leaves ntpd stopped.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
host.run_command(['sudo', 'systemctl', 'stop', 'ntpd'])
|
host.run_command(['systemctl', 'stop', 'ntpd'])
|
||||||
host.run_command(['sudo', 'ntpdate', server.hostname])
|
host.run_command(['ntpdate', server.hostname])
|
||||||
|
|
||||||
|
|
||||||
def connect_replica(master, replica):
|
def connect_replica(master, replica):
|
||||||
|
Loading…
Reference in New Issue
Block a user