Skip to content

Commit

Permalink
Use manual command to restart sshd (#379)
Browse files Browse the repository at this point in the history
* Restart sshd after joining domain

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
pavmoj and github-actions[bot] authored Oct 25, 2023
1 parent 02b0b07 commit 412d73e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ansible/roles/join-devtest-ad-linux/tasks/join_domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@
Password for *: "{{ join_domain_linux_service_account_password }}"

- name: Restart SSSD service
service:
name: sssd
state: restarted
enabled: yes
command: systemctl restart sshd

- name: Validate the AD join
command: getent passwd {{ join_domain_linux_service_account_username }}@{{ ad_domain }}
Expand Down

0 comments on commit 412d73e

Please sign in to comment.