diff --git a/app/views/ansible_roles/welcome.html.erb b/app/views/ansible_roles/welcome.html.erb
index fd201186..36d73e3d 100644
--- a/app/views/ansible_roles/welcome.html.erb
+++ b/app/views/ansible_roles/welcome.html.erb
@@ -7,7 +7,7 @@
<%= _('No Ansible Roles were found in Foreman. If you want to assign roles to your hosts,
you have to import them first.').html_safe %>
- <%= link_to(_('Learn more about this in the documentation.'), documentation_url('#4.1ImportingRoles', :root_url => ansible_doc_url), target: '_blank') %>
+ <%= link_to(_('Learn more about this in the documentation.'), documentation_url('Managing_Configurations_Ansible', type: 'docs', chapter: 'Importing_Ansible_Roles_and_Variables_ansible'), target: '_blank') %>
<%= ansible_proxy_import(hash_for_import_ansible_roles_path) %>
diff --git a/app/views/ansible_variables/_fields.erb b/app/views/ansible_variables/_fields.erb
index 7498ba99..05d1c6bc 100644
--- a/app/views/ansible_variables/_fields.erb
+++ b/app/views/ansible_variables/_fields.erb
@@ -65,7 +65,7 @@
- <%= _("Specify Matchers") %> <%= documentation_button('4.2.6SmartMatchers') %>
+ <%= _("Specify Matchers") %> <%= documentation_button('Managing_Configurations_Ansible', type: 'docs', chapter: 'Overriding_Ansible_Variables_in_foreman_ansible') %>
<%= render 'lookup_keys/values', :f => f, :is_param => false %>
diff --git a/app/views/ansible_variables/index.html.erb b/app/views/ansible_variables/index.html.erb
index fb345fd8..41b97312 100644
--- a/app/views/ansible_variables/index.html.erb
+++ b/app/views/ansible_variables/index.html.erb
@@ -2,8 +2,7 @@
<%= stylesheet 'foreman_ansible/foreman-ansible' %>
<%= title_actions display_link_if_authorized(_('New Ansible Variable'), hash_for_new_ansible_variable_path, :class => "btn btn-default no-float"),
- documentation_button('#4.3Variables', :root_url => ansible_doc_url)
- %>
+ documentation_button('Managing_Configurations_Ansible', type: 'docs', chapter: 'Importing_Ansible_Roles_and_Variables_ansible') %>