Smart Proxy - ACD
This plug-in adds support for Application Centric Deployment to Foreman's Smart Proxy.
Features
- Download the ansible playbook to run
- Run the ansible playbook on the smart proxy
- The ansible playbook will send the report back to foreman
Installation (in development)
Prerequisites
We expect your proxy to also have smart_proxy_dynflow a gem requirement.
Get the code
Smart proxy part
Clone the repository:
git clone git@github.com:ATIX-AG/smart_proxy_acd.git
Point the foreman proxy to use this plugin with this line in proxy's bundler.d/Gemfile.local.rb
assuming the smart proxy and smart_proxy_acd
share the same parent directory.
gem 'smart_proxy_acd', :path => '../smart_proxy_acd'
Enable the plugin in proxy's config/settings.d/acd.yml
:
---
:enabled: true
Foreman part
Refer to foreman_acd instructions.
Check it's working
After the proxy are up and running, reload the proxy features on Foreman (Infrastructure > Smart Proxies) and the ACD feature should appear as a new one.
At this point, you should be able to run an ansible playbook of a application instance configured by application centric deployment. You should be able to see the output of these jobs under 'Monitor > Jobs' in Foreman.
Contributing
Fork and send a Pull Request. Thanks!
Copyright
Copyright (c) 2021 ATIX AG
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.