Add support for retry files configuration
Change-Id: I2b9806de3516ab1a2606bd982f2eecd432d19527
This commit is contained in:
parent
33164d2340
commit
73bf1baa15
|
@ -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