Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional host tag setting ignored when Gather Facts = No #401

Open
jimr6007 opened this issue Nov 16, 2024 · 3 comments
Open

Additional host tag setting ignored when Gather Facts = No #401

jimr6007 opened this issue Nov 16, 2024 · 3 comments

Comments

@jimr6007
Copy link

RD version 5.7/latest
Ansible plugin 4.0.5

As we know, "Gather Facts = No" means generate nodes via ansible-inventory command instead of running the gather-hosts playbook.

With Gather Facts = Yes, the "Additional host tag" is applied as expected.

With Gather Facts = No, the "Additional host tag" value if provided is not applied to the generated Rundeck nodes.

@plaqdk
Copy link

plaqdk commented Dec 16, 2024

RD version 5.8/latest
Ansible plugin 4.0.6-SNAPSHOT (ansible-plugin-4.0.5.jar)

If i run with Gather Facts on I get host and facts

If I set it to false I get this error

    at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.java:284) ~[spring-core-5.3.34.jar!/:5.3.34]                                                                                        
    at java.lang.Thread.run(Thread.java:829) ~[?:?]                                                                                                                                                                                                        

Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key
in 'string', line 2, column 1:
-vvvv to see details
^
could not find expected ':'
in 'string', line 3, column 1:
all:
^

@MegaDrive68k
Copy link

MegaDrive68k commented Dec 16, 2024

Hi folks, could you try the ansible plugin v4.0.7? By default Rundeck 5.8.0 includes v4.0.5. Take a look at this: https://docs.rundeck.com/docs/administration/configuration/plugins/installing.html

@plaqdk
Copy link

plaqdk commented Dec 16, 2024

Just made a new issue to not take focus from this issue as this is regarding tags an my problem is related to host vars

moved to #406

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants