configuration.yml 349 B

1234567891011121314
  1. ---
  2. - name: "00: Set default shell to ZSH"
  3. become: True
  4. ansible.builtin.command: "chsh -s /usr/bin/zsh {{ system_user }}"
  5. - name: "10: Copy SSH configuration"
  6. become: True
  7. ansible.builtin.copy:
  8. src: "../../files/config/sshd_config"
  9. dest: "/etc/ssh/sshd_config"
  10. owner: root
  11. group: root
  12. mode: '0644'
  13. notify: restart ssh