How best to pull repo of playbooks to Ansible server?
Reddit » Ansible
by /u/Hungry_Try_1777
4d ago
I’m looking to keep all my ansible configs in a code commit repo and set up a lambda to git pull the playbooks and stuff when new code is merged in to repo to the ansible server. Is this the best way to do it? I’m very new to ansible. Thanks. submitted by /u/Hungry_Try_1777 [visit reddit] [comments ..read more
Visit website
PLaybook in Cisco
Reddit » Ansible
by /u/BigRevolutionary4858
4d ago
I have launched a simple playbook to Cisco computers, but I see that on some it shows me the following error: [12:25 p. m.] (Externo) "ansible_facts": {}, "msg": "The following modules failed to execute: ansible.legacy.ios_facts\n", "failed_modules": { "ansible.legacy.ios_facts": { "failed": true, "msg": "ssh connection failed: Failed to authenticate public key: Access denied for 'keyboard interactive'. Authentication that can continue: publickey,keyboard-interactive,password", "exception": " File \"/tmp/ansible_ansible.legacy.ios_facts_payload_pq57um9_/ansible_ansible.legacy.ios_facts_paylo ..read more
Visit website
Install and config git via playbook
Reddit » Ansible
by /u/mervincm
4d ago
I am fairly new to ansible and would like a playbook to install and configure the defaults for Git. The install portion I think I have a handle on, but how can I configure the default values for items like default editor / name / email / branch name? at the command line is would be git config --global core.editor "code --wait" git config --global user.name "John Doe" git config --global user.email johndoe@example.com ​ ​ submitted by /u/mervincm [visit reddit] [comments ..read more
Visit website
RHCE-9 | EXAM PREP Q-16 Solution | Running a Cron Job with Ansible
Reddit » Ansible
by /u/linuxking77
4d ago
RHCE-9 | EXAM PREP Q-16 Solution | Running a Cron Job with Ansible https://youtu.be/usmpllrPByY ​ submitted by /u/linuxking77 [visit reddit] [comments ..read more
Visit website
Missing required argument: _raw_params"
Reddit » Ansible
by /u/ruhtra09
4d ago
Not sure what I am doing wrong. - name: set LAX_DEBUG=true win_command: cmd: '"set LAX_DEBUG=true"' chdir: C:\euc\sybase ​ fatal: [default]: FAILED! => {"changed": false, "msg": "Get-AnsibleParam: Missing required argument: _raw_params"} submitted by /u/ruhtra09 [visit reddit] [comments ..read more
Visit website
Ansible Labs
Reddit » Ansible
by /u/it-pappa
4d ago
Hi all. I am doing some Ansible training for friends and colleagues. In that regards I have created a repo with some labs. They are still under development. I wonder if there is some parts of Ansible that should be crucial to add in these labs? The labs are built for people who doesn't know Ansible and therefore it progresses more and more into variable uses, best practices and more. So a few rules are broken for simplicity, but the feedback from people that is testing the lab is that they are good and they enjoy them. The slow progression of all the "craziness" is also well welcomed. Please ..read more
Visit website
Ansible - Split variable stdout into lines and loop over using items from another list
Reddit » Ansible
by /u/alex---z
4d ago
*** SOLVED **\* I am writing an Ansible playbook designed to dynamically check available upgrades for a specified list of packages. I am doing this by first checking the list of available packages and registering a variable: name: Record Available Updates command: "dnf list updates" register: available_updates ignore_errors: yes args: warn: false when: server_role != 'n/a' Stdout for this command is a bit messy as it's one giant string: TASK [foreman-patching/check-major-package-upgrades : Display all available packages] *** ok: [dcb-zabbix.REDACTED.local] => { "msg": "Updating Subscri ..read more
Visit website
Swi_url: http://SERVER_IP_HOSTING_IMAGE/firmware How do i set this up guys?
Reddit » Ansible
by /u/hwehwegwhgewe23
4d ago
I want to mass update 300 Aruba switches, and one of the playbooks mentiions this line: swi_url: http://SERVER_IP_HOSTING_IMAGE/firmware/YA_16_10_0010.swi So i have set up one Ansible server, and do i need another one that will be the file server? That file server IP will be in this line instead of SERVER_IP_HOSTING_IMAGE? submitted by /u/hwehwegwhgewe23 [visit reddit] [comments ..read more
Visit website
Terraform Module - Backend_Config with S3 ?
Reddit » Ansible
by /u/DomAdAstra
4d ago
Hello, We are in the process of migrating our infrastructure from our own data center to AWS. The initial creation of the servers is to be done via Terraform, but we want to use Ansible as the leading tool to manage everything, since the procedure has been suggested to us by various people who have been using both tools for a long time. We are using the Terraform module for Ansible and actually wanted to use an S3 bucket to keep the state. If we configure the backend as S3 in Terraform itself, everything works as it should. But we had seen that there is an option with backend_config to config ..read more
Visit website
Is it possible to pass an inventory file in tower API?
Reddit » Ansible
by /u/sadstephen
6d ago
I want to use AWX REST API to execute a job template. Is it possible not to set up an inventory in Ansible Tower but somehow pass it in POST request to execute the template playbook? submitted by /u/sadstephen [visit reddit] [comments ..read more
Visit website

Follow Reddit » Ansible on FeedSpot

Continue with Google
Continue with Apple
OR