Re: [ansible-project] executing the previleage adhoc command

2018-05-21 Thread Kannappan M
Hi Kai, Please find the o/p below [tester@ansi root]$ ansible iaf -a "sudo /usr/sbin/shutdown -h now" ^C [tester@ansi root]$ sudo lvdisplay --- Logical volume --- LV Path/dev/centos/swap LV Nameswap VG Namecentos LV UUID

Re: [ansible-project] executing the previleage adhoc command

2018-05-21 Thread Kai Stian Olstad
On 21.05.2018 17:51, Kannappan M wrote: When i try to shutdown the connected node using ansible am getting the below error kindly assist 128 ansible iaf -m shell "/usr/sbin/shutdown -h now" -b 129 ansible iaf -m shell "/usr/sbin/shutdown -h now" --become 130 ansible iaf -m sh

[ansible-project] executing the previleage adhoc command

2018-05-21 Thread Kannappan M
Hi Team, When i try to shutdown the connected node using ansible am getting the below error kindly assist 128 ansible iaf -m shell "/usr/sbin/shutdown -h now" -b 129 ansible iaf -m shell "/usr/sbin/shutdown -h now" --become 130 ansible iaf -m shell '/usr/sbin/shutdown -h now'