Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 line
690 B

  1. ---
  2. - name: Ensure ddclient domain config exists
  3. template:
  4. src: "{{ role_path }}/templates/ddclient.conf.j2"
  5. dest: "/etc/ddclient.conf"
  6. mode: 0600
  7. - name: Ensure ddclient client config directory exists
  8. file:
  9. path: "/etc/default"
  10. state: directory
  11. mode: 0700
  12. owner: "{{ matrix_user_username }}"
  13. group: "{{ matrix_user_groupname }}"
  14. - name: Ensure ddclient client config exists
  15. copy:
  16. content: "run_dhclient=\"true\"\nrun_ipup=\"false\"\nrun_daemon=\"false\""
  17. dest: "/etc/default/ddclient"
  18. mode: 0600
  19. owner: "{{ matrix_user_username }}"
  20. group: "{{ matrix_user_groupname }}"
  21. - import_tasks: "{{ role_path }}/tasks/platform/main.yml"