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

18 lines
293 B
YAML
Raw Permalink Normal View History

2021-08-19 17:24:46 +03:00
---
- 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