From 8ee5847bce00e46bf25481fb67ea4a153ccbda05 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 12 Jun 2023 14:06:04 +0200 Subject: [PATCH] supercode --- .vscode/settings.json | 3 +++ 01_linux.yml | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 01_linux.yml 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'