Re: [ansible-project] How to pass different executable files in ansible / pass run the script using source and expect?

2018-08-20 Thread Sakthivel G
Echo "y" | tsm pending-changes apply Try this On Mon 20 Aug, 2018, 11:45 PM cutiee, wrote: > I am trying to pass a prompt y in ansible when it executes command. > When i do manually on server it asks for a prompt. > > The issue is for command to run i need to pass the executable /bin/bash > *co

Re: [ansible-project] Please explain ec2_instance volumes config

2018-08-12 Thread Sakthivel G
Hi, /dev/sda is reserved for root. Please try below... # Single instance with ssd gp2 root volume - ec2: key_name: mykey group: webserver instance_type: c3.medium image: ami-123456 wait: yes wait_timeout: 500 volumes: - device_name: /dev/xvda volume_type

Re: [ansible-project] Check if disk is in use before partitioning?

2018-08-10 Thread Sakthivel G
You can use df - h Linux command to check mounted disks On Sat 11 Aug, 2018, 5:09 AM Dylan Martin, wrote: > I all. > > I've used parted and lvm (lvg & lvol) to set up machines, but I recently > broke a system when I repartitioned a disk that was already in use. > (Wooops!) > > Does anyone have a