diff --git a/bin/r b/bin/r index 26c0ad7..c9c2ba9 100755 --- a/bin/r +++ b/bin/r @@ -1,5 +1,10 @@ #!/usr/bin/bash +usage() { + echo "Usage: $(basename $0) [-d] " >&2 + echo " -d Remove host key from known_hosts before connecting" >&2 +} + DEL="" deletehost() { diff --git a/config.yml b/config.yml index 6a1ade6..7191968 100644 --- a/config.yml +++ b/config.yml @@ -45,7 +45,7 @@ dest: /etc/sudoers.d/sudogroup owner: root group: root - mode: '0644' + mode: '0440' - name: Deploy gitconfig template: diff --git a/postgres.yml b/postgres.yml index e821e79..ccdcd92 100644 --- a/postgres.yml +++ b/postgres.yml @@ -31,7 +31,7 @@ - name: Setup Postgres backup cron job ansible.builtin.cron: - name: "borgmatic" + name: "pg-backup" minute: 30 hour: 23 job: /usr/local/bin/pg-backup