After upgrading ansible to version 2.10.5 and python3.8.10 my playbook.yml fails with this error. ModuleNotFoundError: No module named 'azure.mgmt.monitor.versi
I have an ansible dict like ports: webui: 7200 webadmin: 7209 core_api: 7201 stock_api: 7204 import_export: 7207 And i want to transform all keys i
I am trying to list all installed packages on my Debian 7 (Wheezy), 8 (Jessie), and 9 (Stretch) machines. There are easy ways dealing with it using APT or
I am looking for a way to perform a task when ansible variable is not registers /undefined e.g -- name: some task command: sed -n '5p' "{{app.dirs.include
I would like a bash script to run only if the command run into an error, yet I am not too familiar how to use the when condition, can someone please help? gaiac
I am using ansible version 2.7 for kubernetes deployment. For sending logs to datadog on kubernetes one of the way is to configure annotations like below, tem
I have strange issue, I'm sure its just something trivial but I'm stuck. ansible 2.9.21 I have tasks that should not run if any of 3 or 4 packages are not prese
I am using Ansible AWX to issue a restart command to restart an apache2 service on a host. The restart command is contained in a playbook. --- - name: Manage Li
I've got an Ansible Collections in my Ansible playbook as follows: - name: Create a profile for the user community.windows.win_user_profile: username: tes
I have this play.yml --- - hosts: localhost tasks: - include: apache.yml My apache.yml file looks like this: vars: url: http://example.com/apache
If a backup file is created using Copy (with backup=yes), for example, with this task: - name: copy file copy: dest: path/to/dest src: p
I would like to be able to get list of volume groups available and then use the attributes of the volume group to conditionally create the filesystem on volume
I've been getting my feet wet with Ansible (2.0.0.2) on CentOS 7. I'm trying to obtain a version from an installed rpm/yum package, but ran into a warning messa
I have constructed an ansible variable using two other defined ansible variables. The constructed variable is defined in the vars/main.yml and I want to access
I have a situation where i am trying to remove the item from a list. but i am not getting expected result. Please help me what I am doing wrong here? here is
I want to write a task in Ansible to perform the following command: "systemctl set-default graphical.target" without using shell/command modules. not sure that
I used an ansible playbook to install git: --- - hosts: "www" tasks: - name: Update apt repo apt: update_cache=yes - name: Install dependencies ap
I try to run playbook on Ansible tower to connet to window server and got bug this this my playbook --- - name: Tranfer File From Jap hosts: tbdbmonprd tas
I've defined a variable in my inventory file, but i get error variable is undefined when using it in play condition. inventory.yml: [nodes] node1 .... node1 .
trying to provision vagrant vm (ubuntu/trusty64) with ansible_local provisioner from cygwin [WARNING] Ansible is being run in a world writable directory (/v