From 5836f54092de4c0d68f03a5b0e24212aa8dc18fc Mon Sep 17 00:00:00 2001 From: Claire DELBOS Date: Wed, 22 Mar 2017 11:40:18 +0100 Subject: [PATCH 1/2] deploiement recette inextenso --- apps/webservice/deploy-inextenso.yml | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 apps/webservice/deploy-inextenso.yml diff --git a/apps/webservice/deploy-inextenso.yml b/apps/webservice/deploy-inextenso.yml new file mode 100644 index 0000000..f8c5993 --- /dev/null +++ b/apps/webservice/deploy-inextenso.yml @@ -0,0 +1,38 @@ +--- +- name: Deploy WebService + hosts: all + remote_user: deploy + become: no + vars: + # Specific + project: webservice + project_tree: "inextenso" + # Always add a trailing / if you want rsync the content of the directory + ansistrano_deploy_from: "/home/vhosts/deploy/export/{{project}}/" + ansistrano_deploy_to: "/home/vhosts/{{project}}-inextenso" + ansistrano_version_dir: releases + ansistrano_current_dir: current + ansistrano_shared_paths: [] + ansistrano_keep_releases: 3 + ansistrano_deploy_via: rsync + ansistrano_allow_anonymous_stats: no + # Variables used in the rsync deployment strategy + ansistrano_rsync_extra_params: "" + ansistrano_rsync_set_remote_user: yes + # Variables used in the Git deployment strategy + #ansistrano_git_repo: ssh://git@192.168.78.249:10022/SCORES/flux.git + #ansistrano_git_branch: master + #ansistrano_git_identity_key_path: "" + # Hooks: custom tasks if you need them + ansistrano_before_setup_tasks_file: "{{playbook_dir}}/tasks/before-setup.yml" + ansistrano_after_setup_tasks_file: "{{playbook_dir}}/tasks/after-setup.yml" + ansistrano_before_update_code_tasks_file: "{{playbook_dir}}/tasks/before-updatecode.yml" + ansistrano_after_update_code_tasks_file: "{{playbook_dir}}/tasks/after-updatecode.yml" + #ansistrano_before_symlink_shared_tasks_file: "{{playbook_dir}}//my-before-symlink-shared-tasks.yml" + #ansistrano_after_symlink_shared_tasks_file: "{{playbook_dir}}//my-after-symlink-shared-tasks.yml" + #ansistrano_before_symlink_tasks_file: "{{playbook_dir}}//my-before-symlink-tasks.yml" + ansistrano_after_symlink_tasks_file: "{{playbook_dir}}/tasks/after-symlink.yml" + #ansistrano_before_cleanup_tasks_file: "{{playbook_dir}}//my-before-cleanup-tasks.yml" + #ansistrano_after_cleanup_tasks_file: "{{playbook_dir}}//my-after-cleanup-tasks.yml" + roles: + - { role: carlosbuenosvinos.ansistrano-deploy } \ No newline at end of file From 810484efbc0c47f811b006e05ffaa47cf1bcc9a6 Mon Sep 17 00:00:00 2001 From: Claire DELBOS Date: Wed, 22 Mar 2017 13:49:06 +0100 Subject: [PATCH 2/2] deploiement branche inextenso en recette --- apps/extranet/deploy-inextenso.yml | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 apps/extranet/deploy-inextenso.yml diff --git a/apps/extranet/deploy-inextenso.yml b/apps/extranet/deploy-inextenso.yml new file mode 100644 index 0000000..da241be --- /dev/null +++ b/apps/extranet/deploy-inextenso.yml @@ -0,0 +1,39 @@ +--- +- name: Deploy Extranet + hosts: all + remote_user: deploy + become: no + vars: + # Specific + project: extranet + project_tree: inextenso + webservice_uri: "http://webservice-ng.sd.lan" + # Always add a trailing / if you want rsync the content of the directory + ansistrano_deploy_from: "/home/vhosts/deploy/export/{{project}}/" + ansistrano_deploy_to: "/home/vhosts/{{project}}-inextenso" + ansistrano_version_dir: releases + ansistrano_current_dir: current + ansistrano_shared_paths: [] + ansistrano_keep_releases: 3 + ansistrano_deploy_via: rsync + ansistrano_allow_anonymous_stats: no + # Variables used in the rsync deployment strategy + ansistrano_rsync_extra_params: "" + ansistrano_rsync_set_remote_user: yes + # Variables used in the Git deployment strategy + #ansistrano_git_repo: ssh://git@192.168.78.249:10022/SCORES/flux.git + #ansistrano_git_branch: master + #ansistrano_git_identity_key_path: "" + # Hooks: custom tasks if you need them + ansistrano_before_setup_tasks_file: "{{playbook_dir}}/tasks/before-setup.yml" + ansistrano_after_setup_tasks_file: "{{playbook_dir}}/tasks/after-setup.yml" + ansistrano_before_update_code_tasks_file: "{{playbook_dir}}/tasks/before-updatecode.yml" + ansistrano_after_update_code_tasks_file: "{{playbook_dir}}/tasks/after-updatecode.yml" + #ansistrano_before_symlink_shared_tasks_file: "{{playbook_dir}}//my-before-symlink-shared-tasks.yml" + #ansistrano_after_symlink_shared_tasks_file: "{{playbook_dir}}//my-after-symlink-shared-tasks.yml" + #ansistrano_before_symlink_tasks_file: "{{playbook_dir}}//my-before-symlink-tasks.yml" + ansistrano_after_symlink_tasks_file: "{{playbook_dir}}/tasks/after-symlink.yml" + #ansistrano_before_cleanup_tasks_file: "{{playbook_dir}}//my-before-cleanup-tasks.yml" + #ansistrano_after_cleanup_tasks_file: "{{playbook_dir}}//my-after-cleanup-tasks.yml" + roles: + - { role: carlosbuenosvinos.ansistrano-deploy } \ No newline at end of file