Playbooks to a new Lilik
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.

27 lines
599 B

  1. # see /usr/share/doc/gitlab/README.Debian.gz
  2. # for instruction on how to migrate and reset root password
  3. - name: configure gitlab (fqdn)
  4. debconf:
  5. name: 'gitlab'
  6. question: 'gitlab/fqdn'
  7. vtype: 'string'
  8. value: '{{ fqdn }}'
  9. - include_role:
  10. name: service
  11. vars:
  12. service_name: gitlab
  13. service_packages:
  14. - gitlab
  15. - name: remove debian nginx configuration
  16. file:
  17. path: '/etc/nginx/sites-enabled/{{ fqdn }}'
  18. state: absent
  19. - name: copy my-gitlab.yml
  20. template:
  21. src: "gitlab.yml.j2"
  22. dest: "/etc/gitlab/gitlab.yml"
  23. notify: restart gitlab