Prompt password when run playbook to sudo:
$ cat ~/.ansible.cfg
[privilege_escalation]
become_ask_pass = True
Get remote server facts:
$ ansible all -i sandbox -m setup --tree /tmp/facts
https://github.com/spurin/masteringansible
Prompt password when run playbook to sudo:
$ cat ~/.ansible.cfg
[privilege_escalation]
become_ask_pass = True
Get remote server facts:
$ ansible all -i sandbox -m setup --tree /tmp/facts
https://github.com/spurin/masteringansible
Message from syslogd@jira at Aug 27 08:19:26 ...
kernel:NMI watchdog: BUG: soft lockup - CPU#2 stuck for 22s! [java:2857]
Modules linked in: nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache sunrpc ppdev sg pcspkr i2c_piix4 joydev shpchp virtio_balloon parport_pc parport ip_tables xfs libcrc32c sd_mod sr_mod cdrom crc_t10dif crct10dif_generic crct10dif_common ata_generic pata_acpi virtio_net virtio_scsi bochs_drm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ata_piix drm libata serio_raw virtio_pci virtio_ring virtio i2c_core floppy dm_mirror dm_region_hash dm_log dm_mod
Aug 27 08:19:26 jira kernel: CPU: 2 PID: 2857 Comm: java Tainted: G L ------------ 3.10.0-693.2.2.el7.x86_64 #1
Aug 27 08:19:26 jira kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.10.2-0-g5f4c7b1-prebuilt.qemu-project.org 04/01/2014
Aug 27 08:19:26 jira kernel: task: ffff8800379c0fd0 ti: ffff880037a78000 task.ti: ffff880037a78000
Aug 27 08:19:26 jira kernel: RIP: 0010:[<ffffffff810f99a2>] [<ffffffff810f99a2>] smp_call_function_many+0x202/0x260
Aug 27 08:19:26 jira kernel: RSP: 0018:ffff880037a7bcf0 EFLAGS: 00000202
Aug 27 08:19:26 jira kernel: RAX: 0000000000000000 RBX: 000c00008106e4a0 RCX: ffff88033fc1ad90
Aug 27 08:19:26 jira kernel: RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000
Aug 27 08:19:26 jira kernel: RBP: ffff880037a7bd28 R08: ffff88017b1ebc00 R09: ffffffff813229e9
Aug 27 08:19:26 jira kernel: R10: ffff88033fd19c80 R11: ffffea0007aecd00 R12: 0000000000000286
Aug 27 08:19:26 jira kernel: R13: 0000000000000286 R14: ffff880037a7bca0 R15: 00007fd667a6c000
Aug 27 08:19:26 jira kernel: FS: 00007fd679040700(0000) GS:ffff88033fd00000(0000) knlGS:0000000000000000
Aug 27 08:19:26 jira kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 27 08:19:26 jira kernel: CR2: 00007fd667a6c000 CR3: 000000001eab8000 CR4: 00000000000006e0