Securing Nifi with firewalld

In our previous post, we have learned how to secure Apache Nifi with Google’s OAuth2. In that post we saw, how user can be authenticated via Google’s OAuth client ID.

In this post, we will see how the outside user can be blocked permanently from accessing Apache Nifi’s UI. Here outside user means, the user who is accessing UI from different machine. Follow for more detailed steps….

Ansible-Playbook Example3: Generate multiple files at specific time interval

In the previous post, we have seen how to generate multiple files using with_sequence and loop features.
Here, we will introduce the delay functionality in the loop feature. This will give a pause after every iteration. So, each file will be created at specific time interval. The official document on loop control can be found here. Download the .yml file directly if you don’t want to go through the discussion.

Read more…

Ansible-Playbook Example2: Loop, with_sequence

Loop and with_sequence allows the commands or the instructions to be executed iteratively. However, I find the syntax bit different from other programming language. Probably this is due to YAML structure. Anyways, lets see few examples and see how to use loop and with_sequence. You can find the official documentation on loop here and on with_sequence here. The list of examples are as follows:

    • Generate empty file from a list (using with_items) (.yml file)
    • Generate empty file from a list (using loop)(.yml file)
    • Generate empty files with pattern (.yml file)

Read more….