Skip to content

Instantly share code, notes, and snippets.

View mydailytutorials's full-sized avatar

mydailytutorials

View GitHub Profile
@mydailytutorials
mydailytutorials / Playbook_multuple_play_ex.yaml
Last active May 26, 2018 12:57
Ansible playbook with multiple play
---
- hosts: mongodb_servers
tasks:
- name: Add APT key
apt_key:
keyserver: "hkp://keyserver.ubuntu.com:80"
id: "0C49F3730359A14518585931BC711F9BA15703C6"
- name: Add APT repository