diff --git a/files/library/config_management/puppet b/files/roles/puppet/library/puppet similarity index 100% rename from files/library/config_management/puppet rename to files/roles/puppet/library/puppet diff --git a/manifests/init.pp b/manifests/init.pp index 3c15429..a9546b0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -43,10 +43,7 @@ class ansible ( } file { '/etc/ansible/library': - ensure => directory, - recurse => true, - source => 'puppet:///modules/ansible/library', - require => File['/etc/ansible'], + ensure => absent, } include logrotate diff --git a/templates/ansible.cfg.erb b/templates/ansible.cfg.erb index 94fd27c..1e659d8 100644 --- a/templates/ansible.cfg.erb +++ b/templates/ansible.cfg.erb @@ -1,4 +1,4 @@ [defaults] hostfile=<%= @ansible_hostfile %> -library=/usr/share/ansible:/etc/ansible/library +library=/usr/share/ansible log_path=/var/log/ansible.log