Open cojmckee opened 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
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.
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
Added a play with ansible foreman modules
@cojmckee wouldn't you need to include this theformen
role in here somewhere or is that a module in Ansible now?
@itewk not yet Will upload add the module to the role and upload it
@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?
@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.