kovalhome/infra/joplin/0001_software_playbook.yaml

26 lines
640 B
YAML
Raw Normal View History

2023-09-05 23:35:08 +00:00
- name: Setup Software
2023-09-04 18:59:57 +00:00
hosts: joplin
gather_facts: false
tasks:
2023-09-05 23:42:08 +00:00
- name: Wait for connection
2023-09-10 23:34:59 +00:00
ansible.builtin.wait_for_connection:
timeout: 300
2023-09-04 18:59:57 +00:00
- name: Test some stuff
ansible.builtin.shell: |
touch ~/hmm
echo test > ~/test
echo test2 >> ~/test
2023-09-08 22:58:04 +00:00
mkdir ~/dir
touch ~/dir/testing
- name: Install some stuff
ansible.builtin.apt:
update_cache: true
name: qemu-guest-agent
2023-09-10 23:43:36 +00:00
become: true
2023-09-08 22:58:04 +00:00
- name: Enable some stuff
ansible.builtin.systemd:
name: qemu-guest-agent
state: started
enabled: true
2023-09-10 23:43:36 +00:00
become: true