# My first steps: apt module

**URL:** <https://forum.ansible.com/t/my-first-steps-apt-module/25067>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [July 24, 2017, 11:48am UTC](https://forum.ansible.com/t/my-first-steps-apt-module/25067 "2017-07-24T11:48:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Kaagman](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@Peter\_Kaagman](https://forum.ansible.com/u/Peter_Kaagman)\
**Post date:** [July 24, 2017, 11:48am UTC](https://forum.ansible.com/t/my-first-steps-apt-module/25067/1 "2017-07-24T11:48:37Z")

</div>

Hi there group,

I’m making my first baby steps with ansible. After fooling around with ad-hoc command I thought I’d make the steps to playbooks. Looks promissing 😃  
Ultimate goal is managing my switches, have been playing around with my Ubuntu systems thought. Thought I’d automate my update cyle… wrote a playbook for it (with help from severall posts I found on the web:

`

---

<div class="post-metadata">

**Author:** ![Dick\_Davies](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Post date:** [July 24, 2017, 11:57am UTC](https://forum.ansible.com/t/my-first-steps-apt-module/25067/2 "2017-07-24T11:57:40Z")

</div>

Old version? [http://docs.ansible.com/ansible/latest/apt\_module.html](http://docs.ansible.com/ansible/latest/apt_module.html) says:

"autoremove  
(added in 2.1)"

---

<div class="post-metadata">

**Author:** ![Peter\_Kaagman](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@Peter\_Kaagman](https://forum.ansible.com/u/Peter_Kaagman)\
**Post date:** [July 24, 2017, 12:15pm UTC](https://forum.ansible.com/t/my-first-steps-apt-module/25067/3 "2017-07-24T12:15:59Z")

</div>

Hmmm

`pkn@chronos-2017:~$ ansible --version ansible 2.0.0.2 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides`

Yup ☹

---

<div class="post-metadata">

**Author:** ![Peter\_Kaagman](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@Peter\_Kaagman](https://forum.ansible.com/u/Peter_Kaagman)\
**Post date:** [July 24, 2017, 12:42pm UTC](https://forum.ansible.com/t/my-first-steps-apt-module/25067/4 "2017-07-24T12:42:53Z")

</div>

Thanks for your help Dick… did solve the autoremove issue 😃
