Adding some date logging
This commit is contained in:
@@ -6,6 +6,12 @@
|
|||||||
collections:
|
collections:
|
||||||
- ansible.posix
|
- ansible.posix
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: "Log first stage start time"
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg: "{{ now() }}"
|
||||||
|
run_once: true
|
||||||
|
delegate_to: blacktide
|
||||||
|
|
||||||
- name: Mount backup share
|
- name: Mount backup share
|
||||||
ansible.posix.mount:
|
ansible.posix.mount:
|
||||||
path: /backup
|
path: /backup
|
||||||
@@ -133,11 +139,17 @@
|
|||||||
vars:
|
vars:
|
||||||
env_backups_to_keep: 10
|
env_backups_to_keep: 10
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: "Log first stage start time"
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg: "{{ now() }}"
|
||||||
|
run_once: true
|
||||||
|
delegate_to: blacktide
|
||||||
|
|
||||||
- name: Run mount to ensure the /backup directory is present
|
- name: Run mount to ensure the /backup directory is present
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "mount -a"
|
cmd: "mount -a"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Run container mounts backup
|
- name: Run container mounts backup
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: docker_backup
|
name: docker_backup
|
||||||
|
|||||||
Reference in New Issue
Block a user