Learn about Centmin Mod LEMP Stack today
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

    669
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:43 AM
    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

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    3:43 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Is this being run on local development server or remote dedicated/VPS ?
     
  3. BamaStangGuy

    BamaStangGuy Active Member

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

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    3:43 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    I see. Yup it got caught in Cloudflare Firewall rules heh. Try now, should be ok I think :)
     
  5. BamaStangGuy

    BamaStangGuy Active Member

    669
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:43 AM
    Thanks, working now.