diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..5d71af8 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "ansible.python.interpreterPath": "/bin/python3" +} \ No newline at end of file diff --git a/01_linux.yml b/01_linux.yml new file mode 100644 index 0000000..c2d92c3 --- /dev/null +++ b/01_linux.yml @@ -0,0 +1,11 @@ +--- +- name: First Playbook + hosts: linuxservers + become: true + + tasks: + - name: Create file + ansible.buildin.file: + path: /root/testfile.txt + state: touch + mode: '0755'