Problem with ansible loop list of strings/numbers
Im somewhat at my google-fu end. I can’t see a reason why i would get “The conditional check ‘XYZ.results[item] is success’ failed. The error was: The ‘failed’ test expects a dictionary”. It works with list a of numbers but not a list of strings?
If i add prints statement and compare the outputs, the only notable differences are different item names.
Problem with ansible loop list of strings/numbers
Im somewhat at my google-fu end. I can’t see a reason why i would get “The conditional check ‘XYZ.results[item] is success’ failed. The error was: The ‘failed’ test expects a dictionary”. It works with list a of numbers but not a list of strings?
If i add prints statement and compare the outputs, the only notable differences are different item names.
How to run shell command for list with two strings
I would like to run a shell command with ansible that it formatted in this way:
Copy files looping with destination path based on source destination
I am using the following files/
organization for an Ansible project for src
files to copy onto target (my roles all follow this scheme):
how to update serial value in a playbook that depends on the number of hosts in a group
my playbook looks like
how to update serial value in a playbook that depends on the number of hosts in a group
my playbook looks like
Identify if an environment variable is unset
I’m trying to write an ansible playbook to install my application. I’m trying to detect that an environment variable is unset. I know I can use the lookup
plugin to find an environment variable like this: lookup('env', 'FOO')
.
Identify if an environment variable is unset
I’m trying to write an ansible playbook to install my application. I’m trying to detect that an environment variable is unset. I know I can use the lookup
plugin to find an environment variable like this: lookup('env', 'FOO')
.
Identify if an environment variable is unset
I’m trying to write an ansible playbook to install my application. I’m trying to detect that an environment variable is unset. I know I can use the lookup
plugin to find an environment variable like this: lookup('env', 'FOO')
.
How to pick certain fields in a loop without tons of “skipping” lines
I’m trying to create an array in Ansible that contains all the AWS regions that are enabled in my account that support FSx for NetApp ONTAP (FSxN).