Learn about Centmin Mod LEMP Stack today
Register Now

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:
    10:45 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

    52,186
    11,998
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,501
    Local Time:
    1:45 PM
    Nginx 1.25.x
    MariaDB 10.x
    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:
    10:45 PM
    Its a debian container on my proxmox server so the wan ip is my home isp.
     
  4. eva2000

    eva2000 Administrator Staff Member

    52,186
    11,998
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,501
    Local Time:
    1:45 PM
    Nginx 1.25.x
    MariaDB 10.x
    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:
    10:45 PM
    Thanks, working now.