RedHatOfficial / ansible-role-redhat_satellite6_installation

Ansible Automation of Red Hat Satellite 6 Installation
MIT License
19 stars 29 forks source link

added a post config #18

Open cojmckee opened 5 years ago

itewk commented 5 years ago

@cojmckee rather then using shell command can one of these modules do what is needed https://github.com/theforeman/foreman-ansible-modules/tree/master/plugins/modules

That way its idempotent and so forth.

itewk commented 5 years ago

@cojmckee i think this module would do it: https://github.com/theforeman/foreman-ansible-modules/blob/master/plugins/modules/foreman_setting.py

itewk commented 5 years ago

since the katello/formen modules arn't on ansible galaxy still the only "good" option is to copy paste the required module into a lib directory in this project so you can use it here. Give it a shot.

cojmckee commented 5 years ago

roger

On Tue, Sep 3, 2019 at 9:36 AM Ian Tewksbury notifications@github.com wrote:

since the katello/formen modules arn't on ansible galaxy still the only "good" option is to copy paste the required module into a lib directory in this project so you can use it here. Give it a shot.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RedHatOfficial/ansible-role-redhat_satellite6_installation/pull/18?email_source=notifications&email_token=AHYDS77YRNSX6QTETSZU5JTQHZR7NA5CNFSM4ITGJFWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5YG2OI#issuecomment-527461689, or mute the thread https://github.com/notifications/unsubscribe-auth/AHYDS7ZCWYL7UXVZMVBDIELQHZR7NANCNFSM4ITGJFWA .

--

Cory McKee

Senior Consultant

Red Hat Public Sector https://www.redhat.com

8260 Greensboro Drive

McLean, VA 22102

cmckee@redhat.com M: 5714090193 https://red.ht/sig TRIED. TESTED. TRUSTED. https://redhat.com/trusted @redhatjobs https://twitter.com/redhatjobs redhatjobs https://www.facebook.com/redhatjobs/ @redhatjobs https://instagram.com/redhatjobs

cojmckee commented 4 years ago

Added a play with ansible foreman modules

itewk commented 4 years ago

@cojmckee wouldn't you need to include this theformen role in here somewhere or is that a module in Ansible now?

cojmckee commented 4 years ago

@itewk not yet Will upload add the module to the role and upload it

itewk commented 4 years ago

@cojmckee i dont see the module in here, and from a quick search its not part of default ansible. can you add it to the library here?