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

polemarch & ansible & adding new systems & variables #138

Closed
joyride9999 opened this issue Apr 15, 2020 · 4 comments · Fixed by #139
Closed

polemarch & ansible & adding new systems & variables #138

joyride9999 opened this issue Apr 15, 2020 · 4 comments · Fixed by #139
Assignees
Labels
investigating We are trying to reproduce the issue

Comments

@joyride9999
Copy link

joyride9999 commented Apr 15, 2020

While adding new system to FUN, the variables defined in

/srv/fluffi/data/polenext/projects/1/hosts

in [windows:vars] category where not imported in polemarch. Had to add them manually in polemarch for the system to have the status ok.

Maybe i did something wrong along the way... but i'm thinking in the usage section

Tell FLUFFI about the system. To do so you have two options: either add it to ansible's hosts file (persistent), or use the Add System button in FLUFFI's web GUI. When adding it, just use the system's host name without any domain suffix

this category should be expanded a bit and have more description on what should be done also in polemarch.

@TomSie
Copy link
Collaborator

TomSie commented Apr 15, 2020

Could you please post your /srv/fluffi/data/polenext/projects/1/hosts file?

@TomSie TomSie added the investigating We are trying to reproduce the issue label Apr 15, 2020
@joyride9999
Copy link
Author

joyride9999 commented Apr 15, 2020

hosts.txt

  • it has txt type in order to be able to upload it here :)

@TomSie
Copy link
Collaborator

TomSie commented Apr 15, 2020

I think the problem is, that you need to specify your hosts like this:
<hostname> ansible_ssh_host=<hostname>.fluffi

You, however just changed the second and left the first one as an example value. Can you please verify this (documentation is on the way).

@joyride9999
Copy link
Author

joyride9999 commented Apr 15, 2020

does not seems to do it .. i tried for linux and changed to

[linux]
batrix2 ansible_ssh_host=batrix2.fluffi

VirtualBox_ubuntu 18 04 main_15_04_2020_15_50_57

Capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We are trying to reproduce the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants