setup_puppet.yml 534 B

123456789101112131415161718192021222324
  1. ---
  2. - name: make puppet conf dir
  3. file:
  4. dest: "{{ oo_proxy_puppet_volume_dir }}/etc/puppet"
  5. mode: 755
  6. owner: root
  7. group: root
  8. state: directory
  9. - name: upload puppet auth config
  10. copy:
  11. src: puppet/auth.conf
  12. dest: "{{ oo_proxy_puppet_volume_dir }}/etc/puppet/auth.conf"
  13. mode: 0644
  14. owner: root
  15. group: root
  16. - name: upload puppet config
  17. template:
  18. src: puppet/puppet.conf.j2
  19. dest: "{{ oo_proxy_puppet_volume_dir }}/etc/puppet/puppet.conf"
  20. mode: 0644
  21. owner: root
  22. group: root