From a0868a1940545be24635825bf963e3c9130c6451 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 18 Oct 2021 12:15:23 +0200 Subject: [PATCH] added playbook and ansible auto exec --- install.sh | 3 ++- playbook.yml | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 playbook.yml diff --git a/install.sh b/install.sh index 6ee15a1..2cec236 100644 --- a/install.sh +++ b/install.sh @@ -2,4 +2,5 @@ pacman-key --init pacman-key --populate pacman -Sy --noconfirm git ansible git clone https://gitea.maiertobi.de/tobimai/setup_ansible_playbooks.git install -cd install \ No newline at end of file +cd install +ansible-playbook playbook.yml diff --git a/playbook.yml b/playbook.yml new file mode 100644 index 0000000..b7775d5 --- /dev/null +++ b/playbook.yml @@ -0,0 +1,8 @@ +--- +- name: Initial installation of WSL arch + hosts: localhost + tasks: + - name: test + copy: + content: Hello World + dest: ./tmp.txt