New answers tagged

-1

In ansible, lookup's are executed locally where ansible runs, not on the target server. So you will have to ensure that dnspython is installed on your ansible machine.


0

Most likely, the event driven system you refer to is SaltStack's Reactors and Beacons. As it turns out, Ansible allows the use of Connection plugins to support other transport methods, one of which is SaltStack. This means that there is nothing stopping you from having your cake and eating it too - you can use Ansible to run a playbook using a saltstack ...


0

Failure to validate SSL certificate seems to be happening widely across Linux distributions. Therefore I will post a solution (general idea) which worked for me. The surface problem seems to be that Python is not able to recognize the certificate bundle file. Meanwhile, commandline curl can recognize SSL certificate and download file. The path to the ...


2

Package facts (as any other facts like devices, disks and their partitions, IP addresses...) don't refresh automagically. In your case, you can use a handler and notify it from any task that can possibly invalidate the cache. Here is a quickNdirty example: - name: Pseudo code demo for package facts refresh hosts: localhost tasks: - name: Gather ...


0

Yes, an input host file for ansible looks like https://pastebin.com/Vtfw5FtV The upper part node stuff is generated using terraform, we can dynamically up/down scale the number of nodes with terraform and terraform outputs the yaml used for the hosts part of the file. The tenant-specifiek yml vars (about 150 additional lines of tenant specific config yml) ...


Top 50 recent answers are included