Re: [ansible-project] Help on ec2 creation using ansible

2020-08-13 Thread Alfred Kamga
Thank you brother,m you made me mile. now i know what to do On Thursday, August 13, 2020 at 5:45:12 PM UTC-4 dick@geant.org wrote: > Your code uses a templates variable as the image, which fails. > Then you supply a list, which also fails. > This is correct as the image parameter requires a

Re: [ansible-project] Help on ec2 creation using ansible

2020-08-13 Thread Dick Visser
Your code uses a templates variable as the image, which fails. Then you supply a list, which also fails. This is correct as the image parameter requires a simple string: https://docs.ansible.com/ansible/latest/modules/ec2_module.html Follow that documentation. There might be more issues ahead, I

[ansible-project] Help on ec2 creation using ansible

2020-08-13 Thread Alfred Kamga
Hello guys, I have an issue with my ansible file.: --- - hosts: localhost #user: root #connection: local gather_facts: no become: no # ignore_errors: yes tasks: - name: Install python-pip yum: name: python-pip state: present - name: Install boto