Module: ForemanAnsible::AnsiblePluginHelper

Defined in:
app/helpers/foreman_ansible/ansible_plugin_helper.rb

Overview

General helper for foreman_ansible

Instance Method Summary collapse

Instance Method Details

#ansible_doc_urlObject



8
9
10
11
12
# File 'app/helpers/foreman_ansible/ansible_plugin_helper.rb', line 8

def ansible_doc_url
  major_version = ::ForemanAnsible::VERSION.split('.')[0]
  'https://theforeman.org/plugins/foreman_ansible/'\
    "#{major_version}.x/index.html"
end