summaryrefslogtreecommitdiff
path: root/roles/ansible-pull/templates/usr_local_bin_metamorphose.j2
blob: d4165268276e3752dc74794e9a2f3f8102d2315e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Pull ansible configuration and upgrade system
set -e

workdir=/var/lib/ansible/local

mkdir --parents "$workdir"
/usr/bin/ansible-pull \
    --verify-commit \
    --checkout master \
    --sleep 10 \
    --directory "$workdir" \
    --url "https://github.com/jodersky/metamorphic.git"