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.

23 lines
419 B

---
- name: Setup SSH key
hosts: servers
tasks:
- authorized_key:
user: alpha
state: present
key: "{{ lookup('file', '~/.ssh/pressure_drop_rsa.pub') }}"
- name: Update apt
hosts: servers
tasks:
- apt: update_cache=yes
become: true
- apt: upgrade=dist
become: true
- name: Setup ZNC
hosts: servers
tasks:
- apt: name=znc state=present
become: true