HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode/.deploy/playbooks/.deploy.yml
---
- hosts: all
  serial: 1
  become: yes
  vars:
    gitlab_user: "{{ lookup('env','GITLAB_USER_EMAIL')}}"
    deployment_environment: "{{ lookup('env','GITLAB_DEPLOY_TO') | default('integration') }}"
    deployment_branch: "{{ lookup('env','CI_COMMIT_REF_NAME') | default('unknown') }}"
    project_name: "{{ lookup('env','CI_PROJECT_NAME') | default('unknown') }}"
    commit_sha: "{{ lookup('env','CI_COMMIT_SHA') | default('unknown') }}"
    commit_slug: "{{ lookup('env','CI_COMMIT_REF_SLUG') | default('unknown') }}"
    ansistrano_deploy_from: "{{ playbook_dir }}/app.tgz"
    ansistrano_deploy_to: "/project/quadcode"
    ansistrano_keep_releases: 3
    ansistrano_deploy_via: copy_unarchive
    ansistrano_after_update_code_tasks_file: "{{ playbook_dir }}/after_update_code.yml"
    ansistrano_after_symlink_tasks_file: "{{ playbook_dir }}/after_symlink.yml"
    ansistrano_allow_anonymous_stats: false
    deployment_user: quadcode_deploy
    deployment_group: quadcode_deploy
    ansible_user: quadcode_deploy
  roles:
    - { role: ansistrano-deploy }

  tasks:
    - name: Copy file with owner and permissions
      copy:
        src: /tmp/GeoIP2-City.mmdb
        dest: /project/quadcode/shared/GeoIP2-City.mmdb
        force: yes
        owner: www-data
        group: www-data
        mode: '0644'
      tags: [ 'never', 'geoip' ]