Merge "Add support for retry files configuration"
This commit is contained in:
commit
d8198978d5
|
@ -1,8 +1,10 @@
|
|||
# == Class: ansible
|
||||
#
|
||||
class ansible (
|
||||
$ansible_hostfile = '/etc/ansible/hosts',
|
||||
$ansible_roles_path = '/etc/ansible/roles',
|
||||
$ansible_hostfile = '/etc/ansible/hosts',
|
||||
$ansible_roles_path = '/etc/ansible/roles',
|
||||
$retry_files_enabled = undef,
|
||||
$retry_files_save_path = undef,
|
||||
) {
|
||||
|
||||
include ::logrotate
|
||||
|
|
|
@ -3,3 +3,9 @@ hostfile=<%= @ansible_hostfile %>
|
|||
library=/usr/share/ansible
|
||||
log_path=/var/log/ansible.log
|
||||
roles_path=<%= @ansible_roles_path %>
|
||||
<% if @retry_files_enabled != :undef -%>
|
||||
retry_files_enabled=<%= @retry_files_enabled %>
|
||||
<% end -%>
|
||||
<% if @retry_files_save_path != :undef -%>
|
||||
retry_files_save_path=<%= @retry_files_save_path %>
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in New Issue