Sorry, posting againdeploy_dev-stage.yaml:inventory.yaml:webservers:
hosts:
dev-stage:
ansible_ssh_host: a96872.ftp.mchost.ru
ansible_user: a96872_izg
study_deploy_to: /home/httpd/vhosts/host.example/httpdocs
ansible_remote_tmp: /home/httpd/vhosts/host.example/httpdocs
vars:
git_repo: 'g...@github.com:VitaliyT825/study.git'
project_name: study-
name: DEV-STAGE deployment script
hosts: dev-stage
remote_user: a96872_izg
become_user: a96872_izg
gather_facts: false
roles:
- cbrunnkvist.ansistrano-symfony-deploy
vars:
# custom
deploy_from_branch: '{{ branch }}'
release_console_path: '{{ ansistrano_release_path.stdout }}/{{symfony_console_path}}'
# ansistrano
ansistrano_git_repo: '{{ git_repo }}'
ansistrano_deploy_via: git
ansistrano_current_dir: current
ansistrano_allow_anonymous_stats: false
ansistrano_deploy_to: '{{ study_deploy_to }}'
ansistrano_git_branch: '{{ deploy_from_branch }}'
ansistrano_keep_releases: 5
ansistrano_shared_paths:
- 'var/log'
- 'public/images'
- 'storage'
- 'parameters'
ansistrano_shared_files:
- '.env.local'
# symfony deployer
symfony_env: dev
symfony_php_path: php
symfony_run_composer: true
symfony_composer_options: '-v -n -o --prefer-dist --no-progress'
symfony_console_path: 'bin/console'
symfony_run_assetic_dump: false
symfony_run_doctrine_migrations: true
symfony_doctrine_options: '--no-interaction'
symfony_composer_version: 2.0.9ERROR:TASK [ansistrano.deploy : ANSISTRANO | GIT | Update remote repository] ***************************************************************************************************************************************************************************************
fatal: [dev-stage]: FAILED! => {"changed": false, "cmd": "/usr/bin/git ls-remote g...@github.com:VitaliyT825/study.git -h refs/heads/master", "msg": "ssh: connect to host github.com port 777: Connection timed out
--r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.", "rc": 128, "stderr": "ssh: connect to host github.com port 777: Connection timed out\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n", "stderr_lines": ["ssh: connect to host github.com port 777: Connection timed out", "fatal: Could not read from remote repository.", "", "Please make sure you have the correct access rights", "and the repository exists."], "stdout": "", "stdout_lines": []}My SSH KEY added to github accountвт, 16 мая 2023 г. в 00:02, Tarasov Vitalii <vtar...@marfa-tech.com>:Hello!I have problem when trying to deploy:And my inventory.yamlAnd deploy_dev-stage.yamlWhat I do wrong?--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/acEEn4Z5VQs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/48ed04b9-6aed-41b0-ba96-8b5794d3729dn%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJsN%3DroA9_dUMdO4MhzDMwqYSDjFJbpP08S34zcPpc04xankog%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAF8BbLa%2BytO47Ga8Hc8A80PqpQOf4nuntYsG9VBawfZfncZKKQ%40mail.gmail.com.