Get the most out of your Centmin Mod LEMP stack
Become a Member

Can't download Beta installer with ansible get_url

Discussion in 'AlmaLinux 8 & Rocky Linux 8 Beta Testing' started by BamaStangGuy, Feb 17, 2023.

  1. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    9:06 PM
    Returns a 403 error. Betting it has something to do with security on Cloudflare.

    Code:
    fatal: [192.168.1.251]: FAILED! => {"changed": false, "dest": "/mnt/share/development/centminmod-el8/installer-el8x-81.sh", "elapsed": 0, "msg": "Request failed", "response": "HTTP Error 403: Forbidden", "status_code": 403, "url": "https://centminmod.com/installer-el8x-81.sh"}
    Ansible code:


    Code:
        - name: Download latest installer
          get_url:
            url: https://centminmod.com/installer-el8x-81.sh
            dest: /mnt/share/development/centminmod-el8/installer-el8x-81.sh
            mode: "0777"
            headers:
              user-agent: Ansible
            force: yes
    Possible to check on your end to see if this is getting flagged? If it is, any suggestions on how to unblock Ansible?
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,546
    12,221
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,790
    Local Time:
    1:06 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Is this being run on local development server or remote dedicated/VPS ?
     
  3. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    9:06 PM
    Its a debian container on my proxmox server so the wan ip is my home isp.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,546
    12,221
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,790
    Local Time:
    1:06 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I see. Yup it got caught in Cloudflare Firewall rules heh. Try now, should be ok I think :)
     
  5. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    9:06 PM
    Thanks, working now.