mirror of
https://github.com/ansible/ansible.git
synced 2026-08-01 00:34:56 +02:00
Fix simmilar branches (#83497)
Identical branches in conditional node: 'elif name != permanent_hostname' and 'else'. First bruch is not nessesary Co-authored-by: mar.s <marchenkov.s.d@gmail.com>
This commit is contained in:
@@ -886,8 +886,6 @@ def main():
|
||||
|
||||
if name != current_hostname:
|
||||
name_before = current_hostname
|
||||
elif name != permanent_hostname:
|
||||
name_before = permanent_hostname
|
||||
else:
|
||||
name_before = permanent_hostname
|
||||
|
||||
|
||||
Reference in New Issue
Block a user