collection of ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
306 B

- name: create ssh user
become: yes
user:
name: "{{ icinga2_monitoring_master.ssh_user }}"
state: present
- name: set authorized_keys
become: yes
authorized_key:
user: "{{ icinga2_monitoring_master.ssh_user }}"
state: present
key: "{{ icinga2_monitoring_master.ssh_pubkey }}"