13 lines
414 B
YAML
13 lines
414 B
YAML
- hosts: localhost
|
|
tasks:
|
|
- name: Create dummy file for commit
|
|
ansible.builtin.copy:
|
|
content: "{{ ansible_date_time.iso8601_micro }}"
|
|
dest: "/data/mcp-history/dummy_file.txt"
|
|
|
|
- name: Commit current state
|
|
ansible.builtin.command: git -C /data/mcp-history add .
|
|
|
|
- name: Commit with message
|
|
ansible.builtin.command: git -C /data/mcp-history commit -m "{{ message }}"
|