Skip to main content

All Questions

Tagged with
0 votes
1 answer
498 views

test ansible roles with molecule and boto3

I have ansible roles that creates servers, S3 buckets, security groups ... and I want to establish some unit testing using Molecule. After some researches, I found out that Molecule is using Testinfra ...
Souad's user avatar
  • 5,094
-4 votes
1 answer
2k views

Find all the AMIs which do not have an instance associated with it

In my aws account, I am having lots of snapshot and ami. I need to find all ami which is not associated instance and need to find all snapshot which is not associated instance. Find all the AMIs which ...
Nikhil N. Glasgow's user avatar
4 votes
3 answers
4k views

Ansible not reading credentials from ~/.aws/credentials

I am running ansible with dynamic inventory. When the aws cli was setup with aws configure command than the ansible commands with dynamic invetory was running properly. But I want to have multiple ...
drishti ahuja's user avatar
0 votes
1 answer
2k views

Executing ansible playbook AttributeError: 'str' object has no attribute 'set_playbook_basedir'

Hello, I have a two part question. First Part: I'm trying to execute a playbook from a python script that downloads a playbook and executes it. I know the playbook works because i've tested it. ...
Grant Zukel's user avatar
  • 1,181