Andrej
Andrej
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
now that i understand what is going on i will have a look again and report back to you
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
damn, okay i didnt get this from the docs really 😄 let me absorb all this, try it and ill post the result here. thank you sir
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
and the agent is executed on a machine by the init_script?
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
but im struggling to understand how the startup script works. I used it to do basic command like ls or sleep , but its creation finished in 0 seconds
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
yes
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
i have ansible-playbook inside the base image now
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
yes
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
dont worry, i really appriciate your effort
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
do you think its possible to do it in the startup script though?
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
yeah, those were the 2 options 😄
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
i know, i am using it to first setup openstack VMs and then ansible to setup kubernetes
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
because we are creating the kubernetes clusters on the openstack cloud
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
first one
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
yeah basically
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
@Phorcys do you think i should use startup_script for this instead?
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
yes, im aware
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
i managed to do this kubernetes setup when i ran the local-exec in the root, but once moved to a module, it stopped working
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
I wanted to move all of the code to a module, so that coder template consists only coder parameters, module resouce and coder metadata
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
we have this project to setup kubernetes using openstack and ansible. what im trying to do is run all of this in coder, running ansible with some other scripts to set it up. The code i sent above is just to reproduce the issue.
48 replies
CCoder.com
Created by Andrej on 11/8/2024 in #help
Bug with local exec in a module
when using this directory on both my local machine and INSIDE docker coder container, terraform apply finishes with no errors and both list content of ssh dir.
48 replies