diff --git a/app/helpers/foreman_ansible/ansible_plugin_helper.rb b/app/helpers/foreman_ansible/ansible_plugin_helper.rb index 628550c2e..88b674b39 100644 --- a/app/helpers/foreman_ansible/ansible_plugin_helper.rb +++ b/app/helpers/foreman_ansible/ansible_plugin_helper.rb @@ -6,9 +6,7 @@ module ForemanAnsible # General helper for foreman_ansible module AnsiblePluginHelper def ansible_doc_url - major_version = ::ForemanAnsible::VERSION.split('.')[0] - 'https://theforeman.org/plugins/foreman_ansible/'\ - "#{major_version}.x/index.html" + 'https://docs.theforeman.org/nightly/Managing_Configurations_Ansible/index-foreman-el.html' end end end diff --git a/app/views/ansible_roles/index.html.erb b/app/views/ansible_roles/index.html.erb index def0fd832..ac39940ad 100644 --- a/app/views/ansible_roles/index.html.erb +++ b/app/views/ansible_roles/index.html.erb @@ -1,7 +1,8 @@ <% title _("Ansible Roles") %> <% title_actions ansible_proxy_import(hash_for_import_ansible_roles_path), - documentation_button('#4.1ImportingRoles', :root_url => ansible_doc_url) %> + documentation_button('#Importing_Ansible_Roles_and_Variables_ansible', :root_url => ansible_doc_url) %> +