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