# Custom Module: Adding module for 'atomic' command for Atomic Host Platforms

**URL:** <https://forum.ansible.com/t/custom-module-adding-module-for-atomic-command-for-atomic-host-platforms/20967>\
**Category:** Ansible Developer\
**Tags:** rhel\
**Created:** [March 23, 2016, 12:24pm UTC](https://forum.ansible.com/t/custom-module-adding-module-for-atomic-command-for-atomic-host-platforms/20967 "2016-03-23T12:24:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saravanan\_KR](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@Saravanan\_KR](https://forum.ansible.com/u/Saravanan_KR)\
**Post date:** [March 23, 2016, 12:24pm UTC](https://forum.ansible.com/t/custom-module-adding-module-for-atomic-command-for-atomic-host-platforms/20967/1 "2016-03-23T12:24:14Z")

</div>

Hello,

I am using Atomic Host Platforms and found a important utility missing - ‘atomic’ command. As you might be aware, the Atomic Host is a restricted platform to run only containers and atomic command provides ways to manage the platform including installing new containers.

Sample Usage:  
`

- name:Upgrade the atomic host platform  
atomic: command=host state=upgrade

- name:Install rhel-tools container  
atomic: command=install image=‘rhel7/rhel-tools’

`

I have pasted the code on the here [1], very pre-mature.

It would be great to know the feedback on the proposed module. Please comment, based on which I will proceed further.

Regards,  
Saravanan KR

[1] [https://gist.github.com/krsacme/b2fb1d55f6d1837d60ff](https://gist.github.com/krsacme/b2fb1d55f6d1837d60ff)
