|
| 1 | +{ |
| 2 | + "title": "Ansible", |
| 3 | + "description": "Ansible setup to manage a Docker Swarm cluster for Plone hosting", |
| 4 | + "folder_name": "{{ cookiecutter.title|replace(' ', '')|replace('-', '_')|replace('.', '')|lower }}", |
| 5 | + "hostname": "{{ cookiecutter.folder_name }}.example.com", |
| 6 | + "hostname_or_ip": "{{ cookiecutter.hostname }}", |
| 7 | + "stack_name": "{{ cookiecutter.hostname|replace('.', '-') }}", |
| 8 | + "stack_prefix": "{{ cookiecutter.hostname | extract_host | replace('.', '-') }}", |
| 9 | + "stack_location": "etc/stacks/{{ cookiecutter.hostname }}.yml", |
| 10 | + "author": "Plone Community", |
| 11 | + |
| 12 | + "repository_type": ["github", "gitlab_com", "gitlab"], |
| 13 | + "organization": "collective", |
| 14 | + "repository_url": "https://github.com/{{ cookiecutter.organization }}/{{ cookiecutter.folder_name }}", |
| 15 | + "container_registry": ["github", "docker_hub", "gitlab"], |
| 16 | + "initialize_git": ["1", "0"], |
| 17 | + "__folder_name": "{{ cookiecutter.folder_name }}", |
| 18 | + "__project_slug": "{{ cookiecutter.folder_name }}", |
| 19 | + "__devops_host": "{{ cookiecutter.hostname | extract_host }}", |
| 20 | + "__devops_stack_name": "{{ cookiecutter.stack_name }}", |
| 21 | + "__devops_stack_prefix": "{{ cookiecutter.stack_prefix }}", |
| 22 | + "__devops_swarm_public_network": "nw-public", |
| 23 | + "__devops_swarm_stack_network": "nw-internal", |
| 24 | + "__devops_traefik_version": "v2.11", |
| 25 | + "__devops_traefik_stack_include_ui": "no", |
| 26 | + "__devops_cronjob_version": "1.14", |
| 27 | + "__devops_project_user": "500", |
| 28 | + "__repository_url": "{{ cookiecutter.repository_url }}", |
| 29 | + "__container_registry_prefix": "{{ cookiecutter.container_registry | image_prefix }}", |
| 30 | + "__container_image_prefix": "{{ cookiecutter.__container_registry_prefix }}{{ cookiecutter.organization }}/{{ cookiecutter.__project_slug }}", |
| 31 | + "__year": "{% now 'local', '%Y' %}", |
| 32 | + "__generator_date_long": "{% now 'utc', '%Y-%m-%d %H:%M:%S' %}", |
| 33 | + "__generator_signature": "This was generated by the [cookieplone-templates documentation_starter template](https://github.com/plone/cookieplone-templates/tree/main/documentation_starter) on {{ cookiecutter.__generator_date_long }}", |
| 34 | + "__documentation_starter_format": "1", |
| 35 | + "__prompts__": { |
| 36 | + "title": "Title", |
| 37 | + "description": "A short description for this repository", |
| 38 | + "folder_name": "Name of the folder to be created", |
| 39 | + "hostname": "Public URL of the server", |
| 40 | + "hostname_or_ip": "Address of the server (IP or hostname)", |
| 41 | + "repository_type": { |
| 42 | + "__prompt__": "Repository Type", |
| 43 | + "github": "GitHub", |
| 44 | + "gitlab_com": "GitLab.com", |
| 45 | + "gitlab": "GitLab Self-Hosted" |
| 46 | + }, |
| 47 | + "organization": "GitHub / GitLab Username or Organization", |
| 48 | + "repository_url": "Repository URL", |
| 49 | + "container_registry": { |
| 50 | + "__prompt__": "Container Registry", |
| 51 | + "github": "GitHub Container Registry", |
| 52 | + "docker_hub": "Docker Hub", |
| 53 | + "gitlab": "GitLab" |
| 54 | + }, |
| 55 | + "stack_name": "Docker Swarm Stack Name", |
| 56 | + "stack_prefix": "A 5 to 10 character prefix for the stack", |
| 57 | + "author": "Author", |
| 58 | + "email": "Author E-mail", |
| 59 | + "initialize_git": { |
| 60 | + "__prompt__": "Initialize Git Repository?", |
| 61 | + "1": "Yes", |
| 62 | + "0": "No" |
| 63 | + } |
| 64 | + }, |
| 65 | + "_copy_without_render": [ |
| 66 | + "etc/.ssh", |
| 67 | + "etc/base", |
| 68 | + "etc/docker", |
| 69 | + "etc/keys", |
| 70 | + "etc/ssh", |
| 71 | + "playbooks", |
| 72 | + "requirements", |
| 73 | + "tasks" |
| 74 | + ], |
| 75 | + "_extensions": [ |
| 76 | + "cookieplone.filters.pascal_case", |
| 77 | + "cookieplone.filters.extract_host", |
| 78 | + "cookieplone.filters.image_prefix" |
| 79 | + ], |
| 80 | + "__cookieplone_repository_path": "", |
| 81 | + "__cookieplone_template": "" |
| 82 | +} |
0 commit comments