AzureRM Auth Question
Reddit » Ansible
by /u/King_Chochacho
2m ago
I'm super new to Ansible so apologies in advance if this is a silly question. I'm trying to use it for some basic admin tasks on a handful of Linux VMs in Azure. I see there's an Azure collection with a bunch of azurerm modules that seem to support authentication via managed identity with 'auth_source: msi'. However it seems like that is just for managing Azure resources and can't be used to actually authenticate to a VM to do stuff inside the OS, is that correct? It seems like the best practice here without an orchestration component would be to pull SSH keys from a key vault? Is there a bet ..read more
Visit website
Write better Ansible Playbooks!
Reddit » Ansible
by /u/seanx820
6h ago
submitted by /u/seanx820 [visit reddit] [comments ..read more
Visit website
Undefined variable when passing through tasks
Reddit » Ansible
by /u/TheDucksheep
16h ago
Hi! I'm stuck at some weird error regarding the vmware_esxi_idrac_credentials fact. Tasks where I put the variables through ' vars' fail with an undefined. However the var exists because it gets show in the taskname. (see output). Any advice would be appreciated!! Output: TASK : Add public keys to authorized hosts of root *** fatal: [esx001.test -> {{ vmware_esxi_idrac_ip }}]: FAILED! => {"msg": "'vmware_esxi_idrac_credentials' is undefined. 'vmware_esxi_idrac_credentials' is undefined"} Task example: - name: Add public keys to authorized hosts of {{ vmware_esxi_idrac_credentials.lo ..read more
Visit website
Which files to keep in github?
Reddit » Ansible
by /u/alyflex
16h ago
I am trying to wrap my head around ansible and how to use it securely. I am currently following this guide for some github automation: https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/asif-mahmud1/2020/03/15/cloning-private-git-repository-using-ansible?communityKey=ce54fe94-0145-4832-a0ef-4ea81d6062cc In that guide I create a github token, which I want to keep secure. To keep it secure I create an encrypted pass-phrase file: echo "ansible-password-phrase" | openssl aes-256-cbc -a -salt > ./keys/.ansible_vault.pass which I then use to encrypt the github token: ansible-va ..read more
Visit website
Json_query
Reddit » Ansible
by /u/No_Call_9655
19h ago
since ansible engine is no longer available on rhel9 how can i get the json query module that i so much like ? https://www.redhat.com/en/blog/updates-using-ansible-rhel-86-and-90 submitted by /u/No_Call_9655 [visit reddit] [comments ..read more
Visit website
Attach iso to VM from VMware content library
Reddit » Ansible
by /u/Kube_sg1
19h ago
Hello, Is there a module that allows me to map an ISO from a content library ? submitted by /u/Kube_sg1 [visit reddit] [comments ..read more
Visit website
Event Driven Ansible and Kafka
Reddit » Ansible
by /u/mtoml
19h ago
All! I'm fairly new to Kafka and I'm hoping someone here can maybe provide assistance. I have an EDA controller tied with my AAP deployment. I have a rulebook listening to a Kafka topic. No matter what happens, EDA does not seem to actually process any messages sent to Kafka The EDA controller is connected to the topic and there is only a single partition. I manually added a few messages through the console-producer. https://preview.redd.it/xjcjgvz94qed1.png?width=2170&format=png&auto=webp&s=efac4b29dc101fb0979be190e930fe7b706628b1 The rulebook history feed just shows https://prev ..read more
Visit website
[Ansible Tower] - Send old logs to Log Aggregator ?
Reddit » Ansible
by /u/Nimda_lel
19h ago
Hey everybody, We need to recreate our templates, but are about to configure the external log aggregator. Unfortunately, the templates had already run a few times against production nodes and I would like to preserve the logs. Is there any way to push old logs to a log aggregator? Thanks in advance :) submitted by /u/Nimda_lel [visit reddit] [comments ..read more
Visit website
How to reference two WinRM machines with same "ansible_host" value?
Reddit » Ansible
by /u/Wrong-Permission2688
19h ago
Situation: I got two Windows virtual machines that I only can reach over a SSH tunnel. So I connect to them over "localhost" with a different port using WinRM. Problem: If I now build my inventory like this: Windows-2-cloud-prod-a: ansible_host: Windows-2-cloud-prod-a ansible_port: 5985 ansible_winrm_transport: basic ansible_winrm_scheme: 'http' ansible_connection: winrm hypervisor_host: hypervisor-prod-a local_ip: 10.21.10.102 Windows-2-cloud-prod-b: ansible_host: Windows-2-cloud-prod-b ansible_port: 5986 ansible_winrm_transport: basic ansible_winrm_scheme: 'http' ansible_connection: winrm ..read more
Visit website
Speedup Ansible Playbook Pull-Requests by only running affected roles
Reddit » Ansible
by /u/kiarash-irandoust
2d ago
submitted by /u/kiarash-irandoust [visit reddit] [comments ..read more
Visit website

Follow Reddit » Ansible on FeedSpot

Continue with Google
Continue with Apple
OR