From d6ed02d18c3f21c484b4780aa981cc17501092d9 Mon Sep 17 00:00:00 2001 From: Dirk Wirts Date: Thu, 26 Oct 2023 17:02:53 +0200 Subject: [PATCH] update --- Inventories/test/inventory | 2 +- ansible-inst-soft.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 ansible-inst-soft.yml diff --git a/Inventories/test/inventory b/Inventories/test/inventory index 241707c..8005458 100644 --- a/Inventories/test/inventory +++ b/Inventories/test/inventory @@ -1,5 +1,5 @@ [debian] -ansible-test01 ansible_host=172.20.1.31 hostname=ansible-test01 +# ansible-test01 ansible_host=172.20.1.31 hostname=ansible-test01 ansible-test02 ansible_host=172.20.1.167 hostname=ansible-test02 [deb12] ansible-test02 ansible_host=172.20.1.167 hostname=ansible-test02 diff --git a/ansible-inst-soft.yml b/ansible-inst-soft.yml new file mode 100644 index 0000000..bda0318 --- /dev/null +++ b/ansible-inst-soft.yml @@ -0,0 +1,10 @@ +--- +- name: "Install packages" + hosts: deb12 + + tasks: + - name: "Install netaddr" + package: + name: "netaddr" + state: "present" + become: True