ansible -b -i ec2.py all \
--limit '!x.y.z.w' \
--key-file '~/.ssh/aws_ec2' \
-m shell -a 'subscription-manager list --pool-only --consumed'
more tips&tricks here: https://ansible-tips-and-tricks.readthedocs.io/en/latest/ansible/commands/
ansible -b -i ec2.py all \
--limit '!x.y.z.w' \
--key-file '~/.ssh/aws_ec2' \
-m shell -a 'subscription-manager list --pool-only --consumed'
more tips&tricks here: https://ansible-tips-and-tricks.readthedocs.io/en/latest/ansible/commands/