Notes: The targets must have SSH for root turned on for this example to work. For Ubuntu and several other OSes you will have to change the PermitRootLogin setting for SSHD to "yes" The ansible targets must also have Python installed. Otherwise great tutorial. Thank you.
Great video Jay. Just curious whether you might eventually show, or at least point viewers towards resources for setting up Ansible to run against Windows hosts. I almost had this working as a PoC at one point a few years ago. There just seems to be a general lack of good information on this. I am mostly Linux for my own endeavors, but still have to maintain some Windows machines for my day job.
Curious why did you place Ansible inside of a Miniconda/Python Virtual Environment? Is there a follow up video explaining the reasoning for that choice or at least an example as to why that would be better than just installing it directly to the machine listed as ansible-controller?
welldone if you continued with the video the end, I had enough after 15 minutes. I can follow along easily but just don't have the patience when not really learning what I "signed up for".
Yeah, feel the same way. Ansible is extremely complicated. There should be a "yum install ansible" and be done with it but its clearly not that simple.
The target instances must have SSH for root turned on. On Ubuntu and several other distros you will have to change the PermitRootLogin setting for SSHD to "yes" The ansible instances must also have Python installed.
To download ansible you'll first need to add the ansible repo in the sources list as in 13:54 You can then update your packages and install ansible with the commands starting at 15:08
Circling back to this comment. The public key for the Ansible repository in the video does not work. Is there now a different repository and/or public key?
Notes:
The targets must have SSH for root turned on for this example to work. For Ubuntu and several other OSes you will have to change the PermitRootLogin setting for SSHD to "yes"
The ansible targets must also have Python installed.
Otherwise great tutorial. Thank you.
Great video ! Thanks
Thanks for sharing
Great video Jay. Just curious whether you might eventually show, or at least point viewers towards resources for setting up Ansible to run against Windows hosts.
I almost had this working as a PoC at one point a few years ago. There just seems to be a general lack of good information on this.
I am mostly Linux for my own endeavors, but still have to maintain some Windows machines for my day job.
While we don't plan on supporting Windows anytime soon, you might be able to find more info here www.ansible.com/for/windows
Curious why did you place Ansible inside of a Miniconda/Python Virtual Environment? Is there a follow up video explaining the reasoning for that choice or at least an example as to why that would be better than just installing it directly to the machine listed as ansible-controller?
Why does your doc not have the instructions for adding the repo?
Ansible seem to complicated to install and use...
welldone if you continued with the video the end, I had enough after 15 minutes. I can follow along easily but just don't have the patience when not really learning what I "signed up for".
Yeah, feel the same way. Ansible is extremely complicated. There should be a "yum install ansible" and be done with it but its clearly not that simple.
why are you using the private key over the public key?
What is the terminal you are using?
I'm wondering the same
Apparently it is Lindo's terminal
Hello, thank you for good tutorial. My problem is I have disabled root login over ssh to my servers. Is there any workaround ?
Make a user on your system that is part of the sudo group and try it that way. Let me know if it worked!
keeps failing asking if im root on servers, when running the playbook
The target instances must have SSH for root turned on. On Ubuntu and several other distros you will have to change the PermitRootLogin setting for SSHD to "yes"
The ansible instances must also have Python installed.
Where did you get the ip address from, after used the copy command?
ip -br -c addr show
You didn't cover:
- where to download application
- installation of application
Is that in another video?
To download ansible you'll first need to add the ansible repo in the sources list as in 13:54
You can then update your packages and install ansible with the commands starting at 15:08
Circling back to this comment. The public key for the Ansible repository in the video does not work. Is there now a different repository and/or public key?
can they access via winrm?
Third, tercero.
Second, I suppose
First, I guess