Code Monkey home page Code Monkey logo

Comments (2)

jooola avatar jooola commented on June 16, 2024

Hi @pdcemulator,

I could not reproduce your issue with the following playbook:

- hosts: all
  tasks:
    - name: Gather hcloud server type infos # This should be working
      hcloud_server_type_info:
      register: output

    - name: Create lb  # This should be working, we need the loadbalancer to test hcloud_load_balancer_target
      hetzner.hcloud.hcloud_load_balancer:
        name: load-balancer-1
        load_balancer_type: lb11
        location: fsn1
        state: present

    - name: Create lb target
      hetzner.hcloud.hcloud_load_balancer_target: # We are testing this
        type: label_selector
        load_balancer: load-balancer-1
        label_selector: role=lb
        state: present

And running:

root@22335846fb60:/src# ansible --version
ansible [core 2.13.0]
  config file = /src/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.11/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.11.4 (main, Jul  4 2023, 05:25:16) [GCC 12.2.0]
  jinja version = 3.1.2
  libyaml = True

root@22335846fb60:/src# ansible-galaxy collection list 

# /root/.ansible/collections/ansible_collections
Collection        Version
----------------- -------
ansible.netcommon 5.1.2  
ansible.utils     2.10.3 
hetzner.hcloud    1.16.0 


root@22335846fb60:/src# export HCLOUD_TOKEN=$(get-hcloud-token)
root@22335846fb60:/src# ansible-playbook site.yml -i hosts

Could you share me the logs of the command while running with the verbose mode -vvvv ?

from hetzner.hcloud.

pdcemulator avatar pdcemulator commented on June 16, 2024

Hm strange, at this time I am not able to reproduce this issue. Thanks for investigating jooola!

from hetzner.hcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.