Add your custom tagline here.

How to Use Ansible Vault to Secure Sensitive Data

Ansible is a fantastic automation and orchestration tool popular among many developers owing to its simplicity and ease of use. One of the most important features that comes with Ansible is the Ansible Vault. As you would guess it by now, Ansible vault is a security feature that is used for encrypting or securing sensitive information in playbooks or files instead of having them in plain text which would pose a significant threat in the event of a breach. Such data includes passwords, API tokens and SSL certificates to mention a few. You can encrypt entire playbook YAML files of a string within the playbook with sensitive information such as a password.

In this guide, we look at various ways that Ansible vault can help you lock down your sensitive or confidential information and keep snoopers at bay.

Create an Encrypted File using Ansible Vault

Ansible vault uses the ansible-vault command line utility tool for encrypting sensitive information using the AES256 algorithm. This provides symmetric encryption which is embedded to a defined password. A user can use the same password to either encrypt or decrypt files in order to access content.

To create an encrypted file, use the ansible-vault utility tool as shown

$ ansible-vault create file.yml

For example, to create a file, call it secret_file.yml, run the command

$ ansible-vault create secret_file.yml

ansible-vault-create-file

You will be prompted to provide a new vault password. Key in your preferred password and confirm. Once you have confirmed the password , vim editor will be launched.

Thereafter, type the file content that you wish to be encrypted by Ansible vault and save the file. Below is some sample text.

Hello, this is my secret file

When you view the file, you will discover that it has already been encrypted using AES256 algorithm as shown.

$ vim secret_file.yml

view-ansible-vault-encrypted-file

Edit an Encrypted File with Ansible Vault

To make changes to an already existing file which is encrypted use the syntax:

$ ansible-vault edit file.yml

From our sample file that we created earlier on, the command for editing the file would be:

$ ansible-vault edit secret_file.yml

Again, you will be prompted for the vault password, and after providing it, you will be granted access to the file to make modifications.

Edit-ansible-vault-encrypted-file

View an Encrypted File

To have a peek at an encrypted file, use the syntax:

$ ansible-vault view file.yml

Using our file, the command will therefore be

$ ansible-vault view secret_file.yml

Ansible-vault-view-file

Encrypt an Existing File using Ansible Vault

Suppose you want to encrypt an already existing file which is unencrypted, say an inventory file. How would you go about it? To achieve this, use the syntax:

$ ansible-vault encrypt file.yml

For example, to encrypt a file file1.yml  execute the command:

$ ansible-vault encrypt file1.yml

Specify the vault password and confirm it to encrypt the file.

Encrypt-file-ansible-vault

Decrypt a File using Ansible Vault

To decrypt a file and revert to plain text, run the command:

$ ansible-vault decrypt file1.yml

If all went well, you will get a ‘Decryption successful’ message. You can now use the cat command to view the contents of the file.

Decrypt-ansible-vault-file

Reset Ansible vault Password

Also, you can reset or change the Vault’s password. This is done using the rekey option in the ansible …

0
Read More

5 Common Problems of Hosting Providers

In 2020, you can host a website without being tech-savvy. Finding a reasonably priced hosting will not be a problem for most people. But while finding a hosting is easy, finding a really good one may take some time. Many people have to change hosting one or two times before they find the company that […]

Source

from ThisHosting.Rocks https://thishosting.rocks/5-common-problems-of-hosting-providers/…

0
Read More

Marvel’s Spider-Man and Just Cause 4 Coming to PlayStation Now


Marvel’s Spider-Man, Just Cause 4, and The Golf Club 2019 will make their way to PlayStation Now this month.

Spider-Man will be on the service until July 7, 2020 – you can read our review of the title here. Meanwhile, Just Cause 4 will be on the service until October 6, 2020 – you can read our review of that game here. Note that the Golf Club 2019 does not have an expiration date at this time.

Learn more with the trailer below:

PlayStation Now – April 2020 New Games | PS4

PlayStation Now currently features a library of more than 800 PlayStation 2, PlayStation 3, and PlayStation 4 games under one subscription umbrella. With the service, users can stream content to their PC or PlayStation 4, or download PlayStation 2 and PlayStation 4 games to the PlayStation 4 console.

Source: YouTube
Marvel’s Spider-Man and Just Cause 4 Coming to PlayStation Now

Marvel’s Spider-Man, Just Cause 4, and The Golf Club 2019 will make their way to PlayStation Now this month

Cyberpunk 2077 Case Modding Contest Announced

CD PROJEKT RED is tasking fans with designing the Cyberpunk 2077 PC case of their dreams with their new ‘Cyber-up Your PC’ contest

Double XP on Showdown Modes and Races in Red Dead Online

Take advantage of Double XP in any Showdown Series, Showdown Mode, or Race this week in Rockstar Games’ Red Dead Online

Disaster Report 4: Summer Memories Now Available

To mark its launch on the PlayStation 4, Nintendo Switch, and PC, NIS America has released a launch trailer for Disaster Report 4: Summer Memories

The post Marvel’s Spider-Man and Just Cause 4 Coming to PlayStation Now appeared first on GamersHeroes.

from GamersHeroes http://www.gamersheroes.com/gaming-news/marvels-spider-man-and-just-cause-4-coming-to-playstation-now/…

0
Read More

Double XP on Showdown Modes and Races in Red Dead Online


Take advantage of Double XP in any Showdown Series, Showdown Mode, or Race this week in Rockstar Games’ Red Dead Online.

In addition to these bonuses, those that complete one Daily Challenge per day in the title to reach a 3-day Daily Challenge streak can net 10 Special Miracle Tonics, 10 Special Health Cures, 10 Special Snake Oils and 20 Incendiary Buckshot Slugs. These can be found in the Post Office or Camp Lockbox within 48 hours.

In addition, all those that play anytime by April 14 can get themselves 5 Gold Bars within 48 hours of play.

The following discounts can be found in the Wheeler, Rawson & Co. Catalogue this week:

40% Off:

  • Rifles
  • Pistols
  • Pamphlets
  • 50% Off:

  • Ponchos
  • Shirts
  • All items in the Wilderness Outfitters store (Butcher’s Table not included)
  • 70% Off:

    • Off-Hand Holsters and Gun Belts
    • Draft Horses
    • War Horses
    • Pants
    • Gloves

    Finally, all those that link their Rockstar Social Club account with Twitch Prime can get themselves The Polished Copper Moonshine Still, The Collector’s Bag, and a Benefits Award for Five Ranks of Moonshiner Role XP.

    Note that a portion of all proceeds from Red Dead Online and GTA Online over April and May 2020 will go toward relief for those affected by COVID-19 – learn more here.

    Source: Press Release
    Marvel’s Spider-Man and Just Cause 4 Coming to PlayStation Now

    Marvel’s Spider-Man, Just Cause 4, and The Golf Club 2019 will make their way to PlayStation Now this month

    Cyberpunk 2077 Case Modding Contest Announced

    CD PROJEKT RED is tasking fans with designing the Cyberpunk 2077 PC case of their dreams with their new ‘Cyber-up Your PC’ contest

    Double XP on Showdown Modes and Races in Red Dead Online

    Take advantage of Double XP in any Showdown Series, Showdown Mode, or Race this week in Rockstar Games’ Red Dead Online

    Disaster Report 4: Summer Memories Now Available

    To mark its launch on the PlayStation 4, Nintendo Switch, and PC, NIS America has released a launch trailer for Disaster Report 4: Summer Memories

    The post Double XP on Showdown Modes and Races in Red Dead Online appeared first on GamersHeroes.

    from GamersHeroes http://www.gamersheroes.com/gaming-news/double-xp-on-showdown-modes-and-races-in-red-dead-online/…

    0
    Read More

    Cyberpunk 2077 Case Modding Contest Announced


    CD PROJEKT RED is tasking fans with designing the Cyberpunk 2077 PC case of their dreams with their new ‘Cyber-up Your PC’ contest.

    With this contest, the studio invites community members worldwide to design their own PC case mod, one which is inspired by the upcoming Cyberpunk 2077. Prizes for this contest include high-grade PC gaming gear, which has been sponsored by SteelSeries, NVIDIA, and Alienware. There will also be a grand winner, which will be awarded with a main prize during a live finale happening from July 17-18 this year.

    Learn more with the trailer below:

    Announcement Trailer – Cyber Up Your PC! Cyberpunk 2077 Case Modding Contest

    Submissions will be open until May 17, 2020 at 15:00 CEST. All those interested can learn more here.

    Cyberpunk 2077 will come out for the PlayStation 4, Xbox One, and PC on September 17, 2020. A Google Stadia version will launch at a later date in 2020.

    Source: Press Release
    Marvel’s Spider-Man and Just Cause 4 Coming to PlayStation Now

    Marvel’s Spider-Man, Just Cause 4, and The Golf Club 2019 will make their way to PlayStation Now this month

    Cyberpunk 2077 Case Modding Contest Announced

    CD PROJEKT RED is tasking fans with designing the Cyberpunk 2077 PC case of their dreams with their new ‘Cyber-up Your PC’ contest

    Double XP on Showdown Modes and Races in Red Dead Online

    Take advantage of Double XP in any Showdown Series, Showdown Mode, or Race this week in Rockstar Games’ Red Dead Online

    Disaster Report 4: Summer Memories Now Available

    To mark its launch on the PlayStation 4, Nintendo Switch, and PC, NIS America has released a launch trailer for Disaster Report 4: Summer Memories

    The post Cyberpunk 2077 Case Modding Contest Announced appeared first on GamersHeroes.

    from GamersHeroes http://www.gamersheroes.com/gaming-news/cyberpunk-2077-case-modding-contest-announced/…

    0
    Read More

    Disaster Report 4: Summer Memories Now Available


    To mark its launch on the PlayStation 4, Nintendo Switch, and PC, NIS America has released a launch trailer for Disaster Report 4: Summer Memories.

    This title shakes things up with an earthquake, forcing players to navigate their city under this new normal. Along the way, players will have to make critical decisions and deal with hazards like collapsing buildings and raging fires. To add to its realism, a number of scenarios have been designed in collaboration with the Kobe City Fire Bureau.

    Learn more with the launch trailer below:

    Disaster Report 4: Summer Memories – Launch Trailer (PS4, Nintendo Switch, PC)

    The title is available in North America, Europe, and Oceania territories.

    Source: Press Release
    Marvel’s Spider-Man and Just Cause 4 Coming to PlayStation Now

    Marvel’s Spider-Man, Just Cause 4, and The Golf Club 2019 will make their way to PlayStation Now this month

    Cyberpunk 2077 Case Modding Contest Announced

    CD PROJEKT RED is tasking fans with designing the Cyberpunk 2077 PC case of their dreams with their new ‘Cyber-up Your PC’ contest

    Double XP on Showdown Modes and Races in Red Dead Online

    Take advantage of Double XP in any Showdown Series, Showdown Mode, or Race this week in Rockstar Games’ Red Dead Online

    Disaster Report 4: Summer Memories Now Available

    To mark its launch on the PlayStation 4, Nintendo Switch, and PC, NIS America has released a launch trailer for Disaster Report 4: Summer Memories

    The post Disaster Report 4: Summer Memories Now Available appeared first on GamersHeroes.

    from GamersHeroes http://www.gamersheroes.com/gaming-news/disaster-report-4-summer-memories-now-available/…

    0
    Read More

    Saints Row: The Third – Remastered Coming May 22


    Nine years after its debut, Deep Silver announced today that Saints Row: The Third – Remastered will come out for the PlayStation 4, Xbox One, and PC on May 22, 2020.

    Saints Row: The Third – Remastered has players taking control of the Saints in the town of Steelport. A legendary criminal fraternity known as The Syndicate demands tribute, but the Saints look to disrupt and dismantle their stranglehold.

    The team at Sperasoft has given this title a complete overhaul, with remodels of every weapon, redesigns of every car, a new lighting engine, updated character models, and more than 4,000 updated assets. Also included in this release are all three expansion packs and over 30 pieces of DLC from the original version.

    Learn more with the trailer below:

    Saints Row®: TheThird™ – Remastered Announce Trailer (Official)

    Source: Press Release
    Saints Row: The Third – Remastered Coming May 22

    Nine years after its debut, Deep Silver announced today that Saints Row: The Third – Remastered will come out for the PlayStation 4, Xbox One, and PC on May 22, 2020

    Final Fantasy VII Remake Digital Pre-Load Now Available

    Ahead of its launch next week on April 10, Square-Enix announced today that digital pre-loads of the Final Fantasy VII Remake can now be done

    Triple Rewards in Arena War Series This Week in GTA Online

    All those that jump into Rockstar Games’ GTA Online this week will be able to take advantage of triple GTA$ and RP for the Arena War Series

    Dragon Ball Z: Kakarot Gets Accolades Trailer

    See what critics are saying about Bandai Namco’s Dragon Ball Z: Kakarot with the accolades trailer for the game

    The post Saints Row: The Third – Remastered Coming May 22 appeared first on GamersHeroes.

    from GamersHeroes http://www.gamersheroes.com/gaming-news/saints-row-the-third-remastered-coming-may-22/…

    0
    Read More

    Final Fantasy 7 Remake Review

    One of the most eagerly anticipated RPG releases of our time sees Square Enix revive a story once told over 20 years ago. The Final Fantasy 7 Remake retells a story beloved by many and appreciated by all. A dedicated fan base, a franchise that has helped define the RPG genre we know today, is it possible for this title to meet the expectations of fans?

    Final Fantasy 7 Remake Review

    Approaching the Final Fantasy 7 Remake is a unique challenge. Never before have I reviewed a game that’s story is already written, already concluded. Yet, for many, this release is likely the first encounter they’ve ever had with the characters and story known by so many for so long. The original game’s journey is done; it’s set in stone, a relic of the past. However, the Final Fantasy 7 Remake is not a simple retelling of the same story; it’s a complete re-imagination from the creative minds using the wonders of modern gaming technology to offer more than a simple second take.

    Final Fantasy 7 Remake Review

    The core aspects of the narrative remain familiar as protagonist Cloud joins forces with eco-terrorist group Avalanche in an effort to take down the infamous Shinra – a corporation of greed that will stop at nothing to drain Mako from the Earth to fuel its profits. It’s that core story that made the original game so strong, and one that continues with the remake. However, it’s not afraid to mix things up. There are some huge changes to the overarching story; they may not be for everyone, but I thoroughly enjoyed leaving the game with a fresh notebook of questions.

    Biggs, Wedge, Jessie, Barret, Tifa, Aerith – there’s a long list of standout characters from the original game, but whether it be due to the technical limitations of the time or just the original games scope, many characters didn’t get their time to shine. The Final Fantasy 7 Remake is based entirely within the confines of Midgar, a town build on Mako energy that struggles with a clear divide of have and have-nots. Compiling the first episode of the new saga into Midgar leaves out some key aspects, but in terms of story, it shines through.

    Final Fantasy 7 Remake Review

    Characters that were simple pass-overs from the original come to the forefront with a burst of vibrant personality and depth. This applies to the main characters of Avalanche, previously minor characters that take a more dominant role, or new characters entirely. A combination of brilliant graphics, fantastic animations, and industry-leading voiceover work deliver a memorable cast from start to finish. I found myself chuckling along to some of Barret’s one-liners, the hot-headed yet warmhearted leader of Avalanche.

    I had little doubt that the Final Fantasy 7 Remake would deliver on the narrative front, with my biggest concerns being that of the gameplay. My biggest problem with this title is the linearity of the level design. So much of the game is just one big corridor after another, with minor paths branching off to hide a chest or collectible. I would often want to turn around and explore an area, only for the game to remind me of my current goal and set me back on track.

    Final Fantasy 7 Remake Review

    It’s a problem throughout much …

    0
    Read More

    How to Install Redis Server on CentOS 8 / RHEL 8

    Redis is an acronym for Remote dictionary server. It’s an open source, in-memory and persistent key-value database / store which stores data as key-value pairs and also doubles up as a message broker. Redis supports a wide array of data structures including sets, lists, hashes, strings, HyperLogLogs and so many more.

    What is a key-value pair?

    A key-value pair is a set or pair of two linked items. Consider the following:

    car = Mercedes

    In this case, car is the key and Mercedes is the value. In a Redis database, this information can be  written using the syntax:

    SET  “key1” “value1”

    Our example will translate to:

    SET “car” “Mercedes”

    Benefits of using Redis

    • Unlike relational databases like MySQL, Redis is a NoSQL database that stores data as a key value pair. This makes it simple and flexible as there’s no need of creating any tables , columns and rows which are associated with relational databases. Feeding data to Redis is simple and straightforward.
    • One of the apparent uses of Redis is its use as a caching system. While it does so, it also offers persistence to data being written on it.
    • The in-memory architecture of Redis makes it super-fast in storage and retrieval of data.
    • The redis cache system is quite robust and has the capacity of withstanding failures and interruptions.
    • Redis ships with a Master-Slave replication feature. When changes are made to the master node, they are automatically replicated on the slave nodes to ensure high availability.
    • Redis has the ability to store large key & value pairs of up to 512 MB.
    • Given its small footprint, Redis can be installed in IoT devices such as   Raspberry Pi and Arduino to  support IoT apps.
    • Redis is a cross-platform database and caching system which can be installed in Windows , mac and Linux.

    Redis Use Cases

    With the above-outlined benefits, Redis can be used in the following ways:

    • Analysis of real time statistical data.
    • Used for  integration with AWS services such as CloudTrail, CloudWatch, and Amazon EC2 instances.
    • It can be an excellent option for caching websites.
    • Social media platforms such as Instagram use Redis for storing images
    • Redis supports a wide range of data types such as hyperloglogs, hashes and geospatial data.

    Now let’s see how you can install Redis on CentOS 8 / RHEL 8

    Step 1: Update system repositories

    Login to your CentOS 8 / RHEL 8 system and update system packages and repositories using the command:

    $ sudo dnf update -y

    Step 2: Install Redis with dnf

    Redis version 5.0.x is now included in CentOS 8 AppStream repository and installing it is a walk in the park. Simply run the command:

    $ sudo dnf install redis -y

    dnf-install-redis-centos8

    Once installed, you can verify the version of Redis installed by running the command:

    [[email protected] ~]$ rpm -q redis
    redis-5.0.3-1.module_el8.0.0+6+ab019c03.x86_64
    [[email protected] ~]$ 

    From the output , it is clear that we have installed Redis version 5.0.3. To retrieve more information about Redis such as the version, architecture, license and a brief description, run the command:

    $ rpm -qi redis

    redis-rpm-info-command

    To start and enable Redis service, run following systemctl commands:

    $ sudo systemctl start redis
    $ sudo systemctl enable redis

    Once started, you can …

    0
    Read More

    One Piece: Pirate Warriors 4 Review

    Five years after One Piece: Pirate Warriors 3 hit the scene, Bandai Namco’s One Piece: Pirate Warriors 4 is now upon us. Is this Musou worth picking up, or will the older entries suffice? Check out our review and find out.

    One Piece: Pirate Warriors 4 Review

    One Piece: Pirate Warriors 4 follows the story of Luffy on his journey to become the king of the pirates. You actually start near the end, as Luffy and another pirate captain named Kid take on the king of beasts Kaido. The area acts as a tutorial for the basic gameplay mechanics where combat, dodging, special moves, and boss fights are all on display. For a Musou warriors game, it has some depth to the combat. After you finish up the tutorial, you go back in time to start the game properly. Just note that the Wano Arc content (the Kaido stuff) in this game is made for the game, and is not canon to the series.

    The game does skip a lot of the earlier arcs of the story, beginning properly during the Alabasta Arc. It is a trend that the campaign follows pretty heavily; Skypiea, Thriller Bark, Punk Hazard, and others are all skipped over. Odds are you’ve already either played these arcs in previous games or know the story enough not to care that much anyway. There are cutscenes in-between the arcs to tell you what happens as well. Unfortunately, the lack of story arcs means the roster suffers from missing characters such as Enel, Geeko Moriah, and Perona.

    One Piece Pirate Warriors 4 Honest Review

    The lack of certain characters is amplified by the common enemy type of pirate commander, navy commander, and other generic commander types. Still, the playable roster is mostly fun to play. The Strawhat pirates play the way you’d expect. Zoro is strong, Sanji is quick, Usopp is technical, and Luffy can feel broken in Gear 4. The Admirals, Vinsmokes, Four Emperors, and most of the Warlords are also playable. I did see that there is a character pass you can purchase, but it doesn’t say who is coming. Nevertheless, one can expect plenty more characters and costumes.

    I think the lack of characters is made up by the new combat mechanics. The most significant difference here is the dodge mechanic. Dodging attacks of bosses and high ranking enemies is required to damage their armor effectively. On top of that, you have four character-specific super moves, and you can change them out when you learn new ones. Luffy can change to Gear 4 Snakeman or Bounceman, Zoro gets many of his sword style attacks, and other characters get different moves. These minor changes made this some of the best Musou combat I’ve played in a while.

    One Piece: Pirate Warriors 4 is also helped by the growth map each character has, which you can think of as a skill tree. There is a generic one that gives points to everyone. Each character also has two additional maps that improve that character specifically and add new combos and special moves. You unlock skills by spending money and unlocking coins. You can get the coins by beating down regular enemies and named enemies. If you are looking to max out everyone, you will be …

    0
    Read More