Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

Not launched on AWS #1

@lv70

Description

@lv70

Hi, tried your script. I'm not much of a programmer, btw. Have AWS, debian 11.10, pasted the launcher.sh in - on creation of instance, but after creation, no web server on my public IP. Ran the launcher.sh again from cmd line to see and got this:

TASK [php-common : Pin Sury packages.] ****************************************************************************************
ok: [localhost]

TASK [php-common : Add Sury PHP repository to unattended-upgrades origins list.] **********************************************
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'apt_origin'. 'dict object' has no attribute 'apt_origin'\n\nThe error appears to be in '/home/ce-dev/ce-provision/roles/php-common/tasks/main.yml': line 24, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add Sury PHP repository to unattended-upgrades origins list.\n  ^ here\n"}

PLAY RECAP ********************************************************************************************************************
localhost                  : ok=87   changed=17   unreachable=0    failed=1    skipped=51   rescued=0    ignored=0   

Any ideas?
Ta.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions