Skip to content
Snippets Groups Projects
Commit cc509627 authored by Jupiter Hu's avatar Jupiter Hu
Browse files

Apply for openssh ca on M2CVL

parent 435dcb50
No related branches found
No related tags found
No related merge requests found
---
- name: restart ssh debian
service: name=ssh state=restarted
- include_vars: "roles/openssh/vars/{{ ansible_os_family }}_{{ ansible_architecture }}.yml"
- name: restart ssh
service: name={{ sshd_name }} state=restarted
sudo: true
when: ansible_os_family == "Debian"
......@@ -10,5 +10,4 @@
line: TrustedUserCAKeys /etc/ssh/server_ca.pub
state: present
sudo: true
notify: restart ssh debian
when: ansible_os_family == "Debian"
notify: restart ssh
......@@ -19,6 +19,7 @@
shell: tar zxf /tmp/openssh-{{ ssh_version }}.tar.gz
args:
chdir: /tmp
creates: /tmp/openssh-{{ ssh_version }}/ssh
- name: build ssh
shell: ./configure --prefix={{ ssh_dir }} --with-ipv4-default --with-md5-passwords --with-pam && make
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment