How Do You Run Ansible Playbooks on Managed Nodes That Run Shell Scripts That Require sudo?

Problem scenario
You run an Ansible playbook on a server as a remote user that is a sudoer on that same server.  But you get this error when you run the playbook: “sudo: a password is required\r\n”, “msg”: “MODULE FAILURE”, “rc”: 1}”   How do you troubleshoot this error?

You want to run Bash scripts via Ansible playbooks.  But these scripts will install packages and modify sensitive files.  These scripts need to be run as a sudoer. 

A List of Elastic Stack (Elasticsearch, Logstash, Beat, and Kibana) Books

The Elastic Stack used to be called the ELK Stack; this link provides more information. 

Applied Network Security Monitoring: Collection, Detection, and Analysis by Chris Sanders and Jason Smith
The Art of Monitoring by James Turnbull
ElasticSearch 5.0 Cookbook – Third Edition by Alberto Paro
Elasticsearch Blueprints by Vineeth Mohan
Elasticsearch: A Complete Guide by Bharvi Dixit,

How Do You Find an IP Address That Is Mysterious and Elusive in Your Network?

Problem scenario
An IP address is pingable from one Linux server.  On this server there are no Docker containers running.  A traceroute reveals that this IP address is one hop away from your server.  How do you find out what this IP address belongs to?

Solution
Use this command:  ip addr show

You may also want to use this command:  

Big Data Quiz

Big Data Quiz

1.  What does EDH stand for?

a.  Enterprise Data Hub
b.  Extract Develop Hadoop
c.  Extract Decide Haul
d.  Extract Data Hadoop

2.  Gartner, Informatica and MapR think “data lakes” should be referred to as what?

a.  data warehouses
b.  data dams
c.  data mills
d.  data reservoirs

3.  MapReduce is to Hadoop as ___________ is to Spark

a. 

How Do You Set up Ansible for the First Time?

Problem scenario
You have Ansible installed as a control server (a centralized server to push down configurations to other servers).  You want to use it to manage another server.  How do you configure the other server to be a managed node?  In other words, how do you configure Ansible to push configuration changes down to servers?

Solution
Prerequisite
Ansible must be installed.

How Do You Install Jenkins 2.x on Ubuntu Linux in AWS?

Problem scenario
You want to install Jenkins on an Ubuntu Linux server without running an “apt-get upgrade” command.  (You are ok with installing a “apt-transport-https” package.)  What should you do?

Solution
See this posting because the directions work for Ubuntu in AWS and Debian in GCP.

(If you can run “apt-get upgrade”, and you do not want to install “apt-transport-https”,