Skip to content

Instantly share code, notes, and snippets.

/maintenance.yml Secret

Created August 14, 2014 12:58
Ansible use case question
---
- tasks:
- include_vars: "{{ config }}"
- copy: src=/data/{{ client_slug}}/backup.zip dest=/backups/{{ client_slug }}
---
- hosts: all
tasks:
- name: Apt update and upgrade
apt: update_cache=yes upgrade=dist cache_valid_time=3600
- name: Run maintenance tasks
include: maintenance.yml config="{{ item }}"
with_fileglob: client/*.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment