devops-shit/ansible/drbd-ansible/playme.yml

18 lines
293 B
YAML

---
- hosts: pg1
become: true
become_user: root
tasks:
- name: Install drbd-utils
apt:
name: drbd-utils
state: present
update_cache: yes
- name: Copy sudoers
template:
src: global_common.conf
dest: /etc/drbd.d/global_common.conf