# Install local package

**URL:** <https://forum.ansible.com/t/install-local-package/20338>\
**Category:** Ansible Project\
**Created:** [January 25, 2016, 2:03pm UTC](https://forum.ansible.com/t/install-local-package/20338 "2016-01-25T14:03:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jupitertt84](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jupitertt84](https://forum.ansible.com/u/jupitertt84)\
**Post date:** [January 25, 2016, 2:03pm UTC](https://forum.ansible.com/t/install-local-package/20338/1 "2016-01-25T14:03:48Z")

</div>

Hi,

I’m trying to install a rpm file on my remote hosts. The file is present on the controller. How should I proceed to do that ? I tried using a combination of copying the file, then installing it with yum, then removing the temporary rpm file to clean it up, but is this the recommended way to proceed ? It has the side effect of showing there are always “changed=2” (copy+remove) in the ansible logs…

Thanks.
