Vue lecture

Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.

OpenTofu 1.7: State encryption, provider-defined functions, loopable import blocks, and improved CLI experience

OpenTofu, an open-source Terraform fork, announced the release of OpenTofu 1.7 with new features and improvements. Since version 1.6, the first stable release after the fork, over 100 community contributors and OpenTofu's core team joined hands to add the requested features, such as state encryption, provider-defined functions, loopable import blocks, and an improved CLI experience.

Create an S3 bucket in AWS with OpenTofu

OpenTofu, a Terraform fork, is an open-source infrastructure as code software solution that allows you to define and manage the complete infrastructure lifecycle using the HCL (HashiCorp Configuration Language). In this post, I'll walk you through the steps to create an S3 bucket in AWS using OpenTofu.

Encrypt and decrypt with Ansible Vault

Ansible Vault allows you to encrypt sensitive data such as passwords, keys, and other secrets rather than storing them as plaintext in your playbooks or roles. In this tutorial, I will explain how to use Ansible Vault to encrypt and decrypt data during playbook runtime.

Gather system information with Ansible Facts

Ansible Facts are essential system information gathered from remote hosts during playbook execution. This information is crucial for making informed decisions before executing any actions. In this tutorial, I will demonstrate how to use Ansible Facts to retrieve system information and make deployment decisions using the when conditional statement.

Ansible conditionals and loops

An Ansible loop allows you to repeat a task or a set of tasks multiple times with different values, reducing code duplication and making playbooks more concise and maintainable. Instead of writing the same task multiple times with slight variations, you can use loops to iterate over a list of items and perform the task(s) accordingly. A conditional controls the flow of tasks based on specific conditions or criteria within playbooks. Sometimes, you must install software only on specific operating systems or if certain dependencies are met. Conditionals allow you to control the execution of tasks based on these conditions, ensuring your playbooks adapt to different environments and avoid unnecessary actions. In this tutorial, I will provide simple examples of using loops and conditionals in Ansible.
❌