Moved playbook to new directory

This commit is contained in:
2023-11-20 22:27:38 +05:30
parent c3c31afaaf
commit d49b0a2962
8 changed files with 100 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
---
- hosts: all
become: true
vars_prompt:
- name: package_name
prompt: "Enter the name of package to be removed"
private: no
tasks:
- name: Remove a package
apt:
name: "{{ package_name }}"
state: absent
autoremove: true