Working setup

This commit is contained in:
lif
2025-10-17 14:11:52 +01:00
parent 5b3cd2b8b6
commit 492318c2e1
9 changed files with 49 additions and 173 deletions

View File

@@ -3,15 +3,7 @@
become: true
tasks:
# write hello world to a file in the home directory
- name: write hello
copy:
content: "hello ansible!"
dest: /home/vagrant/hello.txt
mode: 0644
become: true
- name: Echo hello
shell: echo 'hello ansible!'
- name: Placeholder
shell: echo 'We don\'t use the setup playbook as they run in sequence. Better to run on the whole inventory after.'
args:
chdir: $HOME